fix: 81549 企标复审流程--试运行结束发起复审、三年定时发起复审,两个定时任务没有自动发起流程

This commit is contained in:
2024-02-07 10:06:02 +08:00
parent b597f46b65
commit f7318275c5
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jero.common.constant.enums.YesOrNoEnum;
import com.jero.common.exception.JeroBootException;
import com.jero.common.system.query.QueryGenerator;
import com.jero.modules.laws.system.entity.LawsContactManage;
@@ -200,6 +201,7 @@ public class LawsContactManageServiceImpl extends ServiceImpl<LawsContactManageM
public String findContactUserByDept(String deptId) {
LambdaQueryWrapper<LawsContactManage> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(LawsContactManage::getDepartId, deptId);
wrapper.eq(LawsContactManage::getDelFlag, YesOrNoEnum.NO.getValue());
List<LawsContactManage> list = list(wrapper);
if (list == null || list.isEmpty()) {
return null;
@@ -220,6 +222,7 @@ public class LawsContactManageServiceImpl extends ServiceImpl<LawsContactManageM
public String findStandardEngineerByDept(String deptId) {
LambdaQueryWrapper<LawsContactManage> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(LawsContactManage::getDepartId, deptId);
wrapper.eq(LawsContactManage::getDelFlag, YesOrNoEnum.NO.getValue());
List<LawsContactManage> list = list(wrapper);
if (list == null || list.isEmpty()) {
return null;