|
@@ -12,6 +12,9 @@
|
|
|
left join (select partyLifeMeetingId,count(0) as attendance from pf_partylifemeeting_personnel where isAbsenteeism = 0 group by partyLifeMeetingId) p1 on pfm.partyLifeMeetingId = p1.partyLifeMeetingId
|
|
|
left join (select partyLifeMeetingId,count(0) as absentCount from pf_partylifemeeting_personnel where isAbsenteeism = 1 group by partyLifeMeetingId) p2 on pfm.partyLifeMeetingId = p2.partyLifeMeetingId
|
|
|
where 1=1
|
|
|
+ <if test="id != null and id != ''">
|
|
|
+ and pfm.partyLifeMeetingId = #{id}
|
|
|
+ </if>
|
|
|
<if test="dzzdm != null and dzzdm != ''">
|
|
|
and pfm.partyCode like concat('%',#{dzzdm},'%')
|
|
|
</if>
|
|
@@ -43,7 +46,7 @@
|
|
|
<select id="selectMeetingPersonnelList" resultType="com.ghsc.partybuild.vo.PartyLifeMeetingPersonnelVo">
|
|
|
select pp.id, pp.partyLifeMeetingId, pp.rybm, pp.isAbsenteeism, pp.absenteeismCause,
|
|
|
pp.createTime, pp.createUserId, pp.updateTime, pp.updateUserId, u.XM, u.RYJBXXBS,
|
|
|
- case when pp.isAbsenteeism=1 then '缺勤' else '出勤' end as isAbsenteeismName
|
|
|
+ case when pp.isAbsenteeism=1 then '是' else '否' end as isAbsenteeismName
|
|
|
from pf_partylifemeeting_personnel pp
|
|
|
left join VM_RYJBXX u on pp.rybm = u.rybm
|
|
|
where pp.partyLifeMeetingId = #{partyLifeMeetingId}
|