天山 项目代码

This commit is contained in:
likehai 2023-12-29 15:27:04 +08:00
parent 20ec7cbe94
commit 6c86330fa9

View File

@ -90,6 +90,12 @@
<if test="fieldSeventeen != null and fieldSeventeen != ''">and field_seventeen = #{fieldSeventeen}</if> <if test="fieldSeventeen != null and fieldSeventeen != ''">and field_seventeen = #{fieldSeventeen}</if>
<if test="fieldEighteen != null and fieldEighteen != ''">and field_eighteen = #{fieldEighteen}</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="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') &gt;= 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') &lt;= date_format(#{params.endTime},'%y%m%d')
</if>
</where> </where>
</select> </select>