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
d7427309
Commit
d7427309
authored
Jul 28, 2022
by
zhaji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"feature-zhaJi:修改退费的主键生成规则"
parent
66d214fb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
14 deletions
+22
-14
TInsuranceRefund.java
...loud/plus/v1/yifu/insurances/entity/TInsuranceRefund.java
+8
-0
TInsuranceRefundDetail.java
...ud/plus/v1/yifu/insurances/vo/TInsuranceRefundDetail.java
+1
-1
TInsuranceDetailMapper.java
...lus/v1/yifu/insurances/mapper/TInsuranceDetailMapper.java
+1
-1
TInsuranceDetailServiceImpl.java
.../insurances/service/impl/TInsuranceDetailServiceImpl.java
+11
-11
TInsuranceDetailMapper.xml
...-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
+1
-1
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TInsuranceRefund.java
View file @
d7427309
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
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
;
...
...
@@ -20,26 +22,32 @@ public class TInsuranceRefund extends BaseEntity {
/**
* 主键id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 保单信息主键
*/
@Schema
(
description
=
"保单信息主键"
)
private
String
insDetailId
;
/**
* 减员状态
*/
@Schema
(
description
=
"减员状态"
)
private
Integer
reduceHandleStatus
;
/**
* 退费金额
*/
@Schema
(
description
=
"退费金额"
)
private
BigDecimal
refundMoney
;
/**
* 备注
*/
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/
entity
/TInsuranceRefundDetail.java
→
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/
vo
/TInsuranceRefundDetail.java
View file @
d7427309
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
entity
;
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/TInsuranceDetailMapper.java
View file @
d7427309
...
...
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail
;
import
com.yifu.cloud.plus.v1.yifu.insurances.
entity
.TInsuranceRefundDetail
;
import
com.yifu.cloud.plus.v1.yifu.insurances.
vo
.TInsuranceRefundDetail
;
import
com.yifu.cloud.plus.v1.yifu.insurances.vo.*
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceDetailServiceImpl.java
View file @
d7427309
...
...
@@ -7,7 +7,6 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.google.common.collect.Sets
;
import
com.yifu.cloud.plus.v1.check.entity.TCheckIdCard
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.ProjectSetInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.SetInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CacheConstants
;
...
...
@@ -2469,7 +2468,6 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
return
R
.
ok
(
map
.
get
(
"errorList"
));
}
/**
* 减员导入校验
*
...
...
@@ -2845,15 +2843,17 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
}
//当前保单信息的为已减员时不能变更结算月
if
(
CommonConstants
.
FIVE_INT
==
insuranceDetail
.
getBuyHandleStatus
()
){
param
.
setErrorMessage
(
InsurancesConstants
.
SETTLE_MONTH_CHANGE_REFUND_STATUS_FOUR_ERROR
);
errorList
.
add
(
param
);
continue
;
}
if
(
CommonConstants
.
ONE_INT
==
insuranceDetail
.
getBuyHandleStatus
()
||
CommonConstants
.
TWO_INT
==
insuranceDetail
.
getBuyHandleStatus
()){
param
.
setErrorMessage
(
InsurancesConstants
.
SETTLE_MONTH_CHANGE_REFUND_STATUS_ONE_ERROR
);
errorList
.
add
(
param
);
continue
;
if
(
null
!=
insuranceDetail
.
getBuyHandleStatus
()){
if
(
CommonConstants
.
FIVE_INT
==
insuranceDetail
.
getBuyHandleStatus
()
){
param
.
setErrorMessage
(
InsurancesConstants
.
SETTLE_MONTH_CHANGE_REFUND_STATUS_FOUR_ERROR
);
errorList
.
add
(
param
);
continue
;
}
if
(
CommonConstants
.
ONE_INT
==
insuranceDetail
.
getBuyHandleStatus
()
||
CommonConstants
.
TWO_INT
==
insuranceDetail
.
getBuyHandleStatus
()){
param
.
setErrorMessage
(
InsurancesConstants
.
SETTLE_MONTH_CHANGE_REFUND_STATUS_ONE_ERROR
);
errorList
.
add
(
param
);
continue
;
}
}
param
.
setId
(
insuranceDetail
.
getId
());
successList
.
add
(
param
);
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
View file @
d7427309
...
...
@@ -640,7 +640,7 @@
</foreach>
</select>
<!-- 查询保单减员退费信息-->
<select
id=
"selectRefundDetail"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.
entity
.TInsuranceRefundDetail"
>
<select
id=
"selectRefundDetail"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.
vo
.TInsuranceRefundDetail"
>
select
detail.DEPT_NO as deptNo,
detail.EMP_NAME as empName,
...
...
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