| | |
| | | /// <param name="loc"></param> |
| | | /// <param name="cntrs"></param> |
| | | /// <returns></returns> |
| | | public static bool UnBindingLoc(string loc, List<string> cntrs) |
| | | public static bool UnBindingLoc(string loc, List<string> cntrs, string type) |
| | | { |
| | | var res = false; |
| | | var db = new SqlHelper<object>().GetInstance(); |
| | |
| | | { |
| | | location.N_CURRENT_NUM = 0; |
| | | } |
| | | |
| | | location.S_LOCK_STATE = "无"; |
| | | location.N_LOCK_STATE = 0; |
| | | db.Updateable(location).UpdateColumns(it => new { it.N_CURRENT_NUM, it.S_LOCK_STATE, it.N_LOCK_STATE }).ExecuteCommand(); |
| | |
| | | /// <param name="loc"></param> |
| | | /// <param name="cntrs"></param> |
| | | /// <returns></returns> |
| | | public static bool BindingLoc(string loc, List<string> cntrs) |
| | | public static bool BindingLoc(string loc, List<string> cntrs, string type) |
| | | { |
| | | var res = false; |
| | | var db = new SqlHelper<object>().GetInstance(); |
| | |
| | | } |
| | | }); |
| | | location.N_CURRENT_NUM = lcrList.Count + count; |
| | | |
| | | |
| | | |
| | | if (location.N_CURRENT_NUM > location.N_CAPACITY) location.N_CURRENT_NUM = location.N_CAPACITY; |
| | | |
| | | location.N_LOCK_STATE = 0; |
| | | location.S_LOCK_STATE = "无"; |