|
@@ -449,7 +449,7 @@ public class FbsWorkshopDispatchListController {
|
|
|
|
|
|
/**
|
|
|
* @Author chenchuang
|
|
|
- * @Description //TODO
|
|
|
+ * @Description //TODO 制造看板生产效率
|
|
|
* @Date 2020/10/22 14:09
|
|
|
* @Param []
|
|
|
* @return org.jeecg.common.api.vo.Result<java.lang.String>
|
|
@@ -471,4 +471,25 @@ public class FbsWorkshopDispatchListController {
|
|
|
}
|
|
|
return result;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @Author chenchuang
|
|
|
+ * @Description //TODO 产线看板:当日达成率
|
|
|
+ * @Date 2020/10/22 15:38
|
|
|
+ * @Param []
|
|
|
+ * @return org.jeecg.common.api.vo.Result<java.util.Map<java.lang.String,java.lang.Object>>
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/getAchievementRate")
|
|
|
+ public Result<Map<String,Object>> getAchievementRate(){
|
|
|
+ Result<Map<String,Object>> result=new Result<>();
|
|
|
+ try {
|
|
|
+ Map<String,Object> map=fbsWorkshopDispatchListService.getAchievementRate();
|
|
|
+ result.setResult(map);
|
|
|
+ result.success("操作成功");
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ result.error500("操作失败:"+e.getMessage());
|
|
|
+ }
|
|
|
+ return result;
|
|
|
+ }
|
|
|
}
|