|
@@ -230,15 +230,25 @@ public class TMSController extends BaseRESTfulController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- //框计算计算货权转移中出现的批次
|
|
|
- @PostMapping("/getBatchListForAttorney")
|
|
|
- public Map<String, Object> getBatchListForAttorney(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
+ //为提货委托查询批次
|
|
|
+ @PostMapping("/getBatchListForAttorney")
|
|
|
+ public Map<String, Object> getBatchListForAttorney(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
Integer apiId,
|
|
|
String con){
|
|
|
- return tmsshipFeign.getBatchListForAttorney(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con);
|
|
|
- }
|
|
|
+ return tmsshipFeign.getBatchListForAttorney(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con);
|
|
|
+ }
|
|
|
+
|
|
|
+ //为装船指令查询批次
|
|
|
+ @PostMapping("/getBatchListForInstruction")
|
|
|
+ public Map<String, Object> getBatchListForInstruction(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ String con){
|
|
|
+ return tmsshipFeign.getBatchListForInstruction(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con);
|
|
|
+ }
|
|
|
|
|
|
|
|
|
//框计算计算货权转移中出现的批次
|
|
@@ -267,11 +277,9 @@ public class TMSController extends BaseRESTfulController {
|
|
|
public Map<String, Object> getCapacityList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
- Integer apiId) {
|
|
|
- if (mapValue == null) {
|
|
|
- mapValue = new HashMap<>();
|
|
|
- }
|
|
|
- return tmsshipFeign.getCapacityList(mapValue, pageNum, pageSize, apiId);
|
|
|
+ Integer apiId,
|
|
|
+ String con) {
|
|
|
+ return tmsshipFeign.getCapacityList(mapValue==null?new HashMap<String, Object>():mapValue,pageNum, pageSize, apiId,con);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -787,8 +795,10 @@ public class TMSController extends BaseRESTfulController {
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
Integer resultType,
|
|
|
+ Integer materialId,
|
|
|
+ Integer supplierId,
|
|
|
String con) {
|
|
|
- return tmsTrainFeign.getTmstrainWagonLoad(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType, con);
|
|
|
+ return tmsTrainFeign.getTmstrainWagonLoad(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType,materialId,supplierId, con);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -1913,8 +1923,8 @@ public class TMSController extends BaseRESTfulController {
|
|
|
|
|
|
@ApiOperation(value = "国产矿物流新增装车")
|
|
|
@PostMapping(value = "/addDomesticLoadResult")
|
|
|
- public Map<String, Object> addDomesticLoadResult(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
- return tmsTrainFeign.addDomesticLoadResult(map);
|
|
|
+ public Map<String, Object> addDomesticLoadResult(@RequestBody(required = false) List<Map<String, Object>> list) {
|
|
|
+ return tmsTrainFeign.addDomesticLoadResult(list);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "国产矿物流补录装车信息")
|
|
@@ -2331,4 +2341,35 @@ public class TMSController extends BaseRESTfulController {
|
|
|
return tmsshipFeign.getPersonByName(personName);
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value="获取内转报表")
|
|
|
+ @PostMapping("/getOutFactoryInwardList")
|
|
|
+ public Map<String, Object> getOutFactoryInwardList(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String startTime,
|
|
|
+ String endTime,
|
|
|
+ String orgCode,
|
|
|
+ String isPage,
|
|
|
+ String index) {
|
|
|
+ if (mapValue==null){
|
|
|
+ mapValue=new HashMap<>();
|
|
|
+ }
|
|
|
+ return tmsTruckFeign.getOutFactoryInwardList(mapValue,apiId,pageNum,pageSize,startTime,endTime,orgCode,isPage,index);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "根据物资名和外轮船名查询采购订单号")
|
|
|
+ @PostMapping(value = "/findPurchaseOrderList")
|
|
|
+ public Map<String, Object> findPurchaseOrderList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String materialName,
|
|
|
+ String resultForeignShipName){
|
|
|
+ if(map==null)
|
|
|
+ map=new HashMap<>();
|
|
|
+ System.out.println(map);
|
|
|
+ return tmsTrainFeign.getPurchaseOrderList(map,apiId,pageNum,pageSize,materialName, resultForeignShipName);
|
|
|
+ }
|
|
|
}
|