Explorar el Código

处理结果修改

liujiankang hace 6 años
padre
commit
5af4980fab

+ 2 - 0
watero-rst-web/src/main/java/com/iamberry/rst/controllers/cm/AdminProcMethodController.java

@@ -40,6 +40,7 @@ public class AdminProcMethodController {
     @RequestMapping("/type")
     public ResponseJson type(HttpServletRequest request,ProcType procType) {
          List<ProcType> procTypeList = new ArrayList<>();    ////因为在前端不判断,所以需要直接初始化
+        procType.setProcTypeStatus(1);
         procTypeList = procTypeService.getProcTypeList(procType);
         ResponseJson rj = new ResponseJson(200, "查询成功", 200);
         rj.addResponseKeyValue("list",procTypeList);
@@ -55,6 +56,7 @@ public class AdminProcMethodController {
     @RequestMapping("/method")
     public ResponseJson method(HttpServletRequest request,ProcMethod procMethod) {
         List<ProcMethod> procMethodList = new ArrayList<>();    //因为在前端不判断,所以需要直接初始化
+        procMethod.setProcMethodStatus(1);
         procMethodList = procMethodService.getProcMethodList(procMethod);
         ResponseJson rj = new ResponseJson(200, "查询成功", 200);
         rj.addResponseKeyValue("list",procMethodList);