Merge remote-tracking branch 'origin/dunhuan_jdk8' into dunhuang

This commit is contained in:
guoshengxiong 2025-10-17 18:54:46 +08:00
commit ac68011c81

View File

@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhgd.jeecg.common.execption.OpenAlertException;
import com.zhgd.xmgl.constant.Cts;
import com.zhgd.xmgl.modules.worker.entity.TeamInfo;
import com.zhgd.xmgl.modules.worker.entity.WorkerType;
import com.zhgd.xmgl.modules.worker.mapper.TeamInfoMapper;
@ -37,6 +38,7 @@ public class WorkerTypeServiceImpl extends ServiceImpl<WorkerTypeMapper, WorkerT
public void batchAddWorkerType(String projectSn) {
QueryWrapper<WorkerType> queryWrapper=new QueryWrapper<>();
queryWrapper.lambda().eq(WorkerType::getProjectSn,"0");
queryWrapper.last(Cts.IGNORE_DATA_SCOPE_CONDITION);
List<WorkerType> list=workerTypeMapper.selectList(queryWrapper);
if(list!=null&&list.size()>0){
for(WorkerType workerType:list){