@@ -84,4 +84,9 @@ public class ProduceOrderDetailSelectDto extends BaseSelectDto {
*/
private Integer lackStatus;
+ /**
+ * 合同id过滤
+ */
+ private Long contractId;
+
}
@@ -171,6 +171,10 @@ public class ProduceOrderDetailServiceImpl extends ServiceImpl<ProduceOrderDetai
wrapper.apply("IFNULL( t2.lackStatus, 0 ) = {0}", dto.getLackStatus());
+ //合同id过滤
+ wrapper.eq("c.id", dto.getContractId());
return wrapper;