diff --git a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/EmployeeController.java b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/EmployeeController.java index a06529aa..67b27a57 100644 --- a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/EmployeeController.java +++ b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/EmployeeController.java @@ -83,6 +83,6 @@ public class EmployeeController implements EmployeeControllerApi{ @Override public ResponseResult getEmployeeAndDeptById(@PathVariable("ids") List ids) { - return new ResponseResult<>(true,10000, employeeService.getEmployeeAndDeptById(ids),"success"); + return ResponseResult.SUCCESS(employeeService.getEmployeeAndDeptById(ids)); } }