fix: 投资系统,茅台预约,自测问题修复。

This commit is contained in:
tianyongbao
2024-12-07 23:54:15 +08:00
parent 2b3391bdd2
commit 8cca9b9c08
14 changed files with 33 additions and 105 deletions

View File

@@ -21,9 +21,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectIItemVo"/>
<where>
a.del_flag='0'
<if test="itemCode != null and itemCode != ''"> and a.item_code = #{itemCode}</if>
<if test="title != null and title != ''"> and a.title = #{title}</if>
<if test="content != null and content != ''"> and a.content = #{content}</if>
<if test="itemCode != null and itemCode != ''"> and a.item_code like '%'|| #{itemCode}||'%'</if>
<if test="title != null and title != ''"> and a.title like '%'|| #{title}||'%'</if>
<if test="content != null and content != ''"> and a.content like '%'|| #{content}||'%'</if>
</where>
order by a.create_time desc
</select>

View File

@@ -22,8 +22,8 @@
<include refid="selectILogVo"/>
<where>
a.del_flag='0'
<if test="mobile != null "> and a.mobile = #{mobile}</if>
<if test="logContent != null and logContent != ''"> and a.log_content = #{logContent}</if>
<if test="mobile != null and mobile != ''"> and a.mobile like '%'|| #{mobile}||'%'</if>
<if test="logContent != null and logContent != ''"> and a.log_content like '%'|| #{logContent}||'%'</if>
<if test="status != null and status != ''"> and a.status = #{status}</if>
<if test="operTime != null "> and a.oper_time = #{operTime}</if>
</where>

View File

@@ -40,7 +40,7 @@
<include refid="selectIUserVo"/>
<where>
a.del_flag='0'
<if test="mobile != null "> and a.mobile = #{mobile}</if>
<if test="mobile != null and mobile != ''"> and a.mobile like '%'|| #{mobile}||'%'</if>
<if test="token != null and token != ''"> and a.token = #{token}</if>
<if test="cookie != null and cookie != ''"> and a.cookie = #{cookie}</if>
<if test="deviceId != null and deviceId != ''"> and a.device_id = #{deviceId}</if>
@@ -63,7 +63,7 @@
order by a.create_time desc
</select>
<select id="selectIUserByMobile" parameterType="Long" resultMap="IUserResult">
<select id="selectIUserByMobile" parameterType="String" resultMap="IUserResult">
<include refid="selectIUserVo"/>
where a.mobile = #{mobile}
</select>