|
|
@@ -53,6 +53,10 @@
|
|
|
<if test="vo.enterTimeStart != null and vo.enterTimeStart!='' and vo.enterTimeEnd != null and vo.enterTimeEnd != ''">
|
|
|
AND iac.createtime BETWEEN #{vo.enterTimeStart} AND #{vo.enterTimeEnd}
|
|
|
</if>
|
|
|
+
|
|
|
+ <if test="vo.leaderName != null and vo.leaderName!='' ">
|
|
|
+ AND iac.leader_name = #{vo.leaderName}
|
|
|
+ </if>
|
|
|
<if test="vo.userIds !=null and vo.userIds!='' and vo.userIds.size()>0">
|
|
|
AND su.leader_id IN
|
|
|
<foreach collection="vo.userIds" item="item" open="(" separator="," close=")">
|
|
|
@@ -120,6 +124,9 @@
|
|
|
<if test="vo.signingTimeStart != null and vo.signingTimeStart!='' and vo.signingTimeEnd != null and vo.signingTimeEnd != ''">
|
|
|
AND iac.signing_time BETWEEN #{vo.signingTimeStart} AND #{vo.signingTimeEnd}
|
|
|
</if>
|
|
|
+ <if test="vo.leaderName != null and vo.leaderName!='' ">
|
|
|
+ AND iac.leader_name = #{vo.leaderName}
|
|
|
+ </if>
|
|
|
<if test="vo.enterTimeStart != null and vo.enterTimeStart!='' and vo.enterTimeEnd != null and vo.enterTimeEnd != ''">
|
|
|
AND iac.createtime BETWEEN #{vo.enterTimeStart} AND #{vo.enterTimeEnd}
|
|
|
</if>
|
|
|
@@ -197,6 +204,9 @@
|
|
|
<if test="vo.days !=null and vo.days !='' and vo.days != 0 ">
|
|
|
and iac.createtime >= DATE_SUB(NOW(), INTERVAL #{vo.days} DAY)
|
|
|
</if>
|
|
|
+ <if test="vo.leaderName != null and vo.leaderName!='' ">
|
|
|
+ AND iac.leader_name = #{vo.leaderName}
|
|
|
+ </if>
|
|
|
|
|
|
<if test="vo.userName !=null and vo.userName!=''">
|
|
|
and io.userName=#{vo.userName}
|
|
|
@@ -259,6 +269,9 @@
|
|
|
<if test="vo.userId !=null and vo.userId!=''">
|
|
|
and su.id=#{vo.userId}
|
|
|
</if>
|
|
|
+ <if test="vo.leaderName != null and vo.leaderName!='' ">
|
|
|
+ AND iac.leader_name = #{vo.leaderName}
|
|
|
+ </if>
|
|
|
<if test="vo.proportionUserIds !=null and vo.proportionUserIds!='' and vo.proportionUserIds.size()>0">
|
|
|
and su.id in
|
|
|
<foreach collection="vo.proportionUserIds" item="item" open="(" separator="," close=")">
|