|
@@ -114,7 +114,8 @@ public class ContractProductServiceImpl extends ServiceImpl<ContractProductMappe
|
|
|
*/
|
|
|
public Page<ContractProductVo> commPage(IWrapper<ContractProduct> wrapper, ContractProductSelectDto dto) {
|
|
|
wrapper.orderByDesc("t1", ContractProduct::getCreateTime);
|
|
|
- wrapper.between("t2", Contract::getStatus, FlowStatusEnum.PASS.getKey(), FlowStatusEnum.CANCELLATION.getKey() - 1);
|
|
|
+// wrapper.between("t2", Contract::getStatus, FlowStatusEnum.PASS.getKey(), FlowStatusEnum.CANCELLATION.getKey() - 1);
|
|
|
+ wrapper.eq("t2", Contract::getStatus, FlowStatusEnum.PASS.getKey());
|
|
|
if (ObjectUtil.isNotEmpty(dto.getDataType()) && dto.getDataType() == 0) {//合同交接单
|
|
|
wrapper.ne("t1", ContractProduct::getExpendQuantity, BigDecimal.ZERO);
|
|
|
}
|