Commit 0ebe051b by 张富康

fix(service): 修正 StaffSalaryAppealApplyRecordService 中 sceneType 类型转换问题

- 移除对 sceneType 的强制类型转换,直接设置 SceneType 字段
- 确保 sceneType 的赋值符合数据类型要求,防止潜在的类型错误
- 优化代码的可读性和类型安全性
1 parent 769b7501
......@@ -538,7 +538,7 @@ public class StaffSalaryAppealApplyRecordService {
StaffOrderStatDTO condition = new StaffOrderStatDTO();
condition.setStaffPhone(dto.getStaffPhone());
condition.setAppealMonth(dto.getAppealMonth());
condition.setSceneType((int) dto.getSceneType());
condition.setSceneType(dto.getSceneType());
StaffOrderStatDTO staffOrderStatDTO = staffDailyReportRemote.countStaffOrderStat(condition).getResult();
StaffSalaryAppealOrderStatDTO result = new StaffSalaryAppealOrderStatDTO();
BeanUtils.copyProperties(staffOrderStatDTO, result);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!