Commit 5400f403 authored by huyuchen's avatar huyuchen

huych-合同自动化相关提交

parent bb6d06a3
...@@ -851,7 +851,7 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra ...@@ -851,7 +851,7 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra
try { try {
// 查询符合条件的合同:状态为"签署中"(6) 且 为电子签任务(signType=0) 且 入职日期到当日正好一个月 // 查询符合条件的合同:状态为"签署中"(6) 且 为电子签任务(signType=0) 且 入职日期到当日正好一个月
LocalDate currentDate = LocalDate.now(); LocalDate currentDate = LocalDate.now();
LocalDate oneMonthAgo = currentDate.minusMonths(1); LocalDate oneMonthAgo = currentDate.minusMonths(1).plusDays(1);
List<TEmployeeContractPre> contractsToRevoke = baseMapper.selectList(Wrappers.<TEmployeeContractPre>query() List<TEmployeeContractPre> contractsToRevoke = baseMapper.selectList(Wrappers.<TEmployeeContractPre>query()
.lambda() .lambda()
......
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
<include refid="tEmployeeContractPre_where"/> <include refid="tEmployeeContractPre_where"/>
</where> </where>
order by a.create_time desc order by a.create_time desc
limit 0,2000 limit 0,5
</select> </select>
<!--tEmployeeContractPre导出查询--> <!--tEmployeeContractPre导出查询-->
......
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