| | |
| | | LocationHelper.LockLoc(endLoc.S_CODE, 1);//终点入库锁 |
| | | LogHelper.Info($"生成{typeName}任务成功,容器号{locCnt.S_CNTR_CODE},起点{startLoc.S_CODE},终点{endLoc.S_CODE}"); |
| | | |
| | | db.Updateable<TN_CG_Detail>().UpdateColumns(it => new { it.S_ITEM_STATE, it.N_ITEM_STATE }).ExecuteCommand(); |
| | | if( db.Updateable<TN_CG_Detail>(cG_Detail).UpdateColumns(it => new { it.S_ITEM_STATE, it.N_ITEM_STATE }).ExecuteCommand() <= 0) |
| | | { |
| | | result.resultCode = 5; |
| | | result.resultMsg = $"更新容器{locCnt.S_CNTR_CODE}的货品明细失败"; |
| | | LogHelper.Info(result.resultMsg); |
| | | return result; |
| | | } |
| | | |
| | | Task task99 = Task.Run(() => |
| | | { |
| | |
| | | LogHelper.Info("触发API:PDA满托下线入库" + JsonConvert.SerializeObject(model), "API"); |
| | | try |
| | | { |
| | | if( model.RfId.Length < 16) |
| | | if (model.RfId.Length < 16) |
| | | { |
| | | result.resultCode = 1; |
| | | result.resultMsg = $"输入的RFID,长度不够,要大于16位"; |