demand: TMS系统 - 提成管理 - 员工提成方案配置 增加根据日期查询功能

committer: heyu
This commit is contained in:
aike 2025-07-14 15:00:58 +08:00
parent 50231d1a28
commit 9860c10c27

View File

@ -65,6 +65,13 @@
<if test="transLineCode != null and transLineCode != ''"> and trans_line_code=#{transLineCode} </if>
<if test="prodCode != null and prodCode != ''"> and FIND_IN_SET(#{prodCode},prod_code) </if>
<if test="startDate != null">
and DATE(start_date) &gt;= DATE(#{startDate})
</if>
<if test="endDate != null">
and DATE(end_date) &lt;= DATE(#{endDate})
</if>
</where>
order by create_time desc
</select>