Commit ca3c7262 by zhangxingmin

Initial commit

parents
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/../../../../../../:\soft\ideaproject\v2\yd-insurance-base\.idea/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile default="true" name="Default" enabled="true" />
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="yd-insurance-base-api" />
<module name="yd-insurance-base-feign" />
<module name="yd-insurance-base-service" />
</profile>
</annotationProcessing>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/yd-insurance-base-api/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/yd-insurance-base-api/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/yd-insurance-base-feign/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/yd-insurance-base-feign/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/yd-insurance-base-service/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/yd-insurance-base-service/src/main/resources" charset="UTF-8" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="yd-releases" />
<option name="name" value="yd-releases" />
<option name="url" value="http://139.224.145.34:8081/repository/yd-maven-public/" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="http://139.224.145.34:8081/repository/yd-maven-public/" />
</remote-repository>
<remote-repository>
<option name="id" value="yd-snapshots" />
<option name="name" value="yd-snapshots" />
<option name="url" value="http://139.224.145.34:8081/repository/yd-maven-public/" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.yd</groupId>
<artifactId>yd-parent-pom</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<groupId>com.yd</groupId>
<artifactId>yd-insurance-base</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<description>保险基础数据服务</description>
<modules>
<module>yd-insurance-base-api</module>
<module>yd-insurance-base-feign</module>
<module>yd-insurance-base-service</module>
</modules>
<dependencyManagement>
<dependencies>
<!-- 实体类模块 -->
<dependency>
<groupId>com.yd</groupId>
<artifactId>yd-insurance-base-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.yd</groupId>
<artifactId>yd-insurance-base-feign</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 部署到Nexus -->
<distributionManagement>
<repository>
<id>yd-releases</id>
<url>http://139.224.145.34:8081/repository/yd-project-releases/</url>
</repository>
<snapshotRepository>
<id>yd-snapshots</id>
<url>http://139.224.145.34:8081/repository/yd-project-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<!-- 配置Nexus快照仓库,用于拉取快照版本依赖 -->
<repository>
<id>yd-snapshots</id>
<url>http://139.224.145.34:8081/repository/yd-project-snapshots/</url>
<snapshots>
<enabled>true</enabled> <!-- 允许拉取快照版本 -->
</snapshots>
<releases>
<enabled>false</enabled> <!-- 不启用正式版仓库(按需调整) -->
</releases>
</repository>
</repositories>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>yd-insurance-base</artifactId>
<groupId>com.yd</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>yd-insurance-base-api</artifactId>
<dependencies>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<!-- SpringCloud Alibaba Nacos Config -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!-- swagger2-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
</dependency>
<!--对于bootstrap.properties/bootstrap.yaml配置文件(我们合起来成为Bootstrap配置文件)的支持,需要导入如下的依赖 -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>
<!-- Jackson 数据绑定库 -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<!-- Jackson 注解支持 -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<!-- Java 8 时间类型支持 -->
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
</dependency>
<!-- 实体类模块 -->
<dependency>
<groupId>com.yd</groupId>
<artifactId>yd-insurance-base-service</artifactId>
</dependency>
</dependencies>
</project>
package com.yd.insurance.base.api;
import com.yd.common.constant.ServerNameConstants;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.openfeign.EnableFeignClients;
@SpringBootApplication(scanBasePackages = "com.yd")
@MapperScan("com.yd.**.dao")
@EnableFeignClients(basePackages = "com.yd")
public class BaseApiApplication {
public static void main(String[] args) {
new SpringApplicationBuilder(BaseApiApplication.class)
.properties("spring.application.name="+ ServerNameConstants.ydInsuranceBaseApi)
.build().run(args);
System.out.println("(♥◠‿◠)ノ゙ yd-user-api启动成功 ლ(´ڡ`ლ)゙ ");
}
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 组织架构-保险公司扩展表 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/insuranceCompanyExpand")
public class InsuranceCompanyExpandController {
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 组织架构-中介公司扩展表 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/insuranceIntermediaryExpand")
public class InsuranceIntermediaryExpandController {
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 保险产品基础表 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/insuranceProduct")
public class InsuranceProductController {
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 保险产品计划表 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/insuranceProductPlan")
public class InsuranceProductPlanController {
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 组织架构-用户关系表(多对多关系) 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/relInsuranceProductCompany")
public class RelInsuranceProductCompanyController {
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 保险产品-保险产品计划关联表(支撑多产品组合计划) 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/relInsuranceProductPlan")
public class RelInsuranceProductPlanController {
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 项目-保险产品关系表 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/relProjectInsuranceProduct")
public class RelProjectInsuranceProductController {
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 租户-保险产品关系表 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/relTenantInsuranceProduct")
public class RelTenantInsuranceProductController {
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 系统用户-销售用户扩展表 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/userSaleExpand")
public class UserSaleExpandController {
}
package com.yd.insurance.base.api.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 系统用户-签单用户扩展表 前端控制器
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@RestController
@RequestMapping("/userSignExpand")
public class UserSignExpandController {
}
${AnsiColor.GREEN}
_ _ _ __ __ ____ _ _ _ _
| | (_)_ __ | | _\ \ / /__ / ___| |__ __ _| |_ / \ _ __ (_)
| | | | '_ \| |/ /\ \ /\ / / _ \ | | '_ \ / _` | __| / _ \ | '_ \| |
| |___| | | | | < \ V V / __/ |___| | | | (_| | |_ / ___ \| |_) | |
|_____|_|_| |_|_|\_\ \_/\_/ \___|\____|_| |_|\__,_|\__/_/ \_\ .__/|_|
|_|
${AnsiColor.BRIGHT_WHITE}
Spring Boot Version: ${spring-boot.version}
\ No newline at end of file
spring:
profiles:
active: test
# active: '@spring.profiles.active@'
---
spring:
profiles: dev
main:
allow-bean-definition-overriding: true
allow-circular-references: true
cloud:
nacos:
# 配置中心
config:
# 命名空间id(此处不用public,因public初始化的空间, id为空) 4e237601-cea8-414d-b7b9-d7adc8cbcf95
namespace: 22f9d61e-9011-4d45-88cb-24f9857e3eec
# nacos的ip地址和端口 120.79.64.17:10848
server-addr: 127.0.0.1:8848
# 这个就表示 在我们nacos命名空间id为 dev中 有一个data-id 为 demo-service.yml 的配置文件 读取这个里面的配置
file-extension: yml
config-retry-time: 300000
# 共享配置, 可以把公共配置放在同个命名空间下,然后创建一个 common.yml 文件 ,里面可以放共用的配置
shared-configs[0]:
dataId: linkwe-common.yml
refresh: true
# 发布到注册中心 (如果没有使用可以不配)
discovery:
# 命名空间id(此处不用public,因public初始化的空间, id为空)
namespace: ${spring.cloud.nacos.config.namespace}
# nacos的ip地址和端口
server-addr: ${spring.cloud.nacos.config.server-addr}
---
spring:
profiles: test
main:
allow-bean-definition-overriding: true
allow-circular-references: true
cloud:
nacos:
# 配置中心
config:
# 命名空间id(此处不用public,因public初始化的空间, id为空)
namespace: c1e4cbcf-d8b7-4da9-a75a-7b75890fc390
# nacos的ip地址和端口
server-addr: 139.224.145.34:8848
# 这个就表示 在我们nacos命名空间id为 dev中 有一个data-id 为 demo-service.yml 的配置文件 读取这个里面的配置
file-extension: yml
config-retry-time: 300000
# 共享配置, 可以把公共配置放在同个命名空间下,然后创建一个 common.yml 文件 ,里面可以放共用的配置
shared-configs[0]:
dataId: yd-common.yml
group: YD_GROUP
refresh: true
extension-configs: # 扩展配置
- data-id: yd-insurance-base-api.yml
group: YD_GROUP
refresh: true
# 发布到注册中心 (如果没有使用可以不配)
discovery:
# 命名空间id(此处不用public,因public初始化的空间, id为空)
namespace: ${spring.cloud.nacos.config.namespace}
# nacos的ip地址和端口
server-addr: ${spring.cloud.nacos.config.server-addr}
group: YD_GROUP
---
spring:
profiles: prod
main:
allow-bean-definition-overriding: true
allow-circular-references: true
cloud:
nacos:
# 配置中心
config:
# 命名空间id(此处不用public,因public初始化的空间, id为空)
namespace: ewscrm
# nacos的ip地址和端口
server-addr: 127.0.0.1:8848
# 这个就表示 在我们nacos命名空间id为 dev中 有一个data-id 为 demo-service.yml 的配置文件 读取这个里面的配置
file-extension: yml
config-retry-time: 300000
# 共享配置, 可以把公共配置放在同个命名空间下,然后创建一个 common.yml 文件 ,里面可以放共用的配置
shared-configs[0]:
dataId: yd-common.yml
refresh: true
group: YD_GROUP
# 发布到注册中心 (如果没有使用可以不配)
discovery:
# 命名空间id(此处不用public,因public初始化的空间, id为空)
namespace: ${spring.cloud.nacos.config.namespace}
# nacos的ip地址和端口
server-addr: ${spring.cloud.nacos.config.server-addr}
#3.2.1\u4EE5\u4E0A\u4F7F\u7528
modulelist=com.baomidou.mybatisplus.extension.p6spy.MybatisPlusLogFactory,com.p6spy.engine.outage.P6OutageFactory
#3.2.1\u4EE5\u4E0B\u4F7F\u7528\u6216\u8005\u4E0D\u914D\u7F6E
#modulelist=com.p6spy.engine.logging.P6LogFactory,com.p6spy.engine.outage.P6OutageFactory
# \u81EA\u5B9A\u4E49\u65E5\u5FD7\u6253\u5370
logMessageFormat=com.baomidou.mybatisplus.extension.p6spy.P6SpyLogger
#\u65E5\u5FD7\u8F93\u51FA\u5230\u63A7\u5236\u53F0
appender=com.baomidou.mybatisplus.extension.p6spy.StdoutLogger
# \u4F7F\u7528\u65E5\u5FD7\u7CFB\u7EDF\u8BB0\u5F55 sql
#appender=com.p6spy.engine.spy.appender.Slf4JLogger
# \u8BBE\u7F6E p6spy driver \u4EE3\u7406
deregisterdrivers=true
# \u53D6\u6D88JDBC URL\u524D\u7F00
useprefix=true
# \u914D\u7F6E\u8BB0\u5F55 Log \u4F8B\u5916,\u53EF\u53BB\u6389\u7684\u7ED3\u679C\u96C6\u6709error,info,batch,debug,statement,commit,rollback,result,resultset.
excludecategories=info,debug,result,commit,resultset
# \u65E5\u671F\u683C\u5F0F
dateformat=yyyy-MM-dd HH:mm:ss
# \u5B9E\u9645\u9A71\u52A8\u53EF\u591A\u4E2A
#driverlist=org.h2.Driver
# \u662F\u5426\u5F00\u542F\u6162SQL\u8BB0\u5F55
outagedetection=true
# \u6162SQL\u8BB0\u5F55\u6807\u51C6 2 \u79D2
outagedetectioninterval=2
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4" />
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>yd-insurance-base</artifactId>
<groupId>com.yd</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>yd-insurance-base-feign</artifactId>
<dependencies>
<dependency>
<groupId>com.yd</groupId>
<artifactId>yd-feign</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.yd</groupId>
<artifactId>yd-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
</dependencies>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>yd-insurance-base</artifactId>
<groupId>com.yd</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>yd-insurance-base-service</artifactId>
<dependencies>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
</dependency>
<!-- MyBatis Plus 扩展功能 -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-extension</artifactId>
</dependency>
<!-- 阿里数据库连接池 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>p6spy</groupId>
<artifactId>p6spy</artifactId>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
</dependency>
<dependency>
<groupId>com.yd</groupId>
<artifactId>yd-insurance-base-feign</artifactId>
</dependency>
<!-- 认证模块 -->
<dependency>
<groupId>com.yd</groupId>
<artifactId>yd-auth-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.InsuranceCompanyExpand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 组织架构-保险公司扩展表 Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface InsuranceCompanyExpandMapper extends BaseMapper<InsuranceCompanyExpand> {
}
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.InsuranceIntermediaryExpand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 组织架构-中介公司扩展表 Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface InsuranceIntermediaryExpandMapper extends BaseMapper<InsuranceIntermediaryExpand> {
}
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.InsuranceProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 保险产品基础表 Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface InsuranceProductMapper extends BaseMapper<InsuranceProduct> {
}
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.InsuranceProductPlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 保险产品计划表 Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface InsuranceProductPlanMapper extends BaseMapper<InsuranceProductPlan> {
}
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.RelInsuranceProductCompany;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 组织架构-用户关系表(多对多关系) Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface RelInsuranceProductCompanyMapper extends BaseMapper<RelInsuranceProductCompany> {
}
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.RelInsuranceProductPlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 保险产品-保险产品计划关联表(支撑多产品组合计划) Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface RelInsuranceProductPlanMapper extends BaseMapper<RelInsuranceProductPlan> {
}
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.RelProjectInsuranceProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 项目-保险产品关系表 Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface RelProjectInsuranceProductMapper extends BaseMapper<RelProjectInsuranceProduct> {
}
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.RelTenantInsuranceProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 租户-保险产品关系表 Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface RelTenantInsuranceProductMapper extends BaseMapper<RelTenantInsuranceProduct> {
}
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.UserSaleExpand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 系统用户-销售用户扩展表 Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface UserSaleExpandMapper extends BaseMapper<UserSaleExpand> {
}
package com.yd.insurance.base.service.dao;
import com.yd.insurance.base.service.model.UserSignExpand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 系统用户-签单用户扩展表 Mapper 接口
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface UserSignExpandMapper extends BaseMapper<UserSignExpand> {
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 组织架构-保险公司扩展表
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("insurance_company_expand")
public class InsuranceCompanyExpand implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 保险公司唯一业务ID
*/
@TableField("company_biz_id")
private String companyBizId;
/**
* 组织唯一标识(业务ID)
*/
@TableField("dept_biz_id")
private String deptBizId;
/**
* 保险公司名称
*/
@TableField("company_name")
private String companyName;
/**
* 保险公司编码
*/
@TableField("company_code")
private String companyCode;
/**
* 所属地区
*/
@TableField("region")
private String region;
/**
* 官方联系电话
*/
@TableField("contact_phone")
private String contactPhone;
/**
* 官方邮箱
*/
@TableField("contact_email")
private String contactEmail;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 组织架构-中介公司扩展表
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("insurance_intermediary_expand")
public class InsuranceIntermediaryExpand implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 中介公司唯一业务ID
*/
@TableField("intermediary_biz_id")
private String intermediaryBizId;
/**
* 组织唯一标识(业务ID)
*/
@TableField("dept_biz_id")
private String deptBizId;
/**
* 中介公司名称
*/
@TableField("intermediary_name")
private String intermediaryName;
/**
* 中介公司编码
*/
@TableField("intermediary_code")
private String intermediaryCode;
/**
* 所属地区
*/
@TableField("region")
private String region;
/**
* 官方联系电话
*/
@TableField("contact_phone")
private String contactPhone;
/**
* 官方邮箱
*/
@TableField("contact_email")
private String contactEmail;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 保险产品基础表
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("insurance_product")
public class InsuranceProduct implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 保险产品唯一业务ID
*/
@TableField("product_biz_id")
private String productBizId;
/**
* 保险产品名称
*/
@TableField("product_name")
private String productName;
/**
* 保险产品类型
*/
@TableField("product_type")
private String productType;
/**
* 支持货币
*/
@TableField("currency")
private String currency;
/**
* 供款年期
*/
@TableField("payment_term")
private String paymentTerm;
/**
* 受保年龄范围
*/
@TableField("insured_age_range")
private String insuredAgeRange;
/**
* 是否区分吸烟:0=不区分,1=区分
*/
@TableField("smoking_allowed")
private Byte smokingAllowed;
/**
* 保障内容
*/
@TableField("coverage_content")
private String coverageContent;
/**
* 基础费率
*/
@TableField("premium_rate")
private BigDecimal premiumRate;
/**
* 保险产品状态:0=下架,1=在售
*/
@TableField("product_status")
private Byte productStatus;
/**
* 作用域(1:系统级(全局) 2:租户级 3:项目级)
*/
@TableField("scope")
private Byte scope;
/**
* 所属租户ID(业务id)
*/
@TableField("tenant_biz_id")
private String tenantBizId;
/**
* 所属项目ID(业务id)
*/
@TableField("project_biz_id")
private String projectBizId;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 保险产品计划表
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("insurance_product_plan")
public class InsuranceProductPlan implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 保险产品计划唯一业务ID
*/
@TableField("plan_biz_id")
private String planBizId;
/**
* 保险产品计划名称
*/
@TableField("plan_name")
private String planName;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 组织架构-用户关系表(多对多关系)
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("rel_insurance_product_company")
public class RelInsuranceProductCompany implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 租户ID(业务id)(冗余字段,目的当前关系是发生在哪个作用域下:租户级)
*/
@TableField("tenant_biz_id")
private String tenantBizId;
/**
* 项目ID(业务id)(冗余字段,目的当前关系是发生在哪个作用域下:项目级)
*/
@TableField("project_biz_id")
private String projectBizId;
/**
* 组织架构唯一业务ID
*/
@TableField("dept_biz_id")
private String deptBizId;
/**
* 用户唯一业务ID
*/
@TableField("user_biz_id")
private String userBizId;
/**
* 状态(0:禁用 1:启用)
*/
@TableField("status")
private Byte status;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 保险产品-保险产品计划关联表(支撑多产品组合计划)
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("rel_insurance_product_plan")
public class RelInsuranceProductPlan implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 保险产品业务ID
*/
@TableField("product_biz_id")
private String productBizId;
/**
* 保险产品计划业务ID
*/
@TableField("plan_biz_id")
private String planBizId;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 项目-保险产品关系表
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("rel_project_insurance_product")
public class RelProjectInsuranceProduct implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 项目ID(业务id)
*/
@TableField("project_biz_id")
private String projectBizId;
/**
* 保险产品唯一业务ID
*/
@TableField("product_biz_id")
private String productBizId;
/**
* 状态(0:禁用 1:启用)
*/
@TableField("status")
private Byte status;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 租户-保险产品关系表
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("rel_tenant_insurance_product")
public class RelTenantInsuranceProduct implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 租户ID(业务id)
*/
@TableField("tenant_biz_id")
private String tenantBizId;
/**
* 保险产品唯一业务ID
*/
@TableField("product_biz_id")
private String productBizId;
/**
* 状态(0:禁用 1:启用)
*/
@TableField("status")
private Byte status;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 系统用户-销售用户扩展表
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("user_sale_expand")
public class UserSaleExpand implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 销售用户扩展唯一业务ID
*/
@TableField("user_sale_biz_id")
private String userSaleBizId;
/**
* 系统用户唯一标识(业务ID)
*/
@TableField("user_biz_id")
private String userBizId;
/**
* 销售用户真实姓名
*/
@TableField("real_name")
private String realName;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 系统用户-签单用户扩展表
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Getter
@Setter
@TableName("user_sign_expand")
public class UserSignExpand implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 签单用户扩展唯一业务ID
*/
@TableField("user_sign_biz_id")
private String userSignBizId;
/**
* 系统用户唯一标识(业务ID)
*/
@TableField("user_biz_id")
private String userBizId;
/**
* 签单用户真实姓名
*/
@TableField("real_name")
private String realName;
/**
* 通用备注
*/
@TableField("remark")
private String remark;
/**
* 删除标识: 0-正常, 1-删除
*/
@TableField("is_deleted")
private Boolean isDeleted;
/**
* 创建人ID
*/
@TableField("creator_id")
private String creatorId;
/**
* 更新人ID
*/
@TableField("updater_id")
private String updaterId;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.InsuranceCompanyExpand;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 组织架构-保险公司扩展表 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IInsuranceCompanyExpandService extends IService<InsuranceCompanyExpand> {
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.InsuranceIntermediaryExpand;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 组织架构-中介公司扩展表 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IInsuranceIntermediaryExpandService extends IService<InsuranceIntermediaryExpand> {
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.InsuranceProductPlan;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 保险产品计划表 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IInsuranceProductPlanService extends IService<InsuranceProductPlan> {
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.InsuranceProduct;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 保险产品基础表 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IInsuranceProductService extends IService<InsuranceProduct> {
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.RelInsuranceProductCompany;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 组织架构-用户关系表(多对多关系) 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IRelInsuranceProductCompanyService extends IService<RelInsuranceProductCompany> {
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.RelInsuranceProductPlan;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 保险产品-保险产品计划关联表(支撑多产品组合计划) 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IRelInsuranceProductPlanService extends IService<RelInsuranceProductPlan> {
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.RelProjectInsuranceProduct;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 项目-保险产品关系表 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IRelProjectInsuranceProductService extends IService<RelProjectInsuranceProduct> {
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.RelTenantInsuranceProduct;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 租户-保险产品关系表 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IRelTenantInsuranceProductService extends IService<RelTenantInsuranceProduct> {
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.UserSaleExpand;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 系统用户-销售用户扩展表 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IUserSaleExpandService extends IService<UserSaleExpand> {
}
package com.yd.insurance.base.service.service;
import com.yd.insurance.base.service.model.UserSignExpand;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 系统用户-签单用户扩展表 服务类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
public interface IUserSignExpandService extends IService<UserSignExpand> {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.InsuranceCompanyExpand;
import com.yd.insurance.base.service.dao.InsuranceCompanyExpandMapper;
import com.yd.insurance.base.service.service.IInsuranceCompanyExpandService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 组织架构-保险公司扩展表 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class InsuranceCompanyExpandServiceImpl extends ServiceImpl<InsuranceCompanyExpandMapper, InsuranceCompanyExpand> implements IInsuranceCompanyExpandService {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.InsuranceIntermediaryExpand;
import com.yd.insurance.base.service.dao.InsuranceIntermediaryExpandMapper;
import com.yd.insurance.base.service.service.IInsuranceIntermediaryExpandService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 组织架构-中介公司扩展表 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class InsuranceIntermediaryExpandServiceImpl extends ServiceImpl<InsuranceIntermediaryExpandMapper, InsuranceIntermediaryExpand> implements IInsuranceIntermediaryExpandService {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.InsuranceProductPlan;
import com.yd.insurance.base.service.dao.InsuranceProductPlanMapper;
import com.yd.insurance.base.service.service.IInsuranceProductPlanService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 保险产品计划表 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class InsuranceProductPlanServiceImpl extends ServiceImpl<InsuranceProductPlanMapper, InsuranceProductPlan> implements IInsuranceProductPlanService {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.InsuranceProduct;
import com.yd.insurance.base.service.dao.InsuranceProductMapper;
import com.yd.insurance.base.service.service.IInsuranceProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 保险产品基础表 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class InsuranceProductServiceImpl extends ServiceImpl<InsuranceProductMapper, InsuranceProduct> implements IInsuranceProductService {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.RelInsuranceProductCompany;
import com.yd.insurance.base.service.dao.RelInsuranceProductCompanyMapper;
import com.yd.insurance.base.service.service.IRelInsuranceProductCompanyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 组织架构-用户关系表(多对多关系) 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class RelInsuranceProductCompanyServiceImpl extends ServiceImpl<RelInsuranceProductCompanyMapper, RelInsuranceProductCompany> implements IRelInsuranceProductCompanyService {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.RelInsuranceProductPlan;
import com.yd.insurance.base.service.dao.RelInsuranceProductPlanMapper;
import com.yd.insurance.base.service.service.IRelInsuranceProductPlanService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 保险产品-保险产品计划关联表(支撑多产品组合计划) 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class RelInsuranceProductPlanServiceImpl extends ServiceImpl<RelInsuranceProductPlanMapper, RelInsuranceProductPlan> implements IRelInsuranceProductPlanService {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.RelProjectInsuranceProduct;
import com.yd.insurance.base.service.dao.RelProjectInsuranceProductMapper;
import com.yd.insurance.base.service.service.IRelProjectInsuranceProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 项目-保险产品关系表 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class RelProjectInsuranceProductServiceImpl extends ServiceImpl<RelProjectInsuranceProductMapper, RelProjectInsuranceProduct> implements IRelProjectInsuranceProductService {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.RelTenantInsuranceProduct;
import com.yd.insurance.base.service.dao.RelTenantInsuranceProductMapper;
import com.yd.insurance.base.service.service.IRelTenantInsuranceProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 租户-保险产品关系表 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class RelTenantInsuranceProductServiceImpl extends ServiceImpl<RelTenantInsuranceProductMapper, RelTenantInsuranceProduct> implements IRelTenantInsuranceProductService {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.UserSaleExpand;
import com.yd.insurance.base.service.dao.UserSaleExpandMapper;
import com.yd.insurance.base.service.service.IUserSaleExpandService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 系统用户-销售用户扩展表 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class UserSaleExpandServiceImpl extends ServiceImpl<UserSaleExpandMapper, UserSaleExpand> implements IUserSaleExpandService {
}
package com.yd.insurance.base.service.service.impl;
import com.yd.insurance.base.service.model.UserSignExpand;
import com.yd.insurance.base.service.dao.UserSignExpandMapper;
import com.yd.insurance.base.service.service.IUserSignExpandService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 系统用户-签单用户扩展表 服务实现类
* </p>
*
* @author zxm
* @since 2025-08-25
*/
@Service
public class UserSignExpandServiceImpl extends ServiceImpl<UserSignExpandMapper, UserSignExpand> implements IUserSignExpandService {
}
package com.yd.insurance.base.service.utils;
import com.baomidou.mybatisplus.generator.FastAutoGenerator;
import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;
public class MyBatisPlusCodeGenerator {
public static void main(String[] args) {
FastAutoGenerator.create("jdbc:mysql://localhost:3306/yd?serverTimezone=GMT%2B8", "root", "123456")
.globalConfig(builder -> {
builder.author("zxm")
// .outputDir("src/main/java/com/yd/user/service");
.outputDir("D:/soft/ideaproject/v2/yd-insurance-base/yd-insurance-base-service/src/main/java");
})
.packageConfig(builder -> {
builder.parent("com.yd.insurance.base.service")
.entity("model")
.mapper("dao")
.service("service")
.serviceImpl("service.impl")
.xml("mappers");
})
.strategyConfig(builder -> {
builder.addInclude(
"user_sale_expand", "user_sign_expand", "insurance_company_expand",
"insurance_intermediary_expand", "insurance_product", "insurance_product_plan",
"rel_insurance_product_plan", "rel_tenant_insurance_product", "rel_project_insurance_product",
"rel_insurance_product_company"
)
.entityBuilder()
.enableLombok()
.enableTableFieldAnnotation()
.controllerBuilder()
.enableRestStyle();
})
.templateEngine(new FreemarkerTemplateEngine())
.execute();
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.InsuranceCompanyExpandMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.InsuranceIntermediaryExpandMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.InsuranceProductMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.InsuranceProductPlanMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.RelInsuranceProductCompanyMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.RelInsuranceProductPlanMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.RelProjectInsuranceProductMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.RelTenantInsuranceProductMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.UserSaleExpandMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yd.insurance.base.service.dao.UserSignExpandMapper">
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4" />
\ No newline at end of file
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