From 5c87bccb26f1602bd17dd2140523cda906d0c9f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Fri, 26 Sep 2025 10:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E6=9F=A5=E8=AF=A2=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Service/mes/wms/WmGoodsBatchSearchService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ZR.Service/mes/wms/WmGoodsBatchSearchService.cs b/ZR.Service/mes/wms/WmGoodsBatchSearchService.cs index 6763ff7c..31ea6900 100644 --- a/ZR.Service/mes/wms/WmGoodsBatchSearchService.cs +++ b/ZR.Service/mes/wms/WmGoodsBatchSearchService.cs @@ -29,7 +29,7 @@ namespace ZR.Service.Business " MAX( id ) AS ID,\n" + " SUBSTRING_INDEX( package_code_client, '_', 1 ) AS PackageCodeClient_son,\n" + " NULL AS PackageCodeClient_short_parent,\n" + - " MAX( partnumber ) AS Partnumber,\n" + + " partnumber AS Partnumber,\n" + " '' AS Description,\n" + " SUBSTRING_INDEX( package_code_client, '_', 1 ) AS PackageCode,\n" + " SUBSTRING_INDEX( package_code_client, '_', 1 ) AS package_code,\n" + @@ -43,7 +43,7 @@ namespace ZR.Service.Business "FROM\n" + " wm_goods_now_production \n" + "GROUP BY\n" + - " PackageCode \n" + + " PackageCode, partnumber \n" + "ORDER BY\n" + " PackageCodeClient_son"; PagedInfo result = Context.SqlQueryable(sql)