Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
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
xingmin
yd-csf
Commits
3fcb1e98
Commit
3fcb1e98
authored
Apr 03, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
181c298b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
21 deletions
+33
-21
yd-csf-feign/src/main/java/com/yd/csf/feign/request/salarysplit/ApiSalarySplitSummaryPageRequest.java
+22
-10
yd-csf-service/src/main/resources/mappers/SalarySplitMapper.xml
+11
-11
No files found.
yd-csf-feign/src/main/java/com/yd/csf/feign/request/salarysplit/ApiSalarySplitSummaryPageRequest.java
View file @
3fcb1e98
...
@@ -3,28 +3,40 @@ package com.yd.csf.feign.request.salarysplit;
...
@@ -3,28 +3,40 @@ package com.yd.csf.feign.request.salarysplit;
import
com.yd.common.dto.PageDto
;
import
com.yd.common.dto.PageDto
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.List
;
@Data
@Data
public
class
ApiSalarySplitSummaryPageRequest
extends
PageDto
{
public
class
ApiSalarySplitSummaryPageRequest
extends
PageDto
{
/**
// /**
* 转介人名称
// * 转介人名称
*/
// */
private
String
brokerName
;
// private String brokerName;
//
// /**
// * 出账状态 可出账、待出账、已出账
// */
// private String status;
/**
/**
*
出账状态 可出账、待出账、已出账
*
转介人业务id列表
*/
*/
private
String
status
;
private
List
<
String
>
brokerBizIdList
;
// /**
// * 出账状态列表 可出账、待出账、已出账
// */
// private List<String> statusList;
/**
/**
* 出账
月-开始月份
* 出账
开始年月(2026-07)
*/
*/
private
Integer
startMonth
;
private
String
startMonth
;
/**
/**
* 出账
月-结束月份
* 出账
结束年月(2027-09)
*/
*/
private
Integer
endMonth
;
private
String
endMonth
;
/**
/**
* 出账机构
* 出账机构
...
...
yd-csf-service/src/main/resources/mappers/SalarySplitMapper.xml
View file @
3fcb1e98
...
@@ -34,20 +34,20 @@
...
@@ -34,20 +34,20 @@
on ss.fortune_account_biz_id = fa.fortune_account_biz_id
on ss.fortune_account_biz_id = fa.fortune_account_biz_id
and fa.is_deleted = 0
and fa.is_deleted = 0
<where>
<where>
<if
test=
"request.broker
Name != null and request.brokerName != ''
"
>
<if
test=
"request.broker
BizIdList != null and request.brokerBizIdList.size > 0
"
>
and ss.broker_
name like concat('%', #{request.brokerName}, '%')
and ss.broker_
biz_id in
</if
>
<foreach
collection=
"request.brokerBizIdList"
item=
"item"
index=
"index"
open=
"("
separator=
","
close=
")"
>
<if
test=
"request.status != null and request.status != ''"
>
#{item}
and fa.status = #{request.status}
</foreach>
</if>
</if>
<!-- 开始月份:大于等于该月第一天 -->
<!-- 开始月份:大于等于该月第一天
(包含整个月开始)
-->
<if
test=
"request.startMonth != null"
>
<if
test=
"request.startMonth != null
and request.startMonth != ''
"
>
and fa.fortune_account_date >=
STR_TO_DATE(CONCAT(#{request.startMonth}, '01'), '%Y%m%d'
)
and fa.fortune_account_date >=
DATE(CONCAT(#{request.startMonth}, '-01')
)
</if>
</if>
<!-- 结束月份:小于下月第一天(包含
该月全部日期
) -->
<!-- 结束月份:小于下月第一天(包含
整个月结束
) -->
<if
test=
"request.endMonth != null"
>
<if
test=
"request.endMonth != null
and request.endMonth != ''
"
>
and fa.fortune_account_date
<
DATE_ADD(
STR_TO_DATE(CONCAT(#{request.endMonth}, '01'), '%Y%m%d'
), INTERVAL 1 MONTH)
and fa.fortune_account_date
<
DATE_ADD(
DATE(CONCAT(#{request.endMonth}, '-01')
), INTERVAL 1 MONTH)
</if>
</if>
<if
test=
"request.billOrg != null and request.billOrg != ''"
>
<if
test=
"request.billOrg != null and request.billOrg != ''"
>
and ss.bill_org like concat('%', #{request.billOrg}, '%')
and ss.bill_org like concat('%', #{request.billOrg}, '%')
...
...
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