|
@@ -11,7 +11,9 @@ import io.swagger.annotations.ApiModelProperty;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.models.auth.In;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.http.MediaType;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.HashMap;
|
|
@@ -105,6 +107,13 @@ public class BMSController extends BaseRESTfulController {
|
|
|
return bmsshipFeign.deletePortHandlingFee(feeId);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @PostMapping("deletePortHandlingFeeSecond/{feeId}")
|
|
|
+ @ApiOperation(value = "逻辑删除二程港口装卸费")
|
|
|
+ Map<String,Object> deletePortHandlingFeeSecond(@PathVariable("feeId") BigDecimal feeId) {
|
|
|
+ return bmsshipFeign.deletePortHandlingFeeSecond(feeId);
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("getUncomplateDetailsOrderList")
|
|
|
@ApiOperation(value = "展示未生成账单的详单信息")
|
|
|
public RESTfulResult getUncomplateDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
@@ -549,6 +558,19 @@ public class BMSController extends BaseRESTfulController {
|
|
|
return bmstruckFeign.update(statementId);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 审批计费账单
|
|
|
+ */
|
|
|
+ @PostMapping("/getBmsshipFee/{id}")
|
|
|
+ public Map<String,Object> updateConvertedTruckStatement(@PathVariable("id") Integer id) {
|
|
|
+ return bmsshipFeign.getBmsshipFee(id);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
@PostMapping("/updateDetailsOrder")
|
|
|
@ApiOperation(value = "修改详单")
|
|
|
public RESTfulResult updateDetailsOrder(@RequestBody Map<String, Object> mapValue) {
|
|
@@ -561,6 +583,35 @@ public class BMSController extends BaseRESTfulController {
|
|
|
return bmstruckFeign.addLossFeeOfCoke(map);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ @PostMapping("/addPortHandlingFeeSecond")
|
|
|
+ @ApiOperation(value = "新增二程船装卸费用")
|
|
|
+ public Map<String,Object> addPortHandlingFeeSecond(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return bmsshipFeign.addPortHandlingFeeSecond(map);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @PostMapping("/uploadBmsshipOrder")
|
|
|
+ @ApiOperation(value = "上传水运单图片")
|
|
|
+ public Map<String,Object> uploadBmsshipOrder(@RequestParam("file") MultipartFile multipartFile) throws Exception {
|
|
|
+ return bmsshipFeign.uploadBmsshipOrder(multipartFile);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ //获取水运单图片
|
|
|
+ @ApiOperation(value = "获取水运单图片")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ })
|
|
|
+ @PostMapping(value = "/downloadBmsshipOrder")
|
|
|
+ public Map<String, Object> downloadBmsshipOrder(@RequestParam Integer resultId) {
|
|
|
+ return bmsshipFeign.downloadBmsshipOrder(resultId);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 展示详单信息
|
|
|
*
|
|
@@ -629,6 +680,20 @@ public class BMSController extends BaseRESTfulController {
|
|
|
endTime);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/selectPortFeeSecondList")
|
|
|
+ public Map<String,Object> selectPortFeeSecondList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ String startTime,
|
|
|
+ String endTime,
|
|
|
+ Integer feeType){
|
|
|
+ if (mapVal == null) {
|
|
|
+ mapVal = new HashMap<>();
|
|
|
+ }
|
|
|
+ return bmsshipFeign.selectPortFeeSecondList(mapVal, pageNum, pageSize, apiId, startTime, feeType,endTime);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
|