|
@@ -8,14 +8,9 @@
|
|
|
FROM
|
|
|
privilege_apply_record
|
|
|
<where>
|
|
|
- <if test="io.phone != null and io.phone != ''">
|
|
|
- AND phone LIKE CONCAT('%',#{io.phone},'%')
|
|
|
+ <if test="io.key != null and io.key != ''">
|
|
|
+ AND (phone LIKE CONCAT('%',#{io.key},'%') OR remark LIKE CONCAT('%',#{io.key},'%'))
|
|
|
</if>
|
|
|
-
|
|
|
- <if test="io.remark != null and io.remark != ''">
|
|
|
- AND remark LIKE CONCAT('%',#{io.phone},'%')
|
|
|
- </if>
|
|
|
-
|
|
|
<if test="io.status != null">
|
|
|
AND status = #{io.status}
|
|
|
</if>
|