Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
4fa08d0c
Commit
4fa08d0c
authored
Jul 18, 2022
by
李灿灿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商险明细相关实体类
parent
8de69134
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
323 additions
and
0 deletions
+323
-0
constants.md
...yifu/cloud/plus/v1/yifu/insurances/constants/constants.md
+0
-0
TInsuranceDetail.java
...loud/plus/v1/yifu/insurances/entity/TInsuranceDetail.java
+191
-0
entity.md
...a/com/yifu/cloud/plus/v1/yifu/insurances/entity/entity.md
+0
-0
vo.md
...main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/vo.md
+0
-0
TInsuranceDetailController.java
...ifu/insurances/controller/TInsuranceDetailController.java
+26
-0
controller.md
...fu/cloud/plus/v1/yifu/insurances/controller/controller.md
+0
-0
TInsuranceDetailMapper.java
...lus/v1/yifu/insurances/mapper/TInsuranceDetailMapper.java
+15
-0
mapper.md
...a/com/yifu/cloud/plus/v1/yifu/insurances/mapper/mapper.md
+0
-0
TInsuranceDetailService.java
...s/v1/yifu/insurances/service/TInsuranceDetailService.java
+14
-0
TInsuranceDetailServiceImpl.java
.../insurances/service/impl/TInsuranceDetailServiceImpl.java
+17
-0
impl.md
...m/yifu/cloud/plus/v1/yifu/insurances/service/impl/impl.md
+0
-0
service.md
...com/yifu/cloud/plus/v1/yifu/insurances/service/service.md
+0
-0
TInsuranceDetailMapper.xml
...-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
+60
-0
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/constants/constants.md
deleted
100644 → 0
View file @
8de69134
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TInsuranceDetail.java
0 → 100644
View file @
4fa08d0c
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* @author licancan
* @description 商险明细表 t_insurance_detail
* @date 2022-07-18 16:20:16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@TableName
(
"t_insurance_detail"
)
@Tag
(
name
=
"商险明细表"
)
public
class
TInsuranceDetail
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 员工档案id
*/
private
String
empId
;
/**
* 员工姓名
*/
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证号
*/
private
String
empIdcardNo
;
/**
* 项目编码
*/
private
String
deptNo
;
/**
* 保险公司名称(冗余字段)
*/
private
String
insuranceCompanyName
;
/**
* 险种主键
*/
private
String
insuranceTypeId
;
/**
* 购买标准
*/
private
String
buyStandard
;
/**
* 保单编号
*/
private
String
policyNo
;
/**
* 保单开始时间
*/
private
Date
policyStart
;
/**
* 保单结束时间
*/
private
Date
policyEnd
;
/**
* 保单生效日期
*/
private
Date
policyEffect
;
/**
* 办理时间
*/
private
Date
batchDate
;
/**
* 结算月
*/
private
String
settleMonth
;
/**
* 发票号
*/
private
String
invoiceNo
;
/**
* 购买类型, 1新增、3批增、4替换
*/
private
Integer
buyType
;
/**
* 商险购买地省名称
*/
private
String
businessInsuranceProvName
;
/**
* 商险购买地市名称
*/
private
String
businessInsuranceCityName
;
/**
* 商险办理省名称
*/
private
String
businessInsuranceHandleProvName
;
/**
* 商险办理城市名称
*/
private
String
businessInsuranceHandleCityName
;
/**
* 结算类型 (1、单独结算 2、合并结算-和工资一起结算)
*/
private
String
settleType
;
/**
* 实际保费
*/
private
BigDecimal
actualPremium
;
/**
* 预估保费
*/
private
BigDecimal
estimatePremium
;
/**
* 差额(实缴-预估)
*/
private
BigDecimal
settleBalance
;
/**
* 投保办理状态 1待办理 2办理中 3已办理 4投保退回 5 已减员
*/
private
Integer
buyHandleStatus
;
/**
* 结算办理状态 1待结算 2结算中 3已结算
*/
private
Integer
settleHandleStatus
;
/**
* 减员状态 1待减员 2减员中3减员退回
*/
private
Integer
reduceHandleStatus
;
/**
* 是否出险 0未出险 1已出险
*/
private
Integer
isUse
;
/**
* 是否有效 0有效 1无效
*/
private
Integer
isEffect
;
/**
* 是否过期 0未过期 1已过期
*/
@Schema
(
description
=
"是否过期 0未过期 1已过期"
)
private
Integer
isOverdue
;
/**
* 是否删除 0未删除/1删除
*/
@Schema
(
description
=
"是否删除 0否/1是"
)
private
Integer
deleteFlag
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/entity.md
deleted
100644 → 0
View file @
8de69134
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/vo.md
deleted
100644 → 0
View file @
8de69134
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/TInsuranceDetailController.java
0 → 100644
View file @
4fa08d0c
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
controller
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceDetailService
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
/**
* @author licancan
* @description 针对表【t_insurance_detail(商险明细表)】的数据库操作controller
* @date 2022-07-18 16:38:48
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/insuranceDetail"
)
@Tag
(
name
=
"商险相关"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TInsuranceDetailController
{
@Resource
private
TInsuranceDetailService
tInsuranceDetailService
;
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/controller.md
deleted
100644 → 0
View file @
8de69134
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/TInsuranceDetailMapper.java
0 → 100644
View file @
4fa08d0c
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author licancan
* @description 针对表【t_insurance_detail(商险明细表)】的数据库操作Mapper
* @date 2022-07-18 16:20:16
*/
@Mapper
public
interface
TInsuranceDetailMapper
extends
BaseMapper
<
TInsuranceDetail
>
{
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/mapper.md
deleted
100644 → 0
View file @
8de69134
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/TInsuranceDetailService.java
0 → 100644
View file @
4fa08d0c
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail
;
/**
* @author licancan
* @description 针对表【t_insurance_detail(商险明细表)】的数据库操作Service
* @date 2022-07-18 16:20:16
*/
public
interface
TInsuranceDetailService
extends
IService
<
TInsuranceDetail
>
{
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceDetailServiceImpl.java
0 → 100644
View file @
4fa08d0c
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail
;
import
com.yifu.cloud.plus.v1.yifu.insurances.mapper.TInsuranceDetailMapper
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceDetailService
;
import
org.springframework.stereotype.Service
;
/**
* @author licancan
* @description 针对表【t_insurance_detail(商险明细表)】的数据库操作Service实现
* @date 2022-07-18 16:20:16
*/
@Service
public
class
TInsuranceDetailServiceImpl
extends
ServiceImpl
<
TInsuranceDetailMapper
,
TInsuranceDetail
>
implements
TInsuranceDetailService
{
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/impl.md
deleted
100644 → 0
View file @
8de69134
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/service.md
deleted
100644 → 0
View file @
8de69134
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
0 → 100644
View file @
4fa08d0c
<?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.yifu.cloud.plus.v1.yifu.insurances.mapper.TInsuranceDetailMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail"
>
<id
property=
"id"
column=
"ID"
jdbcType=
"VARCHAR"
/>
<result
property=
"empId"
column=
"EMP_ID"
jdbcType=
"VARCHAR"
/>
<result
property=
"empName"
column=
"EMP_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"empIdcardNo"
column=
"EMP_IDCARD_NO"
jdbcType=
"VARCHAR"
/>
<result
property=
"deptNo"
column=
"DEPT_NO"
jdbcType=
"VARCHAR"
/>
<result
property=
"insuranceCompanyName"
column=
"INSURANCE_COMPANY_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"insuranceTypeId"
column=
"INSURANCE_TYPE_ID"
jdbcType=
"VARCHAR"
/>
<result
property=
"buyStandard"
column=
"BUY_STANDARD"
jdbcType=
"VARCHAR"
/>
<result
property=
"policyNo"
column=
"POLICY_NO"
jdbcType=
"VARCHAR"
/>
<result
property=
"policyStart"
column=
"POLICY_START"
jdbcType=
"DATE"
/>
<result
property=
"policyEnd"
column=
"POLICY_END"
jdbcType=
"DATE"
/>
<result
property=
"policyEffect"
column=
"POLICY_EFFECT"
jdbcType=
"DATE"
/>
<result
property=
"batchDate"
column=
"BATCH_DATE"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"settleMonth"
column=
"SETTLE_MONTH"
jdbcType=
"VARCHAR"
/>
<result
property=
"invoiceNo"
column=
"INVOICE_NO"
jdbcType=
"VARCHAR"
/>
<result
property=
"buyType"
column=
"BUY_TYPE"
jdbcType=
"TINYINT"
/>
<result
property=
"businessInsuranceProvName"
column=
"BUSINESS_INSURANCE_PROV_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"businessInsuranceCityName"
column=
"BUSINESS_INSURANCE_CITY_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"businessInsuranceHandleProvName"
column=
"BUSINESS_INSURANCE_HANDLE_PROV_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"businessInsuranceHandleCityName"
column=
"BUSINESS_INSURANCE_HANDLE_CITY_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"settleType"
column=
"SETTLE_TYPE"
jdbcType=
"VARCHAR"
/>
<result
property=
"actualPremium"
column=
"ACTUAL_PREMIUM"
jdbcType=
"DECIMAL"
/>
<result
property=
"estimatePremium"
column=
"ESTIMATE_PREMIUM"
jdbcType=
"DECIMAL"
/>
<result
property=
"settleBalance"
column=
"SETTLE_BALANCE"
jdbcType=
"DECIMAL"
/>
<result
property=
"buyHandleStatus"
column=
"BUY_HANDLE_STATUS"
jdbcType=
"TINYINT"
/>
<result
property=
"settleHandleStatus"
column=
"SETTLE_HANDLE_STATUS"
jdbcType=
"TINYINT"
/>
<result
property=
"reduceHandleStatus"
column=
"REDUCE_HANDLE_STATUS"
jdbcType=
"TINYINT"
/>
<result
property=
"isUse"
column=
"IS_USE"
jdbcType=
"TINYINT"
/>
<result
property=
"isEffect"
column=
"IS_EFFECT"
jdbcType=
"TINYINT"
/>
<result
property=
"isOverdue"
column=
"IS_OVERDUE"
jdbcType=
"TINYINT"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
jdbcType=
"VARCHAR"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
jdbcType=
"VARCHAR"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
jdbcType=
"TINYINT"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
ID,EMP_ID,EMP_NAME,
EMP_IDCARD_NO,DEPT_NO,INSURANCE_COMPANY_NAME,
INSURANCE_TYPE_ID,BUY_STANDARD,POLICY_NO,
POLICY_START,POLICY_END,POLICY_EFFECT,
BATCH_DATE,SETTLE_MONTH,INVOICE_NO,
BUY_TYPE,BUSINESS_INSURANCE_PROV_NAME,BUSINESS_INSURANCE_CITY_NAME,
BUSINESS_INSURANCE_HANDLE_PROV_NAME,BUSINESS_INSURANCE_HANDLE_CITY_NAME,SETTLE_TYPE,
ACTUAL_PREMIUM,ESTIMATE_PREMIUM,SETTLE_BALANCE,
BUY_HANDLE_STATUS,SETTLE_HANDLE_STATUS,REDUCE_HANDLE_STATUS,
IS_USE,IS_EFFECT,IS_OVERDUE,
CREATE_BY,CREATE_NAME,CREATE_TIME,
UPDATE_BY,UPDATE_TIME,DELETE_FLAG
</sql>
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment