|
|
@@ -89,6 +89,11 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
|
|
|
+
|
|
|
+ <if test="vo.leaderName !=null and vo.leaderName!=''">
|
|
|
+ and su.leader_name=#{vo.leaderName}
|
|
|
+ </if>
|
|
|
+
|
|
|
<choose>
|
|
|
<when test='vo.managementSource == "2"'>
|
|
|
and (sur.role_id = 20 or sur.role_id = 21)
|
|
|
@@ -146,6 +151,10 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
|
|
|
+ <if test="vo.leaderName !=null and vo.leaderName!=''">
|
|
|
+ and su.leader_name=#{vo.leaderName}
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="vo.deptId !=null and vo.deptId!=''">
|
|
|
and sd.id like concat('%',#{vo.deptId},'%')
|
|
|
</if>
|
|
|
@@ -221,6 +230,9 @@
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ <if test="vo.leaderName !=null and vo.leaderName!=''">
|
|
|
+ and su.leader_name=#{vo.leaderName}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
@@ -243,6 +255,10 @@
|
|
|
AND DATE_FORMAT(iac.createtime, '%Y-%m-%d') BETWEEN DATE_FORMAT(#{vo.enterTimeStart}, '%Y-%m-%d') AND DATE_FORMAT(#{vo.enterTimeEnd}, '%Y-%m-%d')
|
|
|
</if>
|
|
|
|
|
|
+ <if test="vo.leaderName !=null and vo.leaderName!=''">
|
|
|
+ and su.leader_name=#{vo.leaderName}
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="vo.userName !=null and vo.userName!=''">
|
|
|
and su.name=#{vo.userName}
|
|
|
</if>
|