|
|
@@ -0,0 +1,58 @@
|
|
|
+package com.ydtech.modules.fnc.controller;
|
|
|
+
|
|
|
+import com.ydtech.core.page.HttpResult;
|
|
|
+import com.ydtech.modules.fnc.service.ImportAsyncService;
|
|
|
+import com.ydtech.modules.fnc.service.InsPlyIncomeService;
|
|
|
+import com.ydtech.modules.fnc.vo.InsPlyIncomeVo;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PutMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@Api(tags = "非车保司费用")
|
|
|
+@RequestMapping("/fnc/noPlyFee")
|
|
|
+public class InsPlyNoIncomeController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private InsPlyIncomeService insPlyIncomeService;
|
|
|
+
|
|
|
+ @PutMapping("/noBatchInvoicing")
|
|
|
+ @ApiModelProperty(value = "非车保险手续费批量开票")
|
|
|
+ public HttpResult<Object> batchInvoicing(@RequestBody InsPlyIncomeVo insPlyIncomeVo) {
|
|
|
+ insPlyIncomeVo.setIsNotCar("1"); // 非车状态为1
|
|
|
+ return insPlyIncomeService.batchInvoicing(insPlyIncomeVo);
|
|
|
+ }
|
|
|
+
|
|
|
+ @PutMapping("/noBatchBxBalance")
|
|
|
+ @ApiModelProperty(value = "非车保险批量结算")
|
|
|
+ public HttpResult<Object> batchBxBalance(@RequestBody InsPlyIncomeVo insPlyIncomeVo) {
|
|
|
+ insPlyIncomeVo.setIsNotCar("1"); // 非车状态为1
|
|
|
+ return insPlyIncomeService.batchBxBalance(insPlyIncomeVo);
|
|
|
+ }
|
|
|
+ @PutMapping("/noBatchInvoic")
|
|
|
+ @ApiModelProperty(value = "非车开票跟单费")
|
|
|
+ public HttpResult<Object> batchInvoic(@RequestBody InsPlyIncomeVo insPlyIncomeVo) {
|
|
|
+ insPlyIncomeVo.setIsNotCar("1"); // 非车状态为1
|
|
|
+ return insPlyIncomeService.batchInvoic(insPlyIncomeVo);
|
|
|
+ }
|
|
|
+
|
|
|
+ @PutMapping("/noSingleInvoic")
|
|
|
+ @ApiModelProperty(value = "批量开票跟单费")
|
|
|
+ public HttpResult<Object> singleInvoic(@RequestBody InsPlyIncomeVo insPlyIncomeVo) {
|
|
|
+ insPlyIncomeVo.setIsNotCar("1"); // 非车状态为1
|
|
|
+ return insPlyIncomeService.singleInvoic(insPlyIncomeVo);
|
|
|
+ }
|
|
|
+
|
|
|
+ @PutMapping("/noBatchSumBalance")
|
|
|
+ @ApiModelProperty(value = "批次批量結算")
|
|
|
+ public HttpResult<Object> batchSumBalance(@RequestBody InsPlyIncomeVo insPlyIncomeVo) {
|
|
|
+ insPlyIncomeVo.setIsNotCar("1"); // 非车状态为1
|
|
|
+ return insPlyIncomeService.batchSumBalance(insPlyIncomeVo);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|