huxy 2 лет назад
Родитель
Сommit
b38ffcfad5

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/controller/SyPackingListFabricController.java

@@ -121,7 +121,7 @@ public class SyPackingListFabricController {
 		}
 
 		if(oConvertUtils.isNotEmpty(syPackingListFabric.getAccount())){
-			queryWrapper.like("b.account",syPackingListFabric.getAccount());//账套号
+			queryWrapper.like("a.account",syPackingListFabric.getAccount());//账套号
 		}
 		if(oConvertUtils.isNotEmpty(syPackingListFabric.getIsReference())){
 			if(syPackingListFabric.getIsReference().equals(0)){

+ 1 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/service/impl/SyPackingListFabricServiceImpl.java

@@ -1488,6 +1488,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 							sy1.setOmpoAccount(syShippingDetailsItem.getOmpoAccount());//委外采购账套号
 							sy1.setOmpoIdItem(syShippingDetailsItem.getOmpoIdItem());//委外采购子表id
 							sy1.setAccount(syShippingDetailsItem.getAccount());//账套号
+							sy.setAccount(syShippingDetailsItem.getAccount());//账套号
 							sy1.setOmpoId(syShippingDetailsItem.getOmpoId());//委外采购主表id
 							sy1.setPurOrSubOrder(syShippingDetailsItem.getPurOrSubOrder());//委外采购订单号
 							sy1.setSupplierCode(syShippingDetailsItem.getSupplierCode());//供应商