| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- package com.ydtech.modules.admin.controller;
- import com.ydtech.core.page.HttpResult;
- import com.ydtech.modules.fnc.dto.InsuranceHandlingSettlementMonthDto;
- import com.ydtech.modules.fnc.entity.InsPlyIncome;
- import com.ydtech.modules.fnc.entity.InsuranceHandlingSettlementMonthEntity;
- import com.ydtech.modules.fnc.service.InsuranceHandlingSettlementMonthService;
- import com.ydtech.modules.fnc.vo.InsPlyIncomeVo;
- import com.ydtech.modules.fnc.vo.InsuranceHandlingSettlementMonthVo;
- import io.swagger.annotations.Api;
- import io.swagger.annotations.ApiModelProperty;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import javax.validation.Valid;
- import java.util.List;
- /**
- * <p>
- * 保险手续费结算关联表
- * </p>
- *
- * @author whp
- * @since 2024-08-16
- */
- @RestController
- @Api(tags = "保险手续费结算")
- @RequestMapping("SettlementHandling")
- public class InsuranceHandlingSettlementMonthController {
- @Autowired
- private InsuranceHandlingSettlementMonthService insuranceHandlingSettlementMonthService;
- /**
- *
- * @param insuranceHandlingSettlementMonthVo 结算传参
- * @return 返回结算信息
- */
- @PostMapping("/queryList")
- @ApiModelProperty(value = "查询")
- public HttpResult<List<InsuranceHandlingSettlementMonthDto>> queryList(@RequestBody @Valid InsuranceHandlingSettlementMonthVo insuranceHandlingSettlementMonthVo) {
- List<InsuranceHandlingSettlementMonthDto> result = insuranceHandlingSettlementMonthService.queryList(insuranceHandlingSettlementMonthVo);
- return HttpResult.ok(result);
- }
- /**
- * 结算新增
- * @param insuranceHandlingSettlementMonthVo
- * @return
- */
- @PostMapping("/insert")
- @ApiModelProperty(value = "新增")
- public HttpResult<InsuranceHandlingSettlementMonthDto> insertByEntity(@RequestBody InsuranceHandlingSettlementMonthEntity insuranceHandlingSettlementMonthVo) {
- return insuranceHandlingSettlementMonthService.insertByEntity(insuranceHandlingSettlementMonthVo);
- }
- }
|