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
c3c5b6c1
Commit
c3c5b6c1
authored
Jan 04, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.4' into MVP1.4
parents
e00c6397
ceebc93e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
12 deletions
+55
-12
TInsuranceDetail.java
...loud/plus/v1/yifu/insurances/entity/TInsuranceDetail.java
+28
-4
EkpInsuranceViewVo.java
.../cloud/plus/v1/yifu/insurances/vo/EkpInsuranceViewVo.java
+4
-0
EkpSettleMapper.java
...d/plus/v1/yifu/insurances/mapper/ekp/EkpSettleMapper.java
+0
-1
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+17
-6
EkpSettleMapper.xml
...ces-biz/src/main/resources/mapper/ekp/EkpSettleMapper.xml
+2
-1
TInsuranceDetailMapper.xml
...in/resources/mapper/insurances/TInsuranceDetailMapper.xml
+4
-0
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TInsuranceDetail.java
View file @
c3c5b6c1
...
@@ -300,27 +300,51 @@ public class TInsuranceDetail extends BaseEntity {
...
@@ -300,27 +300,51 @@ public class TInsuranceDetail extends BaseEntity {
/**
/**
* 收入信息结算状态 0 已结算 1 结算中 2 未结算 3 无需结算
* 收入信息结算状态 0 已结算 1 结算中 2 未结算 3 无需结算
*/
*/
@Schema
(
description
=
"收入信息结算状态"
)
@Schema
(
description
=
"
预估
收入信息结算状态"
)
private
String
incomeSettleFlag
;
private
String
incomeSettleFlag
;
/**
/**
* 收入信息结算状态 0 已收 1 未收 2 垫付
* 收入信息结算状态 0 已收 1 未收 2 垫付
*/
*/
@Schema
(
description
=
"收入信息收款状态"
)
@Schema
(
description
=
"
预估
收入信息收款状态"
)
private
String
incomeCollectFlag
;
private
String
incomeCollectFlag
;
/**
/**
* 支出信息结算状态 0 已结算 1 结算中 2 未结算 3 无需结算
* 支出信息结算状态 0 已结算 1 结算中 2 未结算 3 无需结算
*/
*/
@Schema
(
description
=
"支出信息结算状态"
)
@Schema
(
description
=
"
预估
支出信息结算状态"
)
private
String
paySettleFlag
;
private
String
paySettleFlag
;
/**
/**
* 收入信息结算状态 0 已付 1 未付
* 收入信息结算状态 0 已付 1 未付
*/
*/
@Schema
(
description
=
"支出信息付款状态"
)
@Schema
(
description
=
"
预估
支出信息付款状态"
)
private
String
payCollectFlag
;
private
String
payCollectFlag
;
/**
* 收入信息结算状态 0 已结算 1 结算中 2 未结算 3 无需结算
*/
@Schema
(
description
=
"实缴收入信息结算状态"
)
private
String
sincomeSettleFlag
;
/**
* 收入信息结算状态 0 已收 1 未收 2 垫付
*/
@Schema
(
description
=
"实缴收入信息收款状态"
)
private
String
sincomeCollectFlag
;
/**
* 支出信息结算状态 0 已结算 1 结算中 2 未结算 3 无需结算
*/
@Schema
(
description
=
"实缴支出信息结算状态"
)
private
String
spaySettleFlag
;
/**
* 收入信息结算状态 0 已付 1 未付
*/
@Schema
(
description
=
"实缴支出信息付款状态"
)
private
String
spayCollectFlag
;
/**
/**
* 创建人所在部门
* 创建人所在部门
*/
*/
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/EkpInsuranceViewVo.java
View file @
c3c5b6c1
...
@@ -37,5 +37,9 @@ public class EkpInsuranceViewVo implements Serializable {
...
@@ -37,5 +37,9 @@ public class EkpInsuranceViewVo implements Serializable {
* 支出信息付款状态 0 已付 1 未付
* 支出信息付款状态 0 已付 1 未付
*/
*/
private
String
payCollectFlag
;
private
String
payCollectFlag
;
/**
* 订单类型
*/
private
String
orderType
;
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/ekp/EkpSettleMapper.java
View file @
c3c5b6c1
...
@@ -24,7 +24,6 @@ public interface EkpSettleMapper {
...
@@ -24,7 +24,6 @@ public interface EkpSettleMapper {
*/
*/
SettleVo
getSettle
(
String
id
);
SettleVo
getSettle
(
String
id
);
List
<
EkpInsuranceViewVo
>
selectSettleStatusBySettleNo
(
@Param
(
"settleNo"
)
String
settleNo
,
@Param
(
"payFlag"
)
String
payFlag
);
List
<
EkpInsuranceViewVo
>
selectSettleStatusBySettleNo
(
@Param
(
"settleNo"
)
String
settleNo
,
@Param
(
"payFlag"
)
String
payFlag
);
List
<
EkpSocialViewVo
>
selectSocialViewStatusBySettleNo
(
@Param
(
"settleNo"
)
String
settleNo
,
@Param
(
"payFlag"
)
String
payFlag
);
List
<
EkpSocialViewVo
>
selectSocialViewStatusBySettleNo
(
@Param
(
"settleNo"
)
String
settleNo
,
@Param
(
"payFlag"
)
String
payFlag
);
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
c3c5b6c1
...
@@ -7242,13 +7242,24 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
...
@@ -7242,13 +7242,24 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
insuranceId
=
viewVo
.
getId
().
substring
(
0
,
19
);
insuranceId
=
viewVo
.
getId
().
substring
(
0
,
19
);
detail
=
baseMapper
.
selectById
(
insuranceId
);
detail
=
baseMapper
.
selectById
(
insuranceId
);
if
(
Common
.
isNotNull
(
detail
))
{
if
(
Common
.
isNotNull
(
detail
))
{
//判断是收入还是支出结算单号
//判断订单类型是预估还是实缴
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
vo
.
getPayFlag
()))
{
if
(
InsurancesConstants
.
ACTUAL_SETTLE_BILL
.
equals
(
viewVo
.
getOrderType
()))
{
detail
.
setIncomeSettleFlag
(
viewVo
.
getIncomeSettleFlag
());
//判断是收入还是支出结算单号
detail
.
setIncomeCollectFlag
(
viewVo
.
getIncomeCollectFlag
());
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
vo
.
getPayFlag
()))
{
detail
.
setSincomeSettleFlag
(
viewVo
.
getIncomeSettleFlag
());
detail
.
setSincomeCollectFlag
(
viewVo
.
getIncomeCollectFlag
());
}
else
{
detail
.
setSpaySettleFlag
(
viewVo
.
getPaySettleFlag
());
detail
.
setSpayCollectFlag
(
viewVo
.
getPayCollectFlag
());
}
}
else
{
}
else
{
detail
.
setPaySettleFlag
(
viewVo
.
getPaySettleFlag
());
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
vo
.
getPayFlag
()))
{
detail
.
setPayCollectFlag
(
viewVo
.
getPayCollectFlag
());
detail
.
setIncomeSettleFlag
(
viewVo
.
getIncomeSettleFlag
());
detail
.
setIncomeCollectFlag
(
viewVo
.
getIncomeCollectFlag
());
}
else
{
detail
.
setPaySettleFlag
(
viewVo
.
getPaySettleFlag
());
detail
.
setPayCollectFlag
(
viewVo
.
getPayCollectFlag
());
}
}
}
baseMapper
.
updateById
(
detail
);
baseMapper
.
updateById
(
detail
);
}
}
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/ekp/EkpSettleMapper.xml
View file @
c3c5b6c1
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
<result
property=
"incomeCollectFlag"
column=
"receiptStatus"
jdbcType=
"VARCHAR"
/>
<result
property=
"incomeCollectFlag"
column=
"receiptStatus"
jdbcType=
"VARCHAR"
/>
<result
property=
"paySettleFlag"
column=
"zhichuEarningStatus"
jdbcType=
"VARCHAR"
/>
<result
property=
"paySettleFlag"
column=
"zhichuEarningStatus"
jdbcType=
"VARCHAR"
/>
<result
property=
"payCollectFlag"
column=
"payStatus"
jdbcType=
"VARCHAR"
/>
<result
property=
"payCollectFlag"
column=
"payStatus"
jdbcType=
"VARCHAR"
/>
<result
property=
"orderType"
column=
"orderType"
jdbcType=
"VARCHAR"
/>
</resultMap>
</resultMap>
<resultMap
id=
"BaseResultSocialStatusMap"
type=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.EkpSocialViewVo"
>
<resultMap
id=
"BaseResultSocialStatusMap"
type=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.EkpSocialViewVo"
>
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
</sql>
</sql>
<sql
id=
"Base_Column_List_Status"
>
<sql
id=
"Base_Column_List_Status"
>
detailsId,earningStatus,receiptStatus,zhichuEarningStatus,payStatus
detailsId,earningStatus,receiptStatus,zhichuEarningStatus,payStatus
,orderType
</sql>
</sql>
<select
id=
"getSettle"
resultMap=
"BaseResultMap"
>
<select
id=
"getSettle"
resultMap=
"BaseResultMap"
>
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TInsuranceDetailMapper.xml
View file @
c3c5b6c1
...
@@ -66,6 +66,10 @@
...
@@ -66,6 +66,10 @@
<result
property=
"incomeCollectFlag"
column=
"INCOME_COLLECT_FLAG"
/>
<result
property=
"incomeCollectFlag"
column=
"INCOME_COLLECT_FLAG"
/>
<result
property=
"paySettleFlag"
column=
"PAY_COLLECT_FLAG"
/>
<result
property=
"paySettleFlag"
column=
"PAY_COLLECT_FLAG"
/>
<result
property=
"payCollectFlag"
column=
"PAY_SETTLE_FLAG"
/>
<result
property=
"payCollectFlag"
column=
"PAY_SETTLE_FLAG"
/>
<result
property=
"sincomeSettleFlag"
column=
"SINCOME_SETTLE_FLAG"
/>
<result
property=
"sincomeCollectFlag"
column=
"SINCOME_COLLECT_FLAG"
/>
<result
property=
"spaySettleFlag"
column=
"SPAY_COLLECT_FLAG"
/>
<result
property=
"spayCollectFlag"
column=
"SPAY_SETTLE_FLAG"
/>
</resultMap>
</resultMap>
<resultMap
id=
"UpdateMap"
type=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceUpdateVO"
>
<resultMap
id=
"UpdateMap"
type=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceUpdateVO"
>
<id
property=
"id"
column=
"ID"
jdbcType=
"VARCHAR"
/>
<id
property=
"id"
column=
"ID"
jdbcType=
"VARCHAR"
/>
...
...
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