| | |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.NoticesMapper; |
| | | import com.doumee.dao.business.join.NoticesJoinMapper; |
| | | import com.doumee.dao.business.model.ApplyChagneDetail; |
| | | import com.doumee.dao.business.model.Company; |
| | | import com.doumee.dao.business.model.InsuranceApply; |
| | | import com.doumee.dao.business.model.Notices; |
| | | import com.doumee.dao.business.model.*; |
| | | import com.doumee.dao.business.vo.ApplyNoticeVO; |
| | | import com.doumee.service.business.NoticesService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | |
| | | queryWrapper.selectAs(Company::getName,Notices::getCompanyName); |
| | | queryWrapper.leftJoin(Company.class,Company::getId,Notices::getCompanyId); |
| | | queryWrapper.ne(Notices::getType, Constants.NoticeType.SIX.getStatus()); |
| | | queryWrapper.eq(Notices::getIsdeleted,Constants.ZERO); |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.eq(Notices::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | |
| | | .eq(Notices::getCompanyId,companyId) |
| | | .eq(Notices::getObjType,Constants.NoticeObjectType.INSURANCE_APPLY.getKey()) |
| | | .eq(Notices::getStatus,Constants.ZERO) |
| | | .eq(Notices::getIsdeleted,Constants.ZERO) |
| | | .in(Notices::getType,Constants.NoticeType.SIX.getStatus(),Constants.NoticeType.ONE.getStatus()) |
| | | ); |
| | | if(CollectionUtils.isNotEmpty(noticesList)){ |