项目问题处理
This commit is contained in:
parent
e5d81539fd
commit
f169e4e723
|
@ -17,12 +17,6 @@
|
||||||
<if test="turbineDesc != null and turbineDesc != ''">
|
<if test="turbineDesc != null and turbineDesc != ''">
|
||||||
and t.turbine_desc like concat ('%', #{turbineDesc}, '%')
|
and t.turbine_desc like concat ('%', #{turbineDesc}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="manufacturer != null and manufacturer != ''">
|
|
||||||
and t.turbine_manufacturer like concat ('%', #{manufacturer}, '%')
|
|
||||||
</if>
|
|
||||||
<if test="model != null and model != ''">
|
|
||||||
and t.turbine_model like concat ('%', #{model}, '%')
|
|
||||||
</if>
|
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
@ -12,24 +12,6 @@
|
||||||
<include refid="Base_Column_List"/>
|
<include refid="Base_Column_List"/>
|
||||||
from user a
|
from user a
|
||||||
<where>
|
<where>
|
||||||
<if test="keyword != null and keyword != ''">
|
|
||||||
# and (a.TODO like concat('%', #{keyword,jdbcType=VARCHAR}, '%') or a.TODO like concat('%', #{keyword,jdbcType=VARCHAR}, '%'))
|
|
||||||
</if>
|
|
||||||
<if test="userId != null and userId != ''">
|
|
||||||
and a.user_id like concat ('%', #{user_id}, '%')
|
|
||||||
</if>
|
|
||||||
<if test="name != null and name != ''">
|
|
||||||
and a.name like concat ('%', #{name}, '%')
|
|
||||||
</if>
|
|
||||||
<if test="roleType != null and roleType != ''">
|
|
||||||
and a.role_type like concat ('%', #{roleType}, '%')
|
|
||||||
</if>
|
|
||||||
<if test="companyId != null and companyId != ''">
|
|
||||||
and a.company_id like concat ('%', #{companyId}, '%')
|
|
||||||
</if>
|
|
||||||
<if test="password != null and password != ''">
|
|
||||||
and a.password like concat ('%', #{password}, '%')
|
|
||||||
</if>
|
|
||||||
<if test="status != null">
|
<if test="status != null">
|
||||||
and a.status = #{status}
|
and a.status = #{status}
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in New Issue