| | |
| | | </foreach> |
| | | </select> |
| | | |
| | | <select id="getPersonAndRecognitionCount" resultType="com.gkhy.assess.system.domain.vo.PersonRecognitionVO"> |
| | | select count(1) as person_cnt,project_id,(select count(1) from ass_face_recognition where project_id =a.project_id) as recognition_cnt from ass_plan_person a |
| | | where a.del_flag=0 and a.project_id in |
| | | <foreach collection="projectIds" item="projectId" open="(" separator="," close=")"> |
| | | #{projectId} |
| | | </foreach> |
| | | group by a.project_id |
| | | </select> |
| | | |
| | | <select id="getMajorPlanPersonCountByProject" resultType="java.lang.Integer"> |
| | | select count(1) from ass_plan_person where del_flag=0 and job_type=2 and project_id=#{projectId} |
| | | </select> |
| | | |
| | | </mapper> |