修改数据查询接口

This commit is contained in:
huangdeliang
2020-12-09 22:09:07 +08:00
parent f727a6d758
commit f8010e8001
2 changed files with 24 additions and 27 deletions

View File

@ -50,7 +50,7 @@
<include refid="selectSysWxUserLogVo"/>
<where>
<if test="openid != null and openid != ''"> and openid = #{openid}</if>
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
<if test="phone != null and phone != ''"> or phone = #{phone}</if>
</where>
order by create_time desc
</select>
@ -59,9 +59,9 @@
<include refid="selectSysWxUserLogVo"/>
<where>
<if test="openid != null and openid != ''"> and openid = #{openid}</if>
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
<if test="phone != null and phone != ''"> or phone = #{phone}</if>
</where>
order by create_time asc
order by log_time asc
</select>
<select id="selectSysWxUserLogById" parameterType="String" resultMap="SysWxUserLogResult">