Commit 5bee8b00 by zhangxingmin

push

parent 19b8f968
......@@ -8,6 +8,27 @@ import java.util.List;
public class ApiSalarySplitExportSummaryListRequest {
/**
* 转介人业务id列表
*/
private List<String> brokerBizIdList;
/**
* 出账开始年月(2026-07)
*/
private String startMonth;
/**
* 出账结束年月(2027-09)
*/
private String endMonth;
/**
* 出账机构
*/
private String billOrg;
/**
* 薪资拆分应发表唯一业务ID列表
*/
private List<String> salarySplitBizIdList;
......
......@@ -117,6 +117,24 @@
#{item}
</foreach>
</if>
<if test="request.brokerBizIdList != null and request.brokerBizIdList.size > 0">
and ss.broker_biz_id in
<foreach collection="request.brokerBizIdList" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<!-- 开始月份:大于等于该月第一天(包含整个月开始) -->
<if test="request.startMonth != null and request.startMonth != ''">
and fa.fortune_account_date >= DATE(CONCAT(#{request.startMonth}, '-01'))
</if>
<!-- 结束月份:小于下月第一天(包含整个月结束) -->
<if test="request.endMonth != null and request.endMonth != ''">
and fa.fortune_account_date &lt; DATE_ADD(DATE(CONCAT(#{request.endMonth}, '-01')), INTERVAL 1 MONTH)
</if>
<if test="request.billOrg != null and request.billOrg != ''">
and ss.bill_org like concat('%', #{request.billOrg}, '%')
</if>
and ss.is_deleted = 0
</where>
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment