瀏覽代碼

苏州人员筛选调整

徐滕 2 天之前
父節點
當前提交
d1e8e08ade

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

@@ -237,9 +237,9 @@
 		FROM
 		sys_user a
 		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'
+		left join sys_cert sc on a.id = sc.user_id and sc.del_flag = '0' and (sc.status = '5' or sc.status IS NULL)
 		WHERE
-		a.del_flag = 0 and a.is_admin is null and a.login_flag = 1 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'
 		<if test="name != null and name != ''">
 			and a.`name` LIKE CONCAT ('%', #{name}, '%')
 		</if>