demand: TMS系统 - 提成管理 - 员工提成方案配置 增加根据日期查询功能
committer: heyu
This commit is contained in:
parent
50231d1a28
commit
9860c10c27
@ -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) >= DATE(#{startDate})
|
||||
</if>
|
||||
<if test="endDate != null">
|
||||
and DATE(end_date) <= DATE(#{endDate})
|
||||
</if>
|
||||
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user