소스 검색

人员筛选中不展示禁止登陆人员

徐滕 9 시간 전
부모
커밋
da327efd04

+ 7 - 7
jeeplus-modules/jeeplus-assess/src/main/java/com/jeeplus/assess/reimbursement/reimbursementInfo/mapper/xml/ReimbursementInfoMapper.xml

@@ -152,7 +152,7 @@
 			sys_user a
 			LEFT JOIN sys_office b ON a.office_id = b.id
 		WHERE
-			a.del_flag = 0 and a.is_admin is null
+			a.del_flag = 0 and a.is_admin is null and a.login_flag = 1
 			<if test="name != null and name != ''">
 				and a.`name` LIKE CONCAT ('%', #{name}, '%')
 			</if>
@@ -169,7 +169,7 @@
 		sys_user a
 		LEFT JOIN sys_office b ON a.office_id = b.id
 		WHERE
-		a.del_flag = 0 and a.is_admin is null and a.tenant_id = '10002'
+		a.del_flag = 0 and a.is_admin is null and a.login_flag = 1 and a.tenant_id = '10002'
 		<if test="name != null and name != ''">
 			and a.`name` LIKE CONCAT ('%', #{name}, '%')
 		</if>
@@ -186,7 +186,7 @@
 		sys_user a
 		LEFT JOIN sys_office b ON a.office_id = b.id
 		WHERE
-		a.del_flag = 0 and a.is_admin is null and a.tenant_id = '10004' and b.name = #{zsOfficeName}
+		a.del_flag = 0 and a.is_admin is null and a.login_flag = 1 and a.tenant_id = '10004' and b.name = #{zsOfficeName}
 		<if test="name != null and name != ''">
 			and a.`name` LIKE CONCAT ('%', #{name}, '%')
 		</if>
@@ -203,7 +203,7 @@
 		sys_user a
 		LEFT JOIN sys_office b ON a.office_id = b.id
 		WHERE
-		a.del_flag = 0 and a.is_admin is null and a.tenant_id = '10003'
+		a.del_flag = 0 and a.is_admin is null and a.login_flag = 1 and a.tenant_id = '10003'
 		<if test="name != null and name != ''">
 			and a.`name` LIKE CONCAT ('%', #{name}, '%')
 		</if>
@@ -238,7 +238,7 @@
 		LEFT JOIN sys_office b ON a.office_id = b.id
 		left join sys_cert sc on a.id = sc.user_id and sc.del_flag = '0'
 		WHERE
-		a.del_flag = 0 and a.is_admin is null and sc.type = '6' and a.tenant_id = '10003'
+		a.del_flag = 0 and a.is_admin is null and a.login_flag = 1 and sc.type = '6' and a.tenant_id = '10003'
 		<if test="name != null and name != ''">
 			and a.`name` LIKE CONCAT ('%', #{name}, '%')
 		</if>
@@ -256,7 +256,7 @@
 		LEFT JOIN sys_office b ON a.office_id = b.id
 		left join sys_cert sc on a.id = sc.user_id and sc.del_flag = '0'
 		WHERE
-		a.del_flag = 0 and a.is_admin is null and a.tenant_id = '10002' and sc.type = '6'
+		a.del_flag = 0 and a.is_admin is null and a.login_flag = 1 and a.tenant_id = '10002' and sc.type = '6'
 		<if test="name != null and name != ''">
 			and a.`name` LIKE CONCAT ('%', #{name}, '%')
 		</if>
@@ -273,7 +273,7 @@
 		sys_user a
 		LEFT JOIN sys_office b ON a.office_id = b.id
 		WHERE
-		a.del_flag = 0 and a.is_admin is null and a.tenant_id = '10004' and a.login_flag = '1' and a.office_id = #{officeId}
+		a.del_flag = 0 and a.is_admin is null and a.login_flag = 1 and a.tenant_id = '10004' and a.login_flag = '1' and a.office_id = #{officeId}
 		<if test="name != null and name != ''">
 			and a.`name` LIKE CONCAT ('%', #{name}, '%')
 		</if>