| | |
| | | return selectCount(query); |
| | | } |
| | | |
| | | default List<CrmReceivableDO> selectListByCustomerId(Long customerId) { |
| | | return selectList(new cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX<CrmReceivableDO>() |
| | | .eq(CrmReceivableDO::getCustomerId, customerId) |
| | | .orderByDesc(CrmReceivableDO::getId)); |
| | | } |
| | | |
| | | default List<CrmReceivableDO> selectListByContractIdAndStatus(Long contractId, Collection<Integer> auditStatuses) { |
| | | return selectList(new LambdaQueryWrapperX<CrmReceivableDO>() |
| | | .eq(CrmReceivableDO::getContractId, contractId) |