Commit ad19b470 by ilal Committed by chenzg

解决BUG

parent e2865eb4
......@@ -99,7 +99,7 @@ public class AttendanceTaskTiming{
// @Scheduled(cron = "0 */5 * * * ?")
// @Scheduled(cron = "0 14 17 * * ?")
@Scheduled(cron = "0 0 8,12,16,20 * * ?")//每天上午8、12点,下午16点,20点 执行
// @Scheduled(cron = "0 0 8,12,16,20 * * ?")//每天上午8、12点,下午16点,20点 执行
public void AttendanceTask() throws ParseException {
boolean implement = true;
......
......@@ -91,7 +91,7 @@ public class LastMonthtimingExport {
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
// @Scheduled(cron = "0 5 11 * * ?")
@Scheduled(cron = "0 0 4,20 * * ?")//每天上午4点,下午20点 执行
// @Scheduled(cron = "0 0 4,20 * * ?")//每天上午4点,下午20点 执行
public void LastMonthtimingAttendanceTask() throws ParseException {
//获取前月的最后一天
......
......@@ -2775,7 +2775,7 @@ public class SalaryManagementController {
if(("0").equals(search.getStatus())) {//全部
search.setStatus("");
}else if(("1").equals(search.getStatus())) {//在职
search.setStatus("0");
search.setStatus("66");
}else {
search.setStatus("3");
}
......
......@@ -78,9 +78,12 @@
</if>
where emp.org_code = #{param.orgcode}
<if test="param.status != ''" >
<if test="param.status != '' and param.status != '66'" >
and emp.job_status = #{param.status}
</if>
<if test="param.status != '' and param.status == '66'" >
and emp.job_status in (0,1)
</if>
<if test="param.text != ''" >
and (emp.`name` like CONCAT('%',#{param.text},'%') or emp.emp_num = #{param.text})
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment