更新sql条件
This commit is contained in:
parent
80c82c68d3
commit
325e1a0300
@ -54,13 +54,13 @@
|
||||
LEFT JOIN xhpc_work_user u on o.user_id=u.work_user_id
|
||||
where o.del_flag=0
|
||||
<if test="params.orderType != null and params.orderType != ''">
|
||||
o.type=#{params.orderType}
|
||||
and o.type=#{params.orderType}
|
||||
</if>
|
||||
<if test="params.userName!=null and params.userName!=''">
|
||||
u.user_name like concat ('%', #{params.userName}, '%')
|
||||
and u.user_name like concat ('%', #{params.userName}, '%')
|
||||
</if>
|
||||
<if test="params.tenantId!=null and params.tenantId!=''">
|
||||
o.tenant_id = #{params.tenantId}
|
||||
and o.tenant_id = #{params.tenantId}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user