| | |
| | | sa.user_id = bu.id |
| | | WHERE |
| | | 1=1 |
| | | and is_exam = 1 |
| | | and sa.apply_status = 2 |
| | | and bu.is_apply = 1 |
| | | and sa.exam_id is not null |
| | | and sa.exam_id = #{id} |
| | | </select> |
| | | |
| | | <!-- 查询培训考试人数--> |
| | |
| | | sr.user_id = bu.id |
| | | WHERE |
| | | 1=1 |
| | | and is_exam = 1 |
| | | and sr.cancel = 1 |
| | | and bu.is_train = 1 |
| | | and sr.train_exam_id is not null |
| | | and sr.train_exam_id = #{id} |
| | | </select> |
| | | |
| | | <!--查询已报名的的人信息集合--> |
| | |
| | | bd.id = bu.dept_id |
| | | WHERE |
| | | 1=1 |
| | | and is_exam = 1 |
| | | and sa.apply_status = 2 |
| | | and bu.is_apply = 1 |
| | | and sa.exam_id is not null |
| | | and sa.exam_id = #{id} |
| | | </select> |
| | | |
| | | <!--查询已培训报名的的人信息集合--> |
| | |
| | | bd.id = bu.dept_id |
| | | WHERE |
| | | 1=1 |
| | | and is_exam = 1 |
| | | and sr.cancel = 1 |
| | | and bu.is_train = 1 |
| | | and sr.train_exam_id is not null |
| | | and sr.train_exam_id = #{id} |
| | | </select> |
| | | |
| | | |