Browse Source

字段类型bug

jzh 1 year ago
parent
commit
f3f51e15f9

+ 1 - 1
zjugis-module-adm/zjugis-module-adm-biz/src/main/java/com/zjugis/module/adm/api/staff/StaffApiImpl.java

@@ -32,7 +32,7 @@ public class StaffApiImpl implements StaffApi {
     @Override
     public CommonResult<String> updateStaffState(StaffStateDTO dto) {
         RecordsRespVO vo = recordsService.getRecordDetail(dto.getUserId());
-        vo.setState(dto.getState());
+        vo.setState(String.valueOf(dto.getState()));
         return success(recordsService.updateStaff(vo));
     }