| | |
| | | }); |
| | | //如果是立库的卸货完成后数量不加 |
| | | var reservoirs = Settings.ReservoirAreas.Where(s => s.areaName == "立库入库区").FirstOrDefault(); |
| | | if (!loc.Equals(reservoirs.areaCode)) |
| | | if (!location.S_AREA_CODE.Equals(reservoirs.areaCode)) |
| | | { |
| | | location.N_CURRENT_NUM = lcrList.Count + count; |
| | | LogHelper.Info($"BindingLoc============非立库入库区"); |
| | | } |
| | | location.N_LOCK_STATE = 0; |
| | | location.S_LOCK_STATE = "无"; |
| | | LogHelper.Info($"BindingLoc============当前数量{location.N_CURRENT_NUM}"); |
| | | |
| | | db.Updateable(location).UpdateColumns(it => new { it.N_CURRENT_NUM, it.S_LOCK_STATE,it.N_LOCK_STATE }).ExecuteCommand(); |
| | | |