| | |
| | | /// <param name="locationCode">è´§ä½ç¼å·</param> |
| | | /// <param name="palletType">æçç±»å</param> |
| | | /// <param name="locationStatus">è´§ä½ç¶æ</param> |
| | | public void UpdateLocationStatus(string locationCode, int palletType, LocationStatusEnum locationStatus, int warehousId) |
| | | public void UpdateLocationStatus(string locationCode, int ContainerType, LocationStatusEnum locationStatus, int warehousId) |
| | | { |
| | | Dt_LocationInfo location = Repository.QueryFirst(x => x.LocationCode == locationCode); |
| | | if (location == null) |
| | | { |
| | | throw new Exception($"æªæ¾å°è´§ä½ä¿¡æ¯,{locationCode}"); |
| | | } |
| | | UpdateLocationStatus(location, palletType, locationStatus, warehousId); |
| | | UpdateLocationStatus(location, ContainerType, locationStatus, warehousId); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹è´§ä½ç¶æåç±»å |
| | | /// </summary> |
| | | /// <param name="locationCode">è´§ä½ç¼å·</param> |
| | | /// <param name="palletType">æçç±»å</param> |
| | | /// <param name="locationStatus">è´§ä½ç¶æ</param> |
| | | public void UpdateLocationStatus1(int ContainerType, LocationStatusEnum locationStatus, int warehousId) |
| | | { |
| | | Dt_LocationInfo location = Repository.QueryFirst(x => x.LocationCode == locationCode); |
| | | if (location == null) |
| | | { |
| | | throw new Exception($"æªæ¾å°è´§ä½ä¿¡æ¯,{locationCode}"); |
| | | } |
| | | UpdateLocationStatus(location, ContainerType, locationStatus, warehousId); |
| | | } |
| | | |
| | | |