|
|
@@ -12,7 +12,6 @@ import com.ydtech.core.page.HttpResult;
|
|
|
import com.ydtech.core.page.PageRequest;
|
|
|
import com.ydtech.core.page.PageResult;
|
|
|
import com.ydtech.exception.SystemException;
|
|
|
-import com.ydtech.modules.admin.model.SysDept;
|
|
|
import com.ydtech.modules.base.controller.BaseController;
|
|
|
import com.ydtech.modules.esm.model.EsmInsCompany;
|
|
|
import com.ydtech.modules.esm.model.vo.req.EsmInsCompanyReq;
|
|
|
@@ -21,7 +20,6 @@ import com.ydtech.modules.esm.service.EsmInsCompanyService;
|
|
|
import com.ydtech.modules.protocol.entity.po.PtlAgreement;
|
|
|
import com.ydtech.modules.protocol.entity.vo.PtlAgreementPageVo;
|
|
|
import com.ydtech.modules.protocol.service.PtlAgreementService;
|
|
|
-import com.ydtech.modules.protocol.service.impl.PtlAgreementServiceImpl;
|
|
|
import com.ydtech.modules.protocol.utils.AssertionUtils;
|
|
|
import com.ydtech.utils.StringUtils;
|
|
|
import io.swagger.annotations.Api;
|
|
|
@@ -289,4 +287,17 @@ public class EsmInsCompanyController extends BaseController {
|
|
|
List<EsmInsCompanyResVo> esmInsCompanyList = esmInsCompanyService.findOrderCompanyList();
|
|
|
return HttpResult.ok(esmInsCompanyList);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2024/12/12 14:29
|
|
|
+ * @Description: 获取外部协议的保险公司的集合
|
|
|
+ */
|
|
|
+ @PostMapping("/getExternalAgreementCompanyList")
|
|
|
+ @ApiOperation("获取外部协议的保险公司的集合")
|
|
|
+ public HttpResult<List<EsmInsCompanyResVo>> getExternalAgreementCompanyList(@RequestSingleParam("name") String name) {
|
|
|
+ List<EsmInsCompanyResVo> lst = esmInsCompanyService.getExternalAgreementCompanyList(name);
|
|
|
+ return HttpResult.ok(lst);
|
|
|
+ }
|
|
|
}
|