|
@@ -51,7 +51,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectTeamAnalysis" resultMap="TSaiApplyResult">
|
|
|
select d.DICT_LABEL as applicant_team, b.act as team_count
|
|
|
- from (select a.APPLICANT_TEAM at, count(a.APPLICANT_TEAM) act from T_SAI_APPLY a group by a.APPLICANT_TEAM order by a.APPLICANT_TEAM) b
|
|
|
+ from (select a.APPLICANT_TEAM at, count(a.APPLICANT_TEAM) act from T_SAI_APPLY a
|
|
|
+ where extract(year from a.apply_date) = extract(year from sysdate)
|
|
|
+ group by a.APPLICANT_TEAM order by a.APPLICANT_TEAM) b
|
|
|
left join SYS_DICT_DATA d on d.DICT_VALUE=b.at where d.DICT_TYPE='TEAM_DIVIDE' and d.DICT_LABEL <> 'W'
|
|
|
</select>
|
|
|
|