Commit 67c98210 authored by wanghao's avatar wanghao

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

parent a23e0b09
......@@ -105,18 +105,18 @@ public class ITShelfApiServiceImpl implements ITShelfApiService{
log.info("receiveFeedBackInfo...param==========" + request.toJSONString());
try {
JSONObject result = new JSONObject();
TShelfInfo shelfInfo = shelfInfoMapper.selectTShelfInfoByShelf(request.getString("SHELF"));
request.put("SHELFID",shelfInfo.getfShelfId());
TShelfInfo shelfInfo = shelfInfoMapper.selectTShelfInfoByShelf(request.getString("shelf"));
request.put("shelfId",shelfInfo.getfShelfId());
//更新位置状态
TShelfStorageLocation tShelfStorageLocation = new TShelfStorageLocation();
tShelfStorageLocation.setLocation(request.getString("LOCATION"));
tShelfStorageLocation.setLocation(request.getString("location"));
tShelfStorageLocation.setShelfId(shelfInfo.getfShelfId());
if("I".equals(request.getString("OPTYPE"))){
tShelfStorageLocation.setInboundTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(request.getString("OPERATEDATE")));
tShelfStorageLocation.setRid(request.getString("RID"));
if("I".equals(request.getString("optype"))){
tShelfStorageLocation.setInboundTime(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").parse(request.getString("operateDate")));
tShelfStorageLocation.setRid(request.getString("rid"));
}
if("O".equals(request.getString("OPTYPE"))){
tShelfStorageLocation.setOutboundTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(request.getString("OPERATEDATE")));
if("O".equals(request.getString("optype"))){
tShelfStorageLocation.setOutboundTime(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").parse(request.getString("operateDate")));
}
shelfStorageLocationMapper.updateTShelfStorageLocationByLocationAndShelfId(tShelfStorageLocation);
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