Commit 67c98210 authored by wanghao's avatar wanghao

1 客户返回 数据 参数 大小写调整。

parent a23e0b09
...@@ -105,18 +105,18 @@ public class ITShelfApiServiceImpl implements ITShelfApiService{ ...@@ -105,18 +105,18 @@ public class ITShelfApiServiceImpl implements ITShelfApiService{
log.info("receiveFeedBackInfo...param==========" + request.toJSONString()); log.info("receiveFeedBackInfo...param==========" + request.toJSONString());
try { try {
JSONObject result = new JSONObject(); JSONObject result = new JSONObject();
TShelfInfo shelfInfo = shelfInfoMapper.selectTShelfInfoByShelf(request.getString("SHELF")); TShelfInfo shelfInfo = shelfInfoMapper.selectTShelfInfoByShelf(request.getString("shelf"));
request.put("SHELFID",shelfInfo.getfShelfId()); request.put("shelfId",shelfInfo.getfShelfId());
//更新位置状态 //更新位置状态
TShelfStorageLocation tShelfStorageLocation = new TShelfStorageLocation(); TShelfStorageLocation tShelfStorageLocation = new TShelfStorageLocation();
tShelfStorageLocation.setLocation(request.getString("LOCATION")); tShelfStorageLocation.setLocation(request.getString("location"));
tShelfStorageLocation.setShelfId(shelfInfo.getfShelfId()); tShelfStorageLocation.setShelfId(shelfInfo.getfShelfId());
if("I".equals(request.getString("OPTYPE"))){ if("I".equals(request.getString("optype"))){
tShelfStorageLocation.setInboundTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(request.getString("OPERATEDATE"))); tShelfStorageLocation.setInboundTime(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").parse(request.getString("operateDate")));
tShelfStorageLocation.setRid(request.getString("RID")); tShelfStorageLocation.setRid(request.getString("rid"));
} }
if("O".equals(request.getString("OPTYPE"))){ if("O".equals(request.getString("optype"))){
tShelfStorageLocation.setOutboundTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(request.getString("OPERATEDATE"))); tShelfStorageLocation.setOutboundTime(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").parse(request.getString("operateDate")));
} }
shelfStorageLocationMapper.updateTShelfStorageLocationByLocationAndShelfId(tShelfStorageLocation); shelfStorageLocationMapper.updateTShelfStorageLocationByLocationAndShelfId(tShelfStorageLocation);
result.put("FLAG","0"); result.put("FLAG","0");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment