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
60829498
You need to sign in or sign up before continuing.
Commit
60829498
authored
Feb 11, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-商险接口推送优化
parent
fc306434
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
182 additions
and
67 deletions
+182
-67
EkpInsurancesInfoMapper.java
...1/yifu/insurances/mapper/ekp/EkpInsurancesInfoMapper.java
+16
-0
DoJointInsuranceTask.java
...ud/plus/v1/yifu/insurances/util/DoJointInsuranceTask.java
+63
-66
EkpInsurancesInfoMapper.xml
...src/main/resources/mapper/ekp/EkpInsurancesInfoMapper.xml
+102
-0
EkpSettleMapper.xml
...ces-biz/src/main/resources/mapper/ekp/EkpSettleMapper.xml
+1
-1
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/ekp/EkpInsurancesInfoMapper.java
View file @
60829498
...
...
@@ -3,6 +3,9 @@ package com.yifu.cloud.plus.v1.yifu.insurances.mapper.ekp;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.EkpInsurancesInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 商险订单明细表
...
...
@@ -13,4 +16,17 @@ import org.apache.ibatis.annotations.Mapper;
@Mapper
public
interface
EkpInsurancesInfoMapper
extends
BaseMapper
<
EkpInsurancesInfo
>
{
List
<
EkpInsurancesInfo
>
getEkpInsurancesInfoList
(
@Param
(
"detailId"
)
String
detailId
);
//查询未结算实缴
EkpInsurancesInfo
getEkpInsurancesInfo
(
@Param
(
"detailId"
)
String
detailId
);
//查询未结算预估
EkpInsurancesInfo
getEkpInsurancesInfoYg
(
@Param
(
"detailId"
)
String
detailId
);
//查询不为未结算的商险记录
EkpInsurancesInfo
getEkpInsurancesInfoNotSettle
(
@Param
(
"detailId"
)
String
detailId
);
//查询未结算的商险记录
EkpInsurancesInfo
getEkpInsurancesInfoSettle
(
@Param
(
"detailId"
)
String
detailId
);
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/util/DoJointInsuranceTask.java
View file @
60829498
This diff is collapsed.
Click to expand it.
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/ekp/EkpInsurancesInfoMapper.xml
View file @
60829498
...
...
@@ -4,5 +4,107 @@
<!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.ekp.EkpInsurancesInfoMapper"
>
<resultMap
id=
"ekpInsurancesInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.EkpInsurancesInfo"
>
<id
property=
"fd_id"
column=
"fd_id"
/>
<result
property=
"fd_3adfe6af71a1cc"
column=
"fd_3adfe6af71a1cc"
/>
<result
property=
"fd_3adfe658c6229e"
column=
"fd_3adfe658c6229e"
/>
<result
property=
"fd_3adfe6592b4158"
column=
"fd_3adfe6592b4158"
/>
<result
property=
"fd_3adfe67a9f6364"
column=
"fd_3adfe67a9f6364"
/>
<result
property=
"fd_3adfe6598281e8"
column=
"fd_3adfe6598281e8"
/>
<result
property=
"fd_3adfe7a2688902"
column=
"fd_3adfe7a2688902"
/>
<result
property=
"fd_3adfe67c24dace"
column=
"fd_3adfe67c24dace"
/>
<result
property=
"fd_3adfe65d759650"
column=
"fd_3adfe65d759650"
/>
<result
property=
"fd_3adfe65dbd9f68"
column=
"fd_3adfe65dbd9f68"
/>
<result
property=
"fd_3adfe65e0cd094"
column=
"fd_3adfe65e0cd094"
/>
<result
property=
"fd_3adfe65f6599e4"
column=
"fd_3adfe65f6599e4"
/>
<result
property=
"fd_3adfe65ea04728"
column=
"fd_3adfe65ea04728"
/>
<result
property=
"fd_3adfe65e60e110"
column=
"fd_3adfe65e60e110"
/>
<result
property=
"fd_3adfe6b7e0ede8"
column=
"fd_3adfe6b7e0ede8"
/>
<result
property=
"fd_3adfe6b847bfe6"
column=
"fd_3adfe6b847bfe6"
/>
<result
property=
"fd_3adfe6d55384c6"
column=
"fd_3adfe6d55384c6"
/>
<result
property=
"fd_3adfe6610c0d2c"
column=
"fd_3adfe6610c0d2c"
/>
<result
property=
"fd_3adfe66041a996"
column=
"fd_3adfe66041a996"
/>
<result
property=
"fd_3adfe6609aa810"
column=
"fd_3adfe6609aa810"
/>
<result
property=
"fd_3adfe6e30f2a3c"
column=
"fd_3adfe6e30f2a3c"
/>
<result
property=
"fd_3adfe6ec6a8cbe"
column=
"fd_3adfe6ec6a8cbe"
/>
<result
property=
"fd_3adfe6ef5dfaac"
column=
"fd_3adfe6ef5dfaac"
/>
<result
property=
"fd_3adfe79fd04606"
column=
"fd_3adfe79fd04606"
/>
<result
property=
"fd_3adfe7a117f086"
column=
"fd_3adfe7a117f086"
/>
<result
property=
"fd_3adfe6e3911ffe"
column=
"fd_3adfe6e3911ffe"
/>
<result
property=
"fd_3adfe6eda67236"
column=
"fd_3adfe6eda67236"
/>
<result
property=
"fd_3adfe6f05531ec"
column=
"fd_3adfe6f05531ec"
/>
<result
property=
"fd_3adfe7a035849c"
column=
"fd_3adfe7a035849c"
/>
<result
property=
"fd_3adfe7a08eba96"
column=
"fd_3adfe7a08eba96"
/>
<result
property=
"fd_3af9197b31071c"
column=
"fd_3af9197b31071c"
/>
<result
property=
"fd_3af9d11088facc"
column=
"fd_3af9d11088facc"
/>
<result
property=
"fd_3af9d1441ef7b6"
column=
"fd_3af9d1441ef7b6"
/>
<result
property=
"fd_3af9d15f7018fa"
column=
"fd_3af9d15f7018fa"
/>
<result
property=
"fd_3af9d1662141a4"
column=
"fd_3af9d1662141a4"
/>
<result
property=
"fd_3b0a5743acab7e"
column=
"fd_3b0a5743acab7e"
/>
<result
property=
"fd_3b13ad2da5d476"
column=
"fd_3b13ad2da5d476"
/>
<result
property=
"fd_3b13ad3948940c"
column=
"fd_3b13ad3948940c"
/>
<result
property=
"fd_3b13b3076af5a0"
column=
"fd_3b13b3076af5a0"
/>
<result
property=
"fd_3b13b2ecc164aa"
column=
"fd_3b13b2ecc164aa"
/>
<result
property=
"fd_3b16da0eb23648"
column=
"fd_3b16da0eb23648"
/>
<result
property=
"fd_3b16dfb32778f2_text"
column=
"fd_3b16dfb32778f2_text"
/>
<result
property=
"fd_3b16dfb32778f2"
column=
"fd_3b16dfb32778f2"
/>
<result
property=
"fd_3b178fab62d196"
column=
"fd_3b178fab62d196"
/>
<result
property=
"fd_3b3e4653122c9e"
column=
"fd_3b3e4653122c9e"
/>
<result
property=
"fd_3b5bf1628c5a68"
column=
"fd_3b5bf1628c5a68"
/>
<result
property=
"fd_3b5bf17f2fc25c"
column=
"fd_3b5bf17f2fc25c"
/>
<result
property=
"fd_3b5bf180e08fbe"
column=
"fd_3b5bf180e08fbe"
/>
<result
property=
"fd_3b5bf17ae91f9c"
column=
"fd_3b5bf17ae91f9c"
/>
<result
property=
"fd_3b5bf17c6df310"
column=
"fd_3b5bf17c6df310"
/>
<result
property=
"fd_3b5bf17d9297c2"
column=
"fd_3b5bf17d9297c2"
/>
<result
property=
"fd_3b941cbcea3e1a"
column=
"fd_3b941cbcea3e1a"
/>
<result
property=
"fd_3c6f0108e05c84"
column=
"fd_3c6f0108e05c84"
/>
<result
property=
"fd_usebpo_settle"
column=
"fd_usebpo_settle"
/>
<result
property=
"createTime"
column=
"create_time"
/>
</resultMap>
<!-- ekpInsurancesInfo简单分页查询 -->
<select
id=
"getEkpInsurancesInfoList"
resultMap=
"ekpInsurancesInfoMap"
>
SELECT
*
FROM ekp_insurances_info a
where fd_3adfe6ec6a8cbe = '未结算' and fd_3b0a5743acab7e = #{detailId}
</select>
<select
id=
"getEkpInsurancesInfo"
resultMap=
"ekpInsurancesInfoMap"
>
SELECT
*
FROM ekp_insurances_info a
where fd_3adfe6ec6a8cbe = '未结算'
and fd_3adfe6af71a1cc = '实缴'
and fd_3b0a5743acab7e = #{detailId}
limit 1
</select>
<select
id=
"getEkpInsurancesInfoYg"
resultMap=
"ekpInsurancesInfoMap"
>
SELECT
*
FROM ekp_insurances_info a
where fd_3adfe6ec6a8cbe = '未结算'
and fd_3adfe6af71a1cc = '预估'
and fd_3b0a5743acab7e = #{detailId}
limit 1
</select>
<select
id=
"getEkpInsurancesInfoNotSettle"
resultMap=
"ekpInsurancesInfoMap"
>
SELECT
*
FROM ekp_insurances_info a
where fd_3adfe6eda67236 != '未结算'
and fd_3b0a5743acab7e = #{detailId}
limit 1
</select>
<select
id=
"getEkpInsurancesInfoSettle"
resultMap=
"ekpInsurancesInfoMap"
>
SELECT
*
FROM ekp_insurances_info a
where fd_3adfe6eda67236 = '未结算'
and fd_3b0a5743acab7e = #{detailId}
limit 1
</select>
</mapper>
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/ekp/EkpSettleMapper.xml
View file @
60829498
...
...
@@ -63,7 +63,7 @@
from
ekp_e96a0a28442447c81ec0
where
fd_3b0a5743acab7e = #{id} limit 1
fd_3b0a5743acab7e = #{id}
and fd_3adfe6af71a1cc = '实缴'
limit 1
</select>
<select
id=
"getDeptSettle"
resultMap=
"BaseDeptResultMap"
>
...
...
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