jeecg判空判断去除;
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user