Commit ac2964cd authored by suhuiguang's avatar suhuiguang

1。bug

parent 8de8a006
......@@ -72,7 +72,7 @@
and i.APP_KEY = #{appKey}
</if>
GROUP by
i.INSTANCE_ID)d
i.INSTANCE_ID) d
<if test="params != null and params.size() > 0">
where
1=1
......@@ -84,6 +84,12 @@
<when test="fieldCodes[key] == 'eq' and value !=null and value !=''">
and d.${key} = #{value}
</when>
<when test="fieldCodes[key] == 'ge' and value !=null and value !=''">
and d.${key} >= #{value}
</when>
<when test="fieldCodes[key] == 'le' and value !=null and value !=''">
and d.${key} <![CDATA[<=]]> #{value}
</when>
</choose>
</foreach>
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment