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; /** *

* 保险手续费结算关联表 *

* * @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> queryList(@RequestBody @Valid InsuranceHandlingSettlementMonthVo insuranceHandlingSettlementMonthVo) { List result = insuranceHandlingSettlementMonthService.queryList(insuranceHandlingSettlementMonthVo); return HttpResult.ok(result); } /** * 结算新增 * @param insuranceHandlingSettlementMonthVo * @return */ @PostMapping("/insert") @ApiModelProperty(value = "新增") public HttpResult insertByEntity(@RequestBody InsuranceHandlingSettlementMonthEntity insuranceHandlingSettlementMonthVo) { return insuranceHandlingSettlementMonthService.insertByEntity(insuranceHandlingSettlementMonthVo); } }