jeecg判空判断去除;

This commit is contained in:
王奎兴
2026-02-27 14:23:59 +08:00
parent cfc7894ab5
commit 1738f12bdd
3 changed files with 10 additions and 10 deletions
@@ -80,7 +80,7 @@
<if test="query.codeManaged != null and query.codeManaged != ''">
AND m.code_managed = #{query.codeManaged}
</if>
<if test="query.createdAtStart != null and query.createdAtEnd != null and @org.jeecg.common.util.oConvertUtils@isNotEmpty(query.createdAtStart) and @org.jeecg.common.util.oConvertUtils@isNotEmpty(query.createdAtEnd)">
<if test="query.createdAtStart != null and query.createdAtEnd != null and query.createdAtStart != '' and query.createdAtEnd != ''">
and DATE_FORMAT(i.created_at,'%Y-%m-%d') <![CDATA[>=]]> DATE_FORMAT(#{query.createdAtStart},'%Y-%m-%d')
and DATE_FORMAT(i.created_at,'%Y-%m-%d') <![CDATA[<=]]> DATE_FORMAT(#{query.createdAtEnd},'%Y-%m-%d')
</if>
@@ -118,4 +118,4 @@
ORDER BY i.updated_at DESC
</select>
</mapper>
</mapper>