天山 项目代码
This commit is contained in:
parent
20ec7cbe94
commit
6c86330fa9
@ -90,6 +90,12 @@
|
||||
<if test="fieldSeventeen != null and fieldSeventeen != ''">and field_seventeen = #{fieldSeventeen}</if>
|
||||
<if test="fieldEighteen != null and fieldEighteen != ''">and field_eighteen = #{fieldEighteen}</if>
|
||||
<if test="fieldNineteen != null and fieldNineteen != ''">and field_nineteen = #{fieldNineteen}</if>
|
||||
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
|
||||
AND date_format(now_time_two,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
||||
</if>
|
||||
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
||||
AND date_format(now_time_two,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user