|
@@ -304,19 +304,19 @@ public class TmstruckLoadResultServiceImpl implements ITmstruckLoadResultService
|
|
tmstruckLoadResultMapper.updateByPrimaryKeySelective(tmstruckLoadResult);
|
|
tmstruckLoadResultMapper.updateByPrimaryKeySelective(tmstruckLoadResult);
|
|
//推送消息到websocket
|
|
//推送消息到websocket
|
|
utilsService.pushMesToWebsocket(capacityNumber, "装货");
|
|
utilsService.pushMesToWebsocket(capacityNumber, "装货");
|
|
- map.put("orderTypee",orderType);
|
|
|
|
|
|
+ //map.put("orderTypee",orderType);
|
|
//发送计量委托
|
|
//发送计量委托
|
|
- if (map.get("warehouseId")==null){
|
|
|
|
- map.put("warehouseName",null);
|
|
|
|
- }else {
|
|
|
|
- //根据id查找装货点名称
|
|
|
|
- String warehouseName = utilsMapper.queryWarehouseName(DataChange.dataToBigDecimal(map.get("warehouseId")));
|
|
|
|
- map.put("warehouseName",warehouseName);
|
|
|
|
- }
|
|
|
|
- int i = tmstruckMeasureCommissionService.addMeasureCommissionForLoding(map);
|
|
|
|
- if (i!=1){
|
|
|
|
- return -7;
|
|
|
|
- }
|
|
|
|
|
|
+ //if (map.get("warehouseId")==null){
|
|
|
|
+ // map.put("warehouseName",null);
|
|
|
|
+ //}else {
|
|
|
|
+ // //根据id查找装货点名称
|
|
|
|
+ // String warehouseName = utilsMapper.queryWarehouseName(DataChange.dataToBigDecimal(map.get("warehouseId")));
|
|
|
|
+ // map.put("warehouseName",warehouseName);
|
|
|
|
+ //}
|
|
|
|
+ //int i = tmstruckMeasureCommissionService.addMeasureCommissionForLoding(map);
|
|
|
|
+ //if (i!=1){
|
|
|
|
+ // return -7;
|
|
|
|
+ //}
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
|