|
@@ -286,7 +286,7 @@ public class OffSiteTransportationController extends BaseRESTfulController {
|
|
|
map.putAll(value);
|
|
|
//添加入库实绩
|
|
|
Integer resTfulResult = offSiteTransportationService.addTmstruckReceiptResult(map);
|
|
|
- if (!resTfulResult.equals("4")){
|
|
|
+ if (resTfulResult!=4){
|
|
|
//保存路线
|
|
|
String redisJson = (String) redisTemplate.opsForValue().get(prefixOrder+":"+orderNumber);
|
|
|
HashMap mapValue = JSON.parseObject(redisJson, HashMap.class);
|
|
@@ -352,7 +352,7 @@ public class OffSiteTransportationController extends BaseRESTfulController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- return success(1);
|
|
|
+ return success(resTfulResult);
|
|
|
}
|
|
|
|
|
|
//如果内容丢失重新获得
|