src/main/java/com/zy/common/service/erp/ErpService.java
@@ -452,10 +452,10 @@ } } if (complete) { sql = "select * from OutStockbillEntry where 1=1 and FInterID = {1,number,#} and FAuxCommitQty != FQty"; sql = "select * from OutStockbillEntry where 1=1 and FInterID = {1,number,#}"; sql = MessageFormat.format(sql, Fnumber, FInterID); List<OutStockBillEntry> select1 = erpSqlServer.select(sql, OutStockBillEntry.class); if(select1.size()<1){ if(select1.size()<=1){ if (!completeCPakOut(FBillNo) ) { log.error("{}出库单标记完成失败", FBillNo); }