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
fc306434
Commit
fc306434
authored
Feb 10, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-商险接口推送优化
parent
9b9d1754
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
EkpInsurancesInfo.java
...oud/plus/v1/yifu/insurances/entity/EkpInsurancesInfo.java
+2
-3
DoJointInsuranceTask.java
...ud/plus/v1/yifu/insurances/util/DoJointInsuranceTask.java
+5
-5
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/EkpInsurancesInfo.java
View file @
fc306434
...
@@ -3,7 +3,6 @@ package com.yifu.cloud.plus.v1.yifu.insurances.entity;
...
@@ -3,7 +3,6 @@ package com.yifu.cloud.plus.v1.yifu.insurances.entity;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
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.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
...
@@ -18,9 +17,9 @@ import java.util.Date;
...
@@ -18,9 +17,9 @@ import java.util.Date;
*/
*/
@Data
@Data
@TableName
(
"ekp_insurances_info"
)
@TableName
(
"ekp_insurances_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@EqualsAndHashCode
()
@Schema
(
description
=
"商险订单明细表"
)
@Schema
(
description
=
"商险订单明细表"
)
public
class
EkpInsurancesInfo
extends
BaseEntity
{
public
class
EkpInsurancesInfo
{
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"fd_Id"
)
@Schema
(
description
=
"fd_Id"
)
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/util/DoJointInsuranceTask.java
View file @
fc306434
...
@@ -733,9 +733,9 @@ public class DoJointInsuranceTask {
...
@@ -733,9 +733,9 @@ public class DoJointInsuranceTask {
pushParam
.
setFd_3b16dfb32778f2_text
(
deptInfoVo
.
getDeptNo
());
pushParam
.
setFd_3b16dfb32778f2_text
(
deptInfoVo
.
getDeptNo
());
//实际结算月份DateUtil.parseDate(dateStringInsert(param.getSettleMonth()),"yyyy-MM")
//实际结算月份DateUtil.parseDate(dateStringInsert(param.getSettleMonth()),"yyyy-MM")
if
(
"结算月本月数据"
.
equals
(
deptInfoVo
.
getInsurancesType
()))
{
if
(
"结算月本月数据"
.
equals
(
deptInfoVo
.
getInsurancesType
()))
{
pushParam
.
setFd_3af9d11088facc
(
DateUtil
.
parseDate
(
dateStringInsert
(
param
.
getSettleMonth
()),
"yyyy-MM"
));
pushParam
.
setFd_3af9d11088facc
(
DateUtil
.
parseDate
(
param
.
getSettleMonth
(),
DateUtil
.
DATETIME_YYYY_MM
));
}
else
if
(
"生成月上月数据"
.
equals
(
deptInfoVo
.
getInsurancesType
()))
{
}
else
if
(
"生成月上月数据"
.
equals
(
deptInfoVo
.
getInsurancesType
()))
{
pushParam
.
setFd_3af9d11088facc
(
DateUtil
.
addMonthByDate
(
DateUtil
.
parseDate
(
param
.
getSettleMonth
(),
"yyyyMM"
),
-
1
));
pushParam
.
setFd_3af9d11088facc
(
DateUtil
.
addMonthByDate
(
DateUtil
.
parseDate
(
param
.
getSettleMonth
(),
DateUtil
.
DATETIME_YYYY_MM
),
-
1
));
}
else
{
}
else
{
pushParam
.
setFd_3af9d11088facc
(
null
);
pushParam
.
setFd_3af9d11088facc
(
null
);
}
}
...
@@ -786,7 +786,7 @@ public class DoJointInsuranceTask {
...
@@ -786,7 +786,7 @@ public class DoJointInsuranceTask {
//预估保费
//预估保费
pushParam
.
setFd_3af9d15f7018fa
(
null
!=
param
.
getEstimatePremium
()
?
param
.
getEstimatePremium
().
doubleValue
()
:
null
);
pushParam
.
setFd_3af9d15f7018fa
(
null
!=
param
.
getEstimatePremium
()
?
param
.
getEstimatePremium
().
doubleValue
()
:
null
);
//hro结算月
//hro结算月
pushParam
.
setFd_3b13b3076af5a0
(
null
!=
param
.
getSettleMonth
()
?
DateUtil
.
parseDate
(
dateStringInsert
(
param
.
getSettleMonth
()),
"yyyy-MM"
)
:
null
);
pushParam
.
setFd_3b13b3076af5a0
(
null
!=
param
.
getSettleMonth
()
?
DateUtil
.
parseDate
(
param
.
getSettleMonth
(),
DateUtil
.
DATETIME_YYYY_MM
)
:
null
);
//有无预估
//有无预估
pushParam
.
setFd_3af9d1441ef7b6
(
null
!=
param
.
getEstimateStatus
()
?
param
.
getEstimateStatus
()
:
CommonConstants
.
EMPTY_STRING
);
pushParam
.
setFd_3af9d1441ef7b6
(
null
!=
param
.
getEstimateStatus
()
?
param
.
getEstimateStatus
()
:
CommonConstants
.
EMPTY_STRING
);
//结算状态
//结算状态
...
@@ -798,7 +798,7 @@ public class DoJointInsuranceTask {
...
@@ -798,7 +798,7 @@ public class DoJointInsuranceTask {
//创建时间
//创建时间
pushParam
.
setCreateTime
(
DateUtil
.
getCurrentDateTime
());
pushParam
.
setCreateTime
(
DateUtil
.
getCurrentDateTime
());
//应支出
//应支出
pushParam
.
setFd_3adfe6e3911ffe
(
"实缴"
.
equals
(
param
.
getSettleType
())
?
pushParam
.
getFd_3adfe6610c0d2c
()
:
0
);
pushParam
.
setFd_3adfe6e3911ffe
(
InsurancesConstants
.
ACTUAL_SETTLE_BILL
.
equals
(
param
.
getSettleType
())
?
pushParam
.
getFd_3adfe6610c0d2c
()
:
0
);
}
}
//商险更新赋值
//商险更新赋值
...
@@ -835,7 +835,7 @@ public class DoJointInsuranceTask {
...
@@ -835,7 +835,7 @@ public class DoJointInsuranceTask {
//事故或残疾
//事故或残疾
info
.
setFd_3adfe6609aa810
(
null
!=
param
.
getDieDisableQuota
()
?
param
.
getDieDisableQuota
()
:
CommonConstants
.
EMPTY_STRING
);
info
.
setFd_3adfe6609aa810
(
null
!=
param
.
getDieDisableQuota
()
?
param
.
getDieDisableQuota
()
:
CommonConstants
.
EMPTY_STRING
);
//hro结算月
//hro结算月
info
.
setFd_3b13b3076af5a0
(
null
!=
param
.
getSettleMonth
()
?
DateUtil
.
parseDate
(
dateStringInsert
(
param
.
getSettleMonth
()),
"yyyy-MM"
)
:
null
);
info
.
setFd_3b13b3076af5a0
(
null
!=
param
.
getSettleMonth
()
?
DateUtil
.
parseDate
(
param
.
getSettleMonth
(),
DateUtil
.
DATETIME_YYYY_MM
)
:
null
);
insurancesInfoMapper
.
updateById
(
info
);
insurancesInfoMapper
.
updateById
(
info
);
}
}
}
}
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