Commit c69bd041 by 张富康

fix(perfSalary): 修正绩效相关代码中的注释与字段命名错误

- 移除AttendanceDataCleansingService中多余的“todz”注释
- 更新PerformanceEvaluationMapper.xml中字段命名由update_by更新为updated_by,update_time为updated_date
- PerfRuleRemoteService中定时任务注释说明更新为“测试是否正确”
- 在ClockInCompleteAnalysisStaffService的syncQwClockInDetailData方法中添加测试环境标识注释
1 parent 186e247c
...@@ -786,7 +786,6 @@ public class AttendanceDataCleansingService { ...@@ -786,7 +786,6 @@ public class AttendanceDataCleansingService {
&& DateUtil.compare(DateUtil.parse(clockInDate, "yyyy-MM-dd"), DateUtil.parse(officialDate, "yyyy-MM-dd")) >= 0; && DateUtil.compare(DateUtil.parse(clockInDate, "yyyy-MM-dd"), DateUtil.parse(officialDate, "yyyy-MM-dd")) >= 0;
BigDecimal totalWorkHours = BigDecimal.ZERO; BigDecimal totalWorkHours = BigDecimal.ZERO;
BigDecimal lateEarlyMinutes = BigDecimal.ZERO; BigDecimal lateEarlyMinutes = BigDecimal.ZERO;
// todz
BigDecimal probationHours = BigDecimal.ZERO; BigDecimal probationHours = BigDecimal.ZERO;
BigDecimal correctionHours = BigDecimal.ZERO; BigDecimal correctionHours = BigDecimal.ZERO;
int normalClockCount = 0; int normalClockCount = 0;
...@@ -924,7 +923,6 @@ public class AttendanceDataCleansingService { ...@@ -924,7 +923,6 @@ public class AttendanceDataCleansingService {
String officialDate = employee.getOfficialDate(); String officialDate = employee.getOfficialDate();
BigDecimal totalWorkHours = BigDecimal.ZERO; BigDecimal totalWorkHours = BigDecimal.ZERO;
BigDecimal lateEarlyMinutes = BigDecimal.ZERO; BigDecimal lateEarlyMinutes = BigDecimal.ZERO;
// todz
BigDecimal probationHours = BigDecimal.ZERO; BigDecimal probationHours = BigDecimal.ZERO;
BigDecimal correctionHours = BigDecimal.ZERO; BigDecimal correctionHours = BigDecimal.ZERO;
// yyyy-MM-dd 比较clockInDate officialDate 日期大小 该打卡日期是否转正后 // yyyy-MM-dd 比较clockInDate officialDate 日期大小 该打卡日期是否转正后
...@@ -968,7 +966,6 @@ public class AttendanceDataCleansingService { ...@@ -968,7 +966,6 @@ public class AttendanceDataCleansingService {
String officialDate = employee.getOfficialDate(); String officialDate = employee.getOfficialDate();
BigDecimal totalWorkHours = BigDecimal.ZERO; BigDecimal totalWorkHours = BigDecimal.ZERO;
BigDecimal lateEarlyMinutes = BigDecimal.ZERO; BigDecimal lateEarlyMinutes = BigDecimal.ZERO;
// todz
BigDecimal probationHours = BigDecimal.ZERO; BigDecimal probationHours = BigDecimal.ZERO;
BigDecimal correctionHours = BigDecimal.ZERO; BigDecimal correctionHours = BigDecimal.ZERO;
int normalClockCount = 0; int normalClockCount = 0;
......
...@@ -45,6 +45,7 @@ public class ClockInCompleteAnalysisStaffService { ...@@ -45,6 +45,7 @@ public class ClockInCompleteAnalysisStaffService {
String baiduAk = OrePropertyConfigurer.getProperty("baidu.ak", String.class, "j140gfsl1LTZeUYH8hEUrfXVqOUcRH1C"); String baiduAk = OrePropertyConfigurer.getProperty("baidu.ak", String.class, "j140gfsl1LTZeUYH8hEUrfXVqOUcRH1C");
public void syncQwClockInDetailData(String clockInDateStr) { public void syncQwClockInDetailData(String clockInDateStr) {
// 测试环境 44210895 线上 44202977
Integer merchantId = OrePropertyConfigurer.getProperty("syncQwClockInData.build.merchantId", Integer.class, 44202977); Integer merchantId = OrePropertyConfigurer.getProperty("syncQwClockInData.build.merchantId", Integer.class, 44202977);
// 查询企微打卡表指定日期所有人员 // 查询企微打卡表指定日期所有人员
DateTime lastMonthDate = DateUtil.offsetMonth(new Date(), -1); DateTime lastMonthDate = DateUtil.offsetMonth(new Date(), -1);
......
...@@ -158,7 +158,7 @@ public class PerfRuleRemoteService { ...@@ -158,7 +158,7 @@ public class PerfRuleRemoteService {
/** /**
* 定时任务-绩效配置设置 todz * 定时任务-绩效配置设置 todz 测试是否正确
*/ */
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = RpcServiceException.class) @Transactional(propagation = Propagation.REQUIRED, rollbackFor = RpcServiceException.class)
public void perfRuleSettingJob(String monthDate) { public void perfRuleSettingJob(String monthDate) {
......
...@@ -483,8 +483,8 @@ ...@@ -483,8 +483,8 @@
amount_calculation_type = #{amountCalculationType}, amount_calculation_type = #{amountCalculationType},
basic_salary = #{basicSalary}, basic_salary = #{basicSalary},
submit_count = #{submitCount}, submit_count = #{submitCount},
update_by = #{updateBy}, updated_by = #{updatedBy},
update_time = now() updated_date = now()
where id = #{id} where id = #{id}
and deleted_flag = 'N' and deleted_flag = 'N'
and <![CDATA[ submit_count < 2]]> and <![CDATA[ submit_count < 2]]>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!