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