|
|
@@ -514,7 +514,7 @@
|
|
|
<select id="listAdminByName" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
select id,name from admin where name like concat('%',#{name},'%')
|
|
|
<if test="status==0">
|
|
|
- and status= '正常'
|
|
|
+ and status= '0'
|
|
|
</if>
|
|
|
<if test="status==1">
|
|
|
and status= '1'
|
|
|
@@ -824,7 +824,7 @@
|
|
|
on a.contacts_id=b.id left join department c
|
|
|
on c.id=b.department_id left join user_role x on x.uid=b.id
|
|
|
left join `role` y on x.rid=y.id
|
|
|
- where b.status ='正常'
|
|
|
+ where b.status ='0'
|
|
|
<if test="roleName != null">
|
|
|
and y.role_name= #{roleName,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -851,7 +851,7 @@
|
|
|
on a.contacts_id=b.id
|
|
|
left join user_role x on x.uid=b.id
|
|
|
left join `role` y on x.rid=y.id
|
|
|
- where b.status ='正常'
|
|
|
+ where b.status ='0'
|
|
|
<if test="roleName != null">
|
|
|
and y.role_name= #{roleName,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -875,7 +875,7 @@
|
|
|
</delete>
|
|
|
<select id="getaidFrequentContacts" resultType="java.lang.String">
|
|
|
select b.id from admin_contacts a left join admin b on a.contacts_id = b.id
|
|
|
- where b.status = '正常' and a.aid= #{id,jdbcType=VARCHAR}
|
|
|
+ where b.status = '0' and a.aid= #{id,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
|
|
|
|