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
4b30bb4b
Commit
4b30bb4b
authored
Jul 18, 2022
by
李灿灿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商险明细实体类
parent
7ca1d358
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
154 additions
and
22 deletions
+154
-22
InsurancesConstants.java
...lus/v1/yifu/insurances/constants/InsurancesConstants.java
+9
-0
TInsuranceDetail.java
...loud/plus/v1/yifu/insurances/entity/TInsuranceDetail.java
+25
-14
InsuranceAddParam.java
...u/cloud/plus/v1/yifu/insurances/vo/InsuranceAddParam.java
+110
-0
TInsuranceDetailMapper.xml
...-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
+10
-8
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/constants/InsurancesConstants.java
0 → 100644
View file @
4b30bb4b
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
constants
;
/**
* @author licancan
* @description 商险常量
* @date 2022-07-18 17:52:59
*/
public
class
InsurancesConstants
{
}
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TInsuranceDetail.java
View file @
4b30bb4b
...
...
@@ -12,7 +12,8 @@ import org.hibernate.validator.constraints.Length;
import
javax.validation.constraints.NotBlank
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.time.LocalDate
;
import
java.time.LocalDateTime
;
/**
...
...
@@ -51,8 +52,13 @@ public class TInsuranceDetail extends BaseEntity {
private
String
empIdcardNo
;
/**
*
项目编码
*
订单编号
*/
private
String
orderNo
;
/**
* 项目编码
*/
private
String
deptNo
;
/**
...
...
@@ -78,22 +84,22 @@ public class TInsuranceDetail extends BaseEntity {
/**
* 保单开始时间
*/
private
Date
policyStart
;
private
Local
Date
policyStart
;
/**
* 保单结束时间
*/
private
Date
policyEnd
;
private
Local
Date
policyEnd
;
/**
* 保单生效日期
*/
private
Date
policyEffect
;
private
Local
Date
policyEffect
;
/**
* 办理时间
*/
private
Dat
e
batchDate
;
private
LocalDateTim
e
batchDate
;
/**
* 结算月
...
...
@@ -111,24 +117,24 @@ public class TInsuranceDetail extends BaseEntity {
private
Integer
buyType
;
/**
* 商险购买地省
名称
* 商险购买地省
code
*/
private
String
businessInsuranceProvNam
e
;
private
Integer
insuranceProvinc
e
;
/**
* 商险购买地市
名称
* 商险购买地市
code
*/
private
String
businessInsuranceCityName
;
private
Integer
insuranceCity
;
/**
* 商险办理省
名称
* 商险办理省
code
*/
private
String
businessInsuranceHandleProvNam
e
;
private
Integer
insuranceHandleProvinc
e
;
/**
* 商险办理城市
名称
* 商险办理城市
code
*/
private
String
businessInsuranceHandleCityName
;
private
Integer
insuranceHandleCity
;
/**
* 结算类型 (1、单独结算 2、合并结算-和工资一起结算)
...
...
@@ -181,6 +187,11 @@ public class TInsuranceDetail extends BaseEntity {
@Schema
(
description
=
"是否过期 0未过期 1已过期"
)
private
Integer
isOverdue
;
/**
* 备注
*/
private
String
remark
;
/**
* 是否删除 0未删除/1删除
*/
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceAddParam.java
0 → 100644
View file @
4b30bb4b
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.io.Serializable
;
import
java.time.LocalDate
;
/**
* @author licancan
* @description 商险办理新增入参
* @date 2022-07-18 17:03:31
*/
@Data
public
class
InsuranceAddParam
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2689686777914935788L
;
/**
* 订单编号
*/
@NotBlank
(
message
=
"订单编号不能为空"
)
@Length
(
max
=
32
,
message
=
"订单编号不能超过32个字符"
)
@Schema
(
description
=
"订单编号"
)
private
String
orderNo
;
/**
* 员工姓名
*/
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证号
*/
@NotBlank
(
message
=
"员工身份证号不能为空"
)
@Length
(
max
=
32
,
message
=
"员工身份证号不能超过32个字符"
)
@Schema
(
description
=
"员工身份证号"
)
private
String
empIdcardNo
;
/**
* 项目编码
*/
@NotBlank
(
message
=
"项目编码不能为空"
)
@Length
(
max
=
32
,
message
=
"项目编码不能超过32个字符"
)
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
/**
* 保险公司名称
*/
@NotBlank
(
message
=
"保险公司名称不能为空"
)
@Length
(
max
=
32
,
message
=
"保险公司名称不能超过32个字符"
)
@Schema
(
description
=
"保险公司名称"
)
private
String
insuranceCompanyName
;
/**
* 险种名称
*/
@NotBlank
(
message
=
"险种名称不能为空"
)
@Length
(
max
=
32
,
message
=
"险种名称不能超过32个字符"
)
@Schema
(
description
=
"险种名称"
)
private
String
insuranceTypeName
;
/**
* 保单开始时间
*/
private
LocalDate
policyStart
;
/**
* 保单结束时间
*/
private
LocalDate
policyEnd
;
/**
* 商险购买地省名称
*/
private
String
insuranceProvinceName
;
/**
* 商险购买地市名称
*/
private
String
insuranceCityName
;
/**
* 商险办理省名称
*/
private
String
insuranceHandleProvinceName
;
/**
* 商险办理城市名称
*/
private
String
insuranceHandleCityName
;
/**
* 结算月
*/
private
String
settleMonth
;
/**
* 岗位
*/
private
String
post
;
/**
* 备注
*/
private
String
remark
;
}
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
View file @
4b30bb4b
...
...
@@ -9,6 +9,7 @@
<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=
"orderNo"
column=
"ORDER_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"
/>
...
...
@@ -21,10 +22,10 @@
<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=
"
insuranceProvince"
column=
"INSURANCE_PROVINCE"
jdbcType=
"TINYINT
"
/>
<result
property=
"
insuranceCity"
column=
"INSURANCE_CITY"
jdbcType=
"TINYINT
"
/>
<result
property=
"
insuranceHandleProvince"
column=
"INSURANCE_HANDLE_PROVINCE"
jdbcType=
"TINYINT
"
/>
<result
property=
"
insuranceHandleCity"
column=
"INSURANCE_HANDLE_CITY"
jdbcType=
"TINYINT
"
/>
<result
property=
"settleType"
column=
"SETTLE_TYPE"
jdbcType=
"VARCHAR"
/>
<result
property=
"actualPremium"
column=
"ACTUAL_PREMIUM"
jdbcType=
"DECIMAL"
/>
<result
property=
"estimatePremium"
column=
"ESTIMATE_PREMIUM"
jdbcType=
"DECIMAL"
/>
...
...
@@ -35,6 +36,7 @@
<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=
"remark"
column=
"REMARK"
jdbcType=
"VARCHAR"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
jdbcType=
"VARCHAR"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
jdbcType=
"TIMESTAMP"
/>
...
...
@@ -45,15 +47,15 @@
<sql
id=
"Base_Column_List"
>
ID,EMP_ID,EMP_NAME,
EMP_IDCARD_NO,DEPT_NO,INSURANCE_COMPANY_NAME,
EMP_IDCARD_NO,
ORDER_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,
BUY_TYPE,
INSURANCE_PROVINCE,INSURANCE_CITY
,
INSURANCE_HANDLE_PROVINCE,INSURANCE_HANDLE_CITY
,SETTLE_TYPE,
ACTUAL_PREMIUM,ESTIMATE_PREMIUM,SETTLE_BALANCE,
BUY_HANDLE_STATUS,SETTLE_HANDLE_STATUS,REDUCE_HANDLE_STATUS,
IS_USE,IS_EFFECT,IS_OVERDUE,
IS_USE,IS_EFFECT,IS_OVERDUE,
REMARK,
CREATE_BY,CREATE_NAME,CREATE_TIME,
UPDATE_BY,UPDATE_TIME,DELETE_FLAG
</sql>
...
...
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