|
@@ -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);
|