2025/10/27 9:00:02 运费计算 sql_shipprice:SELECT distinct p.ForwarderByID,p.CountryId,PriceMethod,StartWeight,EndWeight,LoseEfficacyDate,TakeEfficacyDate,p.[Zone],pat.StartPostcode,pat.EndPostCode FROM ServiceCenter..ShipPrice_Postcode p join ServiceCenter..PostcodeAreaTable pat on pat.ForwarderByID=p.ForwarderByID and pat.[Zone]=p.[Zone] and pat.CountryId=p.CountryId WHERE p.Valid = 1 AND p.CountryId=38 and p.ForwarderByID in ('Z+SELF','Z+FSELF','GRL+DEDHL','GRL+DEDHLEU','GRL+PLDPD','GRL+PLDPDEU','GRL+PLUPS','GRL+PLUPSEU') and ((LoseEfficacyDate is not null and LoseEfficacyDate<>'' and '2025-10-27 09:00:02'>=TakeEfficacyDate and '2025-10-27 09:00:02'<=LoseEfficacyDate) or ((LoseEfficacyDate is null or LoseEfficacyDate='') and '2025-10-27 09:00:02'>=TakeEfficacyDate)) and '73329'>=UPPER(StartPostcode) and '73329'<=UPPER(EndPostCode) 错误信息:System.Exception: SELECT distinct p.ForwarderByID,p.CountryId,PriceMethod,StartWeight,EndWeight,LoseEfficacyDate,TakeEfficacyDate,p.[Zone],pat.StartPostcode,pat.EndPostCode FROM ServiceCenter..ShipPrice_Postcode p join ServiceCenter..PostcodeAreaTable pat on pat.ForwarderByID=p.ForwarderByID and pat.[Zone]=p.[Zone] and pat.CountryId=p.CountryId WHERE p.Valid = 1 AND p.CountryId=38 and p.ForwarderByID in ('Z+SELF','Z+FSELF','GRL+DEDHL','GRL+DEDHLEU','GRL+PLDPD','GRL+PLDPDEU','GRL+PLUPS','GRL+PLUPSEU') and ((LoseEfficacyDate is not null and LoseEfficacyDate<>'' and '2025-10-27 09:00:02'>=TakeEfficacyDate and '2025-10-27 09:00:02'<=LoseEfficacyDate) or ((LoseEfficacyDate is null or LoseEfficacyDate='') and '2025-10-27 09:00:02'>=TakeEfficacyDate)) and '73329'>=UPPER(StartPostcode) and '73329'<=UPPER(EndPostCode)无法继续执行,因为会话处于终止状态。 当前命令发生了严重错误。应放弃任何可能产生的结果。 在 Vayava.Common.DBUtility.DbHelperSQL.Query(String SQLString) 在 Vayava.Erp.Dal.ShipVia.ShipViaNewService.GetShipPriceData(String calculationMethod, String countryId, String strWhere_shipprice) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Dal\ShipVia\ShipViaNewService.cs:行号 1097