联查连接器相关字段

This commit is contained in:
xiang2lin 2025-05-12 13:46:43 +08:00
parent bd9c7b166d
commit a14706e2a3
2 changed files with 15 additions and 1 deletions

View File

@ -88,6 +88,9 @@ public class SysUserEntity extends BaseEntity {
private String wxUserId; private String wxUserId;
//sys_flow模块用
private String flowClassId;
public String getDdUserId() { public String getDdUserId() {
return ddUserId; return ddUserId;
} }
@ -247,5 +250,13 @@ public class SysUserEntity extends BaseEntity {
public void setPersonCode(String personCode) { public void setPersonCode(String personCode) {
this.personCode = personCode; this.personCode = personCode;
} }
public String getFlowClassId() {
return flowClassId;
}
public void setFlowClassId(String flowClassId) {
this.flowClassId = flowClassId;
}
} }

View File

@ -291,6 +291,7 @@
,a.org_id ,a.org_id
,a.company_id ,a.company_id
,p.person_Name ,p.person_Name
,p.person_code
,p.mobile_phone ,p.mobile_phone
,o.organ_name ,o.organ_name
from from
@ -323,8 +324,10 @@
<if test="org_id != null and org_id != ''">and a.org_id like concat('%',#{org_id},'%')</if> <if test="org_id != null and org_id != ''">and a.org_id like concat('%',#{org_id},'%')</if>
<if test="companyId != null and companyId != ''">and a.company_id like concat('%',#{companyId},'%')</if> <if test="companyId != null and companyId != ''">and a.company_id like concat('%',#{companyId},'%')</if>
<if test="organId != null and organId != ''">and p.organ_id = #{organId}</if> <if test="organId != null and organId != ''">and p.organ_id = #{organId}</if>
<if test="mobilePhone != null and mobilePhone != ''">and p.mobile_phone like concat('%',#{mobilePhone},'%')</if>
<if test="personName != null and personName != ''">and p.person_Name like concat('%',#{personName},'%')</if>
and a.sts='Y' and a.sts='Y'
and a.id not in (select user_id from sys_flow_class_rule where sts = 'Y') and a.id not in (select user_id from sys_flow_class_rule where sts = 'Y' and flow_class_id = #{flowClassId})
</trim> </trim>
</select> </select>