|
@@ -9,6 +9,7 @@ import io.swagger.annotations.ApiImplicitParam;
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
+import io.swagger.models.auth.In;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@@ -46,11 +47,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmsshipFeign.getDetailsOrderList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmsshipFeign.getDetailsOrderList(mapValue, pageNum, pageSize, apiId, con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getBatch")
|
|
@PostMapping("getBatch")
|
|
@@ -58,11 +60,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getBatch(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getBatch(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmsshipFeign.getBatch(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmsshipFeign.getBatch(mapValue, pageNum, pageSize, apiId,con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getPortHandlingFeeList")
|
|
@PostMapping("getPortHandlingFeeList")
|
|
@@ -70,11 +73,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getPortHandlingFeeList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getPortHandlingFeeList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmsshipFeign.getPortHandlingFeeList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmsshipFeign.getPortHandlingFeeList(mapValue, pageNum, pageSize, apiId, con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("addPortHandlingFee")
|
|
@PostMapping("addPortHandlingFee")
|
|
@@ -106,11 +110,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getUncomplateDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getUncomplateDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmsshipFeign.getUncomplateDetailsOrderList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmsshipFeign.getUncomplateDetailsOrderList(mapValue, pageNum, pageSize, apiId, con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("addDetailsOrder/{resultId}")
|
|
@PostMapping("addDetailsOrder/{resultId}")
|
|
@@ -124,11 +129,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmsshipFeign.getStatementList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmsshipFeign.getStatementList(mapValue, pageNum, pageSize, apiId, con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getLossStatementList")
|
|
@PostMapping("getLossStatementList")
|
|
@@ -136,11 +142,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getLossStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getLossStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmsshipFeign.getLossStatementList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmsshipFeign.getLossStatementList(mapValue, pageNum, pageSize, apiId, con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getWaterResult")
|
|
@PostMapping("getWaterResult")
|
|
@@ -176,15 +183,16 @@ public class BMSController extends BaseRESTfulController {
|
|
@PostMapping("getStatementDetailsOrderList")
|
|
@PostMapping("getStatementDetailsOrderList")
|
|
@ApiOperation(value = "展示账单下的详单")
|
|
@ApiOperation(value = "展示账单下的详单")
|
|
public RESTfulResult getStatementDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getStatementDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
- BigDecimal batchId,
|
|
|
|
|
|
+ Integer batchId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
- BigDecimal statementId) {
|
|
|
|
|
|
+ Integer statementId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmsshipFeign.getStatementDetailsOrderList(batchId, mapValue, pageNum, pageSize, apiId,statementId);
|
|
|
|
|
|
+ return bmsshipFeign.getStatementDetailsOrderList(new BigDecimal(batchId), mapValue, pageNum, pageSize, apiId, new BigDecimal(statementId), con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getShipResult")
|
|
@PostMapping("getShipResult")
|
|
@@ -223,11 +231,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getTrainDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getTrainDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmstrainFeign.getTrainDetailsOrderList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmstrainFeign.getTrainDetailsOrderList(mapValue, pageNum, pageSize, apiId, con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getUncomplateTrainDetailsList")
|
|
@PostMapping("getUncomplateTrainDetailsList")
|
|
@@ -235,11 +244,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getUncomplateTrainDetailsList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getUncomplateTrainDetailsList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmstrainFeign.getUncomplateTrainDetailsList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmstrainFeign.getUncomplateTrainDetailsList(mapValue, pageNum, pageSize, apiId, con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getTrainResultList")
|
|
@PostMapping("getTrainResultList")
|
|
@@ -265,11 +275,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getTrainStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getTrainStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmstrainFeign.getTrainStatementList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmstrainFeign.getTrainStatementList(mapValue, pageNum, pageSize, apiId, con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getStatementTrainResultList")
|
|
@PostMapping("getStatementTrainResultList")
|
|
@@ -287,25 +298,26 @@ public class BMSController extends BaseRESTfulController {
|
|
|
|
|
|
@PostMapping("getComplateTrainDetailsList")
|
|
@PostMapping("getComplateTrainDetailsList")
|
|
@ApiOperation(value = "展示账单下的详单")
|
|
@ApiOperation(value = "展示账单下的详单")
|
|
- public RESTfulResult getComplateTrainDetailsList(BigDecimal batchId,
|
|
|
|
|
|
+ public RESTfulResult getComplateTrainDetailsList(Integer batchId,
|
|
@RequestBody(required = false) Map<String, Object> mapValue,
|
|
@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
- BigDecimal statementId) {
|
|
|
|
|
|
+ Integer statementId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmstrainFeign.getComplateTrainDetailsList(batchId,mapValue, pageNum, pageSize, apiId,statementId);
|
|
|
|
|
|
+ return bmstrainFeign.getComplateTrainDetailsList(new BigDecimal(batchId), mapValue, pageNum, pageSize, apiId, new BigDecimal(statementId), con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("addTrainStatement")
|
|
@PostMapping("addTrainStatement")
|
|
@ApiOperation(value = "生成火运费账单")
|
|
@ApiOperation(value = "生成火运费账单")
|
|
- RESTfulResult addTrainStatement(@RequestBody Map<String, Object> map) {
|
|
|
|
- return bmstrainFeign.addTrainStatement(map);
|
|
|
|
|
|
+ RESTfulResult addTrainStatement(@RequestBody List<Map<String, Object>> mapList) {
|
|
|
|
+ return bmstrainFeign.addTrainStatement(mapList);
|
|
}
|
|
}
|
|
-
|
|
|
|
- @ApiModelProperty(value = "展示销售火运结算列表")
|
|
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "展示销售火运结算列表")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@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"),
|
|
@@ -315,11 +327,12 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getSettlementList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getSettlementList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmstrainFeign.getSettlementList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmstrainFeign.getSettlementList(mapValue, pageNum, pageSize, apiId, con);
|
|
}
|
|
}
|
|
|
|
|
|
@ApiModelProperty(value = "新增销售火运结算")
|
|
@ApiModelProperty(value = "新增销售火运结算")
|
|
@@ -327,7 +340,7 @@ public class BMSController extends BaseRESTfulController {
|
|
@ApiImplicitParam(name = "bmstrainSettlement", value = "销售火运结算实体", required = false, dataType = "BmstrainSettlement"),
|
|
@ApiImplicitParam(name = "bmstrainSettlement", value = "销售火运结算实体", required = false, dataType = "BmstrainSettlement"),
|
|
})
|
|
})
|
|
@PostMapping("/addTrainSettlement")
|
|
@PostMapping("/addTrainSettlement")
|
|
- public Map<String,Object> addTrainSettlement(@RequestBody Map<String, Object> bmstrainSettlement) {
|
|
|
|
|
|
+ public Map<String, Object> addTrainSettlement(@RequestBody Map<String, Object> bmstrainSettlement) {
|
|
return bmstrainFeign.addTrainSettlement(bmstrainSettlement);
|
|
return bmstrainFeign.addTrainSettlement(bmstrainSettlement);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -336,7 +349,7 @@ public class BMSController extends BaseRESTfulController {
|
|
@ApiImplicitParam(name = "bmstrainSettlement", value = "销售火运结算实体", required = false, dataType = "BmstrainSettlement"),
|
|
@ApiImplicitParam(name = "bmstrainSettlement", value = "销售火运结算实体", required = false, dataType = "BmstrainSettlement"),
|
|
})
|
|
})
|
|
@PostMapping("/updateTrainSettlement")
|
|
@PostMapping("/updateTrainSettlement")
|
|
- public Map<String,Object> updateTrainSettlement(@RequestBody Map<String, Object> bmstrainSettlement) {
|
|
|
|
|
|
+ public Map<String, Object> updateTrainSettlement(@RequestBody Map<String, Object> bmstrainSettlement) {
|
|
return bmstrainFeign.updateTrainSettlement(bmstrainSettlement);
|
|
return bmstrainFeign.updateTrainSettlement(bmstrainSettlement);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -345,7 +358,7 @@ public class BMSController extends BaseRESTfulController {
|
|
@ApiImplicitParam(name = "settlementId", value = "结算id", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "settlementId", value = "结算id", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
@PostMapping("/deleteTrainSettlement/{settlementId}")
|
|
@PostMapping("/deleteTrainSettlement/{settlementId}")
|
|
- public Map<String,Object> deleteTrainSettlement(@PathVariable("settlementId") BigDecimal settlementId) {
|
|
|
|
|
|
+ public Map<String, Object> deleteTrainSettlement(@PathVariable("settlementId") BigDecimal settlementId) {
|
|
return bmstrainFeign.deleteTrainSettlement(settlementId);
|
|
return bmstrainFeign.deleteTrainSettlement(settlementId);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -354,8 +367,8 @@ public class BMSController extends BaseRESTfulController {
|
|
@ApiImplicitParam(name = "settlementId", value = "结算id", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "settlementId", value = "结算id", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
@PostMapping("/selectTrainSettlement/{settlementId}")
|
|
@PostMapping("/selectTrainSettlement/{settlementId}")
|
|
- public List<Map<String,Object>> selectTrainSettlement(@PathVariable("settlementId") BigDecimal settlementId) {
|
|
|
|
- return bmstrainFeign.selectTrainSettlement(settlementId);
|
|
|
|
|
|
+ public Map<String, Object> selectTrainSettlement(@PathVariable("settlementId") Integer settlementId) {
|
|
|
|
+ return bmstrainFeign.selectTrainSettlement(new BigDecimal(settlementId));
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getTruckDetailsOrderList")
|
|
@PostMapping("getTruckDetailsOrderList")
|
|
@@ -363,11 +376,13 @@ public class BMSController extends BaseRESTfulController {
|
|
public RESTfulResult getTruckDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
public RESTfulResult getTruckDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- Integer apiId) {
|
|
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer orderType,
|
|
|
|
+ String con) {
|
|
if (mapValue == null) {
|
|
if (mapValue == null) {
|
|
mapValue = new HashMap<>();
|
|
mapValue = new HashMap<>();
|
|
}
|
|
}
|
|
- return bmstruckFeign.getTruckDetailsOrderList(mapValue, pageNum, pageSize, apiId);
|
|
|
|
|
|
+ return bmstruckFeign.getTruckDetailsOrderList(mapValue, pageNum, pageSize, apiId, orderType, con);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("getTruckResultList")
|
|
@PostMapping("getTruckResultList")
|
|
@@ -383,13 +398,101 @@ public class BMSController extends BaseRESTfulController {
|
|
return bmstruckFeign.getTruckResultList(mapValue, pageNum, pageSize, apiId, new BigDecimal(orderId));
|
|
return bmstruckFeign.getTruckResultList(mapValue, pageNum, pageSize, apiId, new BigDecimal(orderId));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @PostMapping("getTruckStatementList")
|
|
|
|
+ @ApiOperation(value = "展示汽运账单信息")
|
|
|
|
+ public RESTfulResult getTruckStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
|
|
+ if (mapValue == null) {
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return bmstruckFeign.getTruckStatementList(mapValue, pageNum, pageSize, apiId, con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("getInvoiceList")
|
|
|
|
+ @ApiOperation(value = "展示发票")
|
|
|
|
+ public RESTfulResult getInvoiceList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
|
|
+ if (mapValue == null) {
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return bmstruckFeign.getInvoiceList(mapValue, pageNum, pageSize, apiId, con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("getSaleTruckStatementDetailsOrderList")
|
|
|
|
+ @ApiOperation(value = "展示账单下的详单")
|
|
|
|
+ public RESTfulResult getSaleTruckStatementDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer statementId,
|
|
|
|
+ String con) {
|
|
|
|
+ if (mapValue == null) {
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return bmstruckFeign.getSaleTruckStatementDetailsOrderList(mapValue, pageNum, pageSize, apiId, new BigDecimal(statementId), con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("getUnFinishedTruckDetailsOrderList")
|
|
|
|
+ @ApiOperation(value = "展示汽运未生成账单的详单信息")
|
|
|
|
+ public RESTfulResult getUnFinishedTruckDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer orderType,
|
|
|
|
+ String con) {
|
|
|
|
+ if (mapValue == null) {
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return bmstruckFeign.getUnFinishedTruckDetailsOrderList(mapValue, pageNum, pageSize, apiId, orderType, con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("addBmstruckInvoice")
|
|
|
|
+ @ApiOperation(value = "新增发票")
|
|
|
|
+ RESTfulResult addBmstruckInvoice(@RequestBody Map<String, Object> mapVal) {
|
|
|
|
+ return bmstruckFeign.addBmstruckInvoice(mapVal);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("updateBmstruckCheck")
|
|
|
|
+ @ApiOperation(value = "修改审核状态")
|
|
|
|
+ RESTfulResult updateBmstruckCheck(@RequestParam Integer statementId,
|
|
|
|
+ @RequestParam Integer status,
|
|
|
|
+ @RequestParam Integer person) {
|
|
|
|
+ return bmstruckFeign.updateBmstruckCheck(new BigDecimal(statementId), status, person);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("getSmallTruckFormula")
|
|
|
|
+ @ApiOperation(value = "查询销售汽运离100KM差距10KM内计费公式")
|
|
|
|
+ RESTfulResult getSmallTruckFormula() {
|
|
|
|
+ return bmstruckFeign.getSmallTruckFormula();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("getBigTruckFormula")
|
|
|
|
+ @ApiOperation(value = "查询销售汽运离100KM差距10KM外计费公式")
|
|
|
|
+ RESTfulResult getBigTruckFormula() {
|
|
|
|
+ return bmstruckFeign.getBigTruckFormula();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("addTruckStatement")
|
|
|
|
+ @ApiOperation(value = "新增汽运详单")
|
|
|
|
+ RESTfulResult addTruckStatement(@RequestBody List<Map<String, Object>> mapList) {
|
|
|
|
+ return bmstruckFeign.addTruckStatement(mapList);
|
|
|
|
+ }
|
|
|
|
+
|
|
@PostMapping("addTruckDetailsOrder/{orderId}")
|
|
@PostMapping("addTruckDetailsOrder/{orderId}")
|
|
@ApiOperation(value = "新增汽运详单")
|
|
@ApiOperation(value = "新增汽运详单")
|
|
RESTfulResult addTruckDetailsOrder(@PathVariable("orderId") BigDecimal orderId) {
|
|
RESTfulResult addTruckDetailsOrder(@PathVariable("orderId") BigDecimal orderId) {
|
|
return bmstruckFeign.addTruckDetailsOrder(orderId);
|
|
return bmstruckFeign.addTruckDetailsOrder(orderId);
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 展示汽运未生成账单的详单信息
|
|
* 展示汽运未生成账单的详单信息
|
|
|
|
+ *
|
|
* @param mapVal
|
|
* @param mapVal
|
|
* @param pageNum
|
|
* @param pageNum
|
|
* @param pageSize
|
|
* @param pageSize
|
|
@@ -401,10 +504,10 @@ public class BMSController extends BaseRESTfulController {
|
|
@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 = "apiId", value = "还没定", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "还没定", required = false, dataType = "BigDecimal"),
|
|
- @ApiImplicitParam(name = "orderType" ,value = "1:计时,2:计数,3:计重,4:包月",required = false,dataType = "Integer")
|
|
|
|
|
|
+ @ApiImplicitParam(name = "orderType", value = "1:计时,2:计数,3:计重,4:包月", required = false, dataType = "Integer")
|
|
})
|
|
})
|
|
@PostMapping("/getUnFinishedConvertedTruckDetailsOrderList")
|
|
@PostMapping("/getUnFinishedConvertedTruckDetailsOrderList")
|
|
- public RESTfulResult getUnFinishedConvertedTruckDetailsOrderList(@RequestBody(required = false) Map<String,Object> mapVal,
|
|
|
|
|
|
+ public RESTfulResult getUnFinishedConvertedTruckDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
@@ -422,6 +525,7 @@ public class BMSController extends BaseRESTfulController {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 生成内转汽运账单
|
|
* 生成内转汽运账单
|
|
|
|
+ *
|
|
* @param mapList
|
|
* @param mapList
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@@ -432,12 +536,13 @@ public class BMSController extends BaseRESTfulController {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- *删除汽运账单
|
|
|
|
|
|
+ * 删除汽运账单
|
|
*/
|
|
*/
|
|
@PostMapping("/deleteConvertedTruckStatement/{statementId}")
|
|
@PostMapping("/deleteConvertedTruckStatement/{statementId}")
|
|
public RESTfulResult deleteConvertedTruckStatement(@PathVariable("statementId") BigDecimal statementId) {
|
|
public RESTfulResult deleteConvertedTruckStatement(@PathVariable("statementId") BigDecimal statementId) {
|
|
return bmstruckFeign.delete(statementId);
|
|
return bmstruckFeign.delete(statementId);
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 审批计费账单
|
|
* 审批计费账单
|
|
*/
|
|
*/
|