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