| | |
| | | .eqIfPresent(CrmBidBondDO::getCustomerId, reqVO.getCustomerId()) |
| | | .likeIfPresent(CrmBidBondDO::getProjectName, reqVO.getProjectName()) |
| | | .likeIfPresent(CrmBidBondDO::getTenderNo, reqVO.getTenderNo()) |
| | | .likeIfPresent(CrmBidBondDO::getQuotationNo, reqVO.getQuotationNo()) |
| | | .likeIfPresent(CrmBidBondDO::getSaleOrderNo, reqVO.getSaleOrderNo()) |
| | | .eqIfPresent(CrmBidBondDO::getBidResult, reqVO.getBidResult()) |
| | | .eqIfPresent(CrmBidBondDO::getRefundStatus, reqVO.getRefundStatus()) |
| | |
| | | |
| | | default List<CrmBidBondDO> selectListByCustomerId(Long customerId) { |
| | | return selectList(CrmBidBondDO::getCustomerId, customerId); |
| | | } |
| | | |
| | | default CrmBidBondDO selectByQuotationId(Long quotationId) { |
| | | return selectOne(CrmBidBondDO::getQuotationId, quotationId); |
| | | } |
| | | |
| | | default List<CrmBidBondDO> selectListBySaleOrderIds(Collection<Long> saleOrderIds) { |
| | |
| | | .eq(CrmBidBondDO::getId, updateObj.getId()) |
| | | .set(CrmBidBondDO::getSaleOrderId, updateObj.getSaleOrderId()) |
| | | .set(CrmBidBondDO::getSaleOrderNo, updateObj.getSaleOrderNo()) |
| | | .set(CrmBidBondDO::getQuotationId, updateObj.getQuotationId()) |
| | | .set(CrmBidBondDO::getQuotationNo, updateObj.getQuotationNo()) |
| | | .set(CrmBidBondDO::getQuotationRound, updateObj.getQuotationRound()) |
| | | .set(CrmBidBondDO::getRefundAmount, updateObj.getRefundAmount()) |
| | | .set(CrmBidBondDO::getRefundDate, updateObj.getRefundDate())); |
| | | } |