|
|
@@ -9,7 +9,7 @@
|
|
|
left join xjr_user t3 on t1.user_id = t3.id
|
|
|
where t1.status = 1
|
|
|
<if test="dto.orgId != null">
|
|
|
- and t2.id = #{dto.orgId}
|
|
|
+ and t1.id = #{dto.orgId}
|
|
|
</if>
|
|
|
<if test="dto.startDate != null and dto.startDate != '' and dto.endDate != null and dto.endDate != ''">
|
|
|
and t1.shen_qing_ri_qi4752 between #{dto.startDate} and #{dto.endDate}
|
|
|
@@ -26,7 +26,7 @@
|
|
|
left join xjr_user t3 on t1.user_id = t3.id
|
|
|
where t1.status = 1
|
|
|
<if test="dto.orgId != null">
|
|
|
- and t2.id = #{dto.orgId}
|
|
|
+ and t1.id = #{dto.orgId}
|
|
|
</if>
|
|
|
<if test="dto.startDate != null and dto.startDate != '' and dto.endDate != null and dto.endDate != ''">
|
|
|
and t1.shen_qing_ri_qi4752 between #{dto.startDate} and #{dto.endDate}
|