Sfoglia il codice sorgente

预托书参照改参照条件

zengtx 1 anno fa
parent
commit
d595cbbc11

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/letterDeposit/controller/SyLetterDepositController.java

@@ -482,8 +482,8 @@ public class SyLetterDepositController extends JeecgController<SyLetterDeposit,
 		 }
 		 queryWrapper.eq("a.del_flag",0);
 		 queryWrapper.eq("b.del_flag",0);
-		 //queryWrapper.eq("a.is_reference",0);
-		 queryWrapper.and(QueryWrapper -> QueryWrapper.eq("a.is_reference", 0).or().eq("a.is_reference", 2));
+		 queryWrapper.eq("a.is_reference",0);
+		 //queryWrapper.and(QueryWrapper -> QueryWrapper.eq("a.is_reference", 0).or().eq("a.is_reference", 2));
 		 queryWrapper.eq("a.status",1);
 		 queryWrapper.groupBy("a.id");
 		 queryWrapper.orderByDesc("a.item_number,b.po_no");