fix: 81549 企标复审流程--试运行结束发起复审、三年定时发起复审,两个定时任务没有自动发起流程
This commit is contained in:
+3
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|||||||
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
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.exception.JeroBootException;
|
||||||
import com.jero.common.system.query.QueryGenerator;
|
import com.jero.common.system.query.QueryGenerator;
|
||||||
import com.jero.modules.laws.system.entity.LawsContactManage;
|
import com.jero.modules.laws.system.entity.LawsContactManage;
|
||||||
@@ -200,6 +201,7 @@ public class LawsContactManageServiceImpl extends ServiceImpl<LawsContactManageM
|
|||||||
public String findContactUserByDept(String deptId) {
|
public String findContactUserByDept(String deptId) {
|
||||||
LambdaQueryWrapper<LawsContactManage> wrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<LawsContactManage> wrapper = new LambdaQueryWrapper<>();
|
||||||
wrapper.eq(LawsContactManage::getDepartId, deptId);
|
wrapper.eq(LawsContactManage::getDepartId, deptId);
|
||||||
|
wrapper.eq(LawsContactManage::getDelFlag, YesOrNoEnum.NO.getValue());
|
||||||
List<LawsContactManage> list = list(wrapper);
|
List<LawsContactManage> list = list(wrapper);
|
||||||
if (list == null || list.isEmpty()) {
|
if (list == null || list.isEmpty()) {
|
||||||
return null;
|
return null;
|
||||||
@@ -220,6 +222,7 @@ public class LawsContactManageServiceImpl extends ServiceImpl<LawsContactManageM
|
|||||||
public String findStandardEngineerByDept(String deptId) {
|
public String findStandardEngineerByDept(String deptId) {
|
||||||
LambdaQueryWrapper<LawsContactManage> wrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<LawsContactManage> wrapper = new LambdaQueryWrapper<>();
|
||||||
wrapper.eq(LawsContactManage::getDepartId, deptId);
|
wrapper.eq(LawsContactManage::getDepartId, deptId);
|
||||||
|
wrapper.eq(LawsContactManage::getDelFlag, YesOrNoEnum.NO.getValue());
|
||||||
List<LawsContactManage> list = list(wrapper);
|
List<LawsContactManage> list = list(wrapper);
|
||||||
if (list == null || list.isEmpty()) {
|
if (list == null || list.isEmpty()) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user