Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
0803bbc7
Commit
0803bbc7
authored
Jun 29, 2022
by
翁国栋
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8小时后台--
修改投保条件为不同月份可重复投递一个人
parent
8cbd468e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
src/main/java/cn/timer/api/controller/insure/CallBackContorll.java
+1
-0
src/main/resources/mapping/insure/InsureUserMapper.xml
+16
-6
No files found.
src/main/java/cn/timer/api/controller/insure/CallBackContorll.java
View file @
0803bbc7
...
@@ -18,6 +18,7 @@ import org.apache.commons.codec.digest.DigestUtils;
...
@@ -18,6 +18,7 @@ import org.apache.commons.codec.digest.DigestUtils;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.scheduling.annotation.Async
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.servlet.ModelAndView
;
import
org.springframework.web.servlet.ModelAndView
;
...
...
src/main/resources/mapping/insure/InsureUserMapper.xml
View file @
0803bbc7
...
@@ -386,21 +386,31 @@
...
@@ -386,21 +386,31 @@
</select>
</select>
<!--根据id数组查询员工-->
<!--根据id数组查询员工-->
<select
id=
"selectListByIds"
result
Type=
"cn.timer.api.bean.insure.InsureUser
"
>
<select
id=
"selectListByIds"
result
Map=
"insureUserMap
"
>
SELECT
SELECT
*
*
FROM insure_user
FROM insure_user
WHERE id IN
<where>
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
<if
test=
"policyId ==null or policyId ==0"
>
#{id}
user_id IN
</foreach>
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
<if
test=
"policyId!=null and policyId !=''"
>
#{id}
</foreach>
</if>
<if
test=
"policyId !=null and policyId > 0"
>
id IN
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</if>
<if
test=
"policyId!=null and policyId >0"
>
and policy_id =#{policyId}
and policy_id =#{policyId}
</if>
</if>
<if
test=
"createTime!=null and createTime !=''"
>
<if
test=
"createTime!=null and createTime !=''"
>
and date_format(create_time,'%Y-%m') = #{createTime}
and date_format(create_time,'%Y-%m') = #{createTime}
</if>
</if>
and status = 1 and insure_status = 1
and status = 1 and insure_status = 1
</where>
</select>
</select>
<!--根据id数组查询员工-->
<!--根据id数组查询员工-->
...
...
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