Browse Source

添加值班查询模板的参数

zhongwei
tyty 2 years ago
parent
commit
1bff74c4ee
  1. 4
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyMainTemplateImpl.java

4
hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyMainTemplateImpl.java

@ -10,7 +10,6 @@ import com.hnac.hzims.operational.duty.vo.FlexibleSchedulingVo;
import com.hnac.hzims.operational.duty.vo.ImsSchedulingVo; import com.hnac.hzims.operational.duty.vo.ImsSchedulingVo;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springblade.core.mp.base.BaseServiceImpl; import org.springblade.core.mp.base.BaseServiceImpl;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.tool.utils.CollectionUtil; import org.springblade.core.tool.utils.CollectionUtil;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@ -30,6 +29,9 @@ public class ImsDutyMainTemplateImpl extends BaseServiceImpl<ImsDutyMainTemplate
eq(ImsDutyMainTemplateEntity::getCreateDept, entity.getCreateDept()); eq(ImsDutyMainTemplateEntity::getCreateDept, entity.getCreateDept());
eq(ImsDutyMainTemplateEntity::getType, entity.getType()); eq(ImsDutyMainTemplateEntity::getType, entity.getType());
} }
if (null != entity.getDutyClassTypeId()) {
eq(ImsDutyMainTemplateEntity::getDutyClassTypeId, entity.getDutyClassTypeId());
}
}}); }});
if (CollectionUtil.isNotEmpty(list)) { if (CollectionUtil.isNotEmpty(list)) {
for (ImsDutyMainTemplateEntity imsDutyMainTemplateEntity : list) { for (ImsDutyMainTemplateEntity imsDutyMainTemplateEntity : list) {

Loading…
Cancel
Save