|
@@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
import java.util.HashMap;
|
|
import java.util.HashMap;
|
|
|
|
+import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -1094,7 +1095,7 @@ public class TMSController extends BaseRESTfulController {
|
|
@ApiOperation(value="查询所有的进厂实绩")
|
|
@ApiOperation(value="查询所有的进厂实绩")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
@ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
- @ApiImplicitParam(name = "apiId(99)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
|
|
+ @ApiImplicitParam(name = "apiId(220)", value = "动态表头", required = false, dataType = "Integer"),
|
|
@ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
@ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
@ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
@ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
@ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
|
|
@ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
|
|
@@ -1110,6 +1111,15 @@ public class TMSController extends BaseRESTfulController {
|
|
return tmsTruckFeign.getAllEnFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
|
|
return tmsTruckFeign.getAllEnFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value="通过运输订单id查询物资信息")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "orderId", value = "运输订单id", required = false, dataType = "Integer"),
|
|
|
|
+ })
|
|
|
|
+ @GetMapping("/getMaterial")
|
|
|
|
+ public Map<String, Object> getMaterial(Integer orderId){
|
|
|
|
+ return tmsTruckFeign.getMaterial(orderId);
|
|
|
|
+ }
|
|
|
|
+
|
|
@ApiOperation(value="通过采集系统传来的数据新增进厂作业实绩")
|
|
@ApiOperation(value="通过采集系统传来的数据新增进厂作业实绩")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
|
|
@ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
|
|
@@ -1534,4 +1544,25 @@ public class TMSController extends BaseRESTfulController {
|
|
public Map<String,Object> updateTruckCalculate(@PathVariable("orderId") Integer orderId){
|
|
public Map<String,Object> updateTruckCalculate(@PathVariable("orderId") Integer orderId){
|
|
return tmsTruckFeign.isNextNeedJl(orderId);
|
|
return tmsTruckFeign.isNextNeedJl(orderId);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value="查询所有的短信实绩")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+ @ApiImplicitParam(name = "apiId(175)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/getSmsResult")
|
|
|
|
+ public Map<String, Object> getSmsResult(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ String con
|
|
|
|
+ ){
|
|
|
|
+ if (mapValue == null) {
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return tmsTruckFeign.getSmsResult(mapValue,apiId,pageNum,pageSize,con);
|
|
|
|
+ }
|
|
}
|
|
}
|