Commit d1d23561 by 墨竹

fix:日志sql报错

parent c7892654
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
<select id="listForPage" parameterType="com.gic.haoban.manage.api.dto.qdto.hm.WxUserAddLogSearchQDTO" resultMap="result-map-tabHaobanWxUserAddLog"> <select id="listForPage" parameterType="com.gic.haoban.manage.api.dto.qdto.hm.WxUserAddLogSearchQDTO" resultMap="result-map-tabHaobanWxUserAddLog">
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from tab_haoban_wx_user_add_log where wx_enterprise_id = #{enterpriseId} from tab_haoban_wx_user_add_log where wx_enterprise_id = #{wxEnterpriseId}
<if test="null != enterpriseId"> <if test="null != enterpriseId">
and enterprise_id = #{enterpriseId} and enterprise_id = #{enterpriseId}
</if> </if>
...@@ -199,7 +199,15 @@ ...@@ -199,7 +199,15 @@
<if test="null != clerkId"> <if test="null != clerkId">
and clerk_id = #{clerkId} and clerk_id = #{clerkId}
</if> </if>
and create_time >= #{startTime} and create_time <![CDATA[<=]]> #{endTime} <if test="null != startTime">
and create_time <![CDATA[>=]]> #{startTime}
</if>
<if test="null != endTime">
and create_time <![CDATA[<=]]> #{endTime}
</if>
<if test="null != addChannel">
and add_channel = #{addChannel}
</if>
and status_flag != 0 order by #{createTimeOrder} and status_flag != 0 order by #{createTimeOrder}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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