diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs index cfd8fcb..5a0b73f 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs @@ -441,8 +441,7 @@ namespace ICSSoft.DataProject left join ICSInventoryLot B on A.LotNO=B.LotNO and a.WorkPoint=b.WorkPoint left join ICSWareHouseLotInfo C ON A.LotNO=C.LotNO and a.WorkPoint=c.WorkPoint left join ICSInventory D on b.INVCODE=d.INVCODE and b.WorkPoint=d.WorkPoint - where a.BusinessCode ='105' - and A.lotno like'{0}%' and a.workpoint='{1}' + where A.lotno like'{0}%' and a.workpoint='{1}' "; sql = string.Format(sql, LotNo, WorkPoint); dtLotno = DBHelper.SQlReturnData(sql, cmd); diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/LibraryController.cs b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/LibraryController.cs index 6d41093..b1d9c85 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/LibraryController.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/LibraryController.cs @@ -84,7 +84,7 @@ namespace ICSSoft.WebAPI.Controllers { log.Error("移库失败:" + ex.ToString()); res.Success = false; - res.Message = LanguageHelper.GetNameSingle("WMSAPI002");// "JSON格式不正确!"; + res.Message = ex.Message; //LanguageHelper.GetNameSingle("WMSAPI002");// "JSON格式不正确!"; } finally {