|
@@ -408,7 +408,10 @@ public class TmstrainLoadingResultServiceImpl implements ITmstrainLoadingResultS
|
|
|
else {
|
|
|
Map<String, Object> stringObjectMap = wmshBoundFeign.addResult(map);
|
|
|
if (!stringObjectMap.get("code").equals("200")){
|
|
|
- return -1;
|
|
|
+ return -1;
|
|
|
+ }else {
|
|
|
+ BigDecimal message = DataChange.dataToBigDecimal(stringObjectMap.get("message"));
|
|
|
+ return message.intValue();
|
|
|
}
|
|
|
}
|
|
|
return 1;
|