Commit d1d23561 by 墨竹

fix:日志sql报错

parent c7892654
......@@ -186,7 +186,7 @@
<select id="listForPage" parameterType="com.gic.haoban.manage.api.dto.qdto.hm.WxUserAddLogSearchQDTO" resultMap="result-map-tabHaobanWxUserAddLog">
select
<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">
and enterprise_id = #{enterpriseId}
</if>
......@@ -199,7 +199,15 @@
<if test="null != clerkId">
and clerk_id = #{clerkId}
</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}
</select>
</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