Commit 5a51d5d7 authored by hongguangwu's avatar hongguangwu

MVP1.7.14-商险相关

parent 386fd60f
......@@ -19,6 +19,8 @@ package com.yifu.cloud.plus.v1.yifu.insurances.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.insurances.entity.TEmployeeInsurancePreQwDetail;
import com.yifu.cloud.plus.v1.yifu.insurances.service.insurance.TEmployeeInsurancePreQwDetailService;
......@@ -54,6 +56,12 @@ public class TEmployeeInsurancePreQwDetailController {
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TEmployeeInsurancePreQwDetail>> getTEmployeeInsurancePreQwDetailPage(Page<TEmployeeInsurancePreQwDetail> page, TEmployeeInsurancePreQwDetail tEmployeeInsurancePreQwDetail) {
if (tEmployeeInsurancePreQwDetail == null) {
tEmployeeInsurancePreQwDetail = new TEmployeeInsurancePreQwDetail();
}
if (Common.isEmpty(tEmployeeInsurancePreQwDetail.getMainId())) {
tEmployeeInsurancePreQwDetail.setMainId(CommonConstants.ZERO_STRING);
}
return new R<>(tEmployeeInsurancePreQwDetailService.getTEmployeeInsurancePreQwDetailPage(page, tEmployeeInsurancePreQwDetail));
}
......
......@@ -36,6 +36,13 @@ ekp:
LoginName: 'admin'
docSubject : '接口发起流程'
# spring security 配置
security:
oauth2:
ignore: # 通用放行URL,服务个性化,请在对应配置文件覆盖
urls:
- /temployeeinsurancepreqwdetail/page
wx:
corpid: wwbcb090af0dfe50e5
corpsecret: 16kqEL_eU-ARwYyqLgEBWHgxm8gXVnkzv_eJMLy9NpU
......
......@@ -36,6 +36,13 @@ ekp:
LoginName: 'admin'
docSubject : '接口发起流程'
# spring security 配置
security:
oauth2:
ignore: # 通用放行URL,服务个性化,请在对应配置文件覆盖
urls:
- /temployeeinsurancepreqwdetail/page
wx:
corpid: wwbcb090af0dfe50e5
corpsecret: 16kqEL_eU-ARwYyqLgEBWHgxm8gXVnkzv_eJMLy9NpU
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment