|
@@ -1281,4 +1281,17 @@ public class OmstruckOrderController extends BaseRESTfulController {
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, diverInfoForSaleorder);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, diverInfoForSaleorder);
|
|
return success(pageList);
|
|
return success(pageList);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "通过运单id或者运单号查询车辆是否放行")
|
|
|
|
+ @PostMapping("/canCapacityEnfactory")
|
|
|
|
+ public RESTfulResult canCapacityEnfactory(@RequestBody Map<String,Object> mapValue) {
|
|
|
|
+ String result = omstruckOrderMapper.canCapacityEnfactory(mapValue);
|
|
|
|
+ Integer orderType = (Integer) mapValue.get("orderType");
|
|
|
|
+ if (orderType != 1) {
|
|
|
|
+ return success("OK");
|
|
|
|
+ }
|
|
|
|
+ else {
|
|
|
|
+ return success(result);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|