瀏覽代碼

完善代码

yuansh 1 月之前
父節點
當前提交
dacd00bd4f

+ 1 - 1
srm-module-code/src/main/java/org/jeecg/modules/saleCode/controller/SaleInvoiceController.java

@@ -493,7 +493,7 @@ public class SaleInvoiceController {
             //销售订单单号
             String xsCode = list.get(0).getSourceCode();
             QueryWrapper<PurOrder> queryPurOrder = new QueryWrapper();
-            queryPurOrder.eq("source_code2", xsCode);
+            queryPurOrder.likeLeft("source_code2", xsCode);
             List<PurOrder> cgList = purOrderService.list(queryPurOrder);
             if (cgList.size() > 0) {
                 return Result.OK(cgList.get(0));