| 123456789101112131415161718192021222324 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper
- PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.xjrsoft.module.student.mapper.BaseStudentDevelopmentMapper">
- <select id="getInfoById" resultType="com.xjrsoft.module.student.vo.BaseStudentDevelopmentVo">
- SELECT t1.id,t1.is_entrepreneurship,t1.entrepreneurial_project,t1.is_flexible_work,t1.work_content,
- t1.is_company_coop,t1.work_company,t7.name AS company_industry,t8.name AS company_nature,t2.name AS company_scale_cn,t1.is_matching,
- t1.money,t1.work_date,t1.work_city,t3.name AS culture_type_cn,t4.name AS ascending_channels_cn,
- t1.school,t1.admission_major,t1.score,t5.name AS ascending_arrangement_cn,t6.name AS unemployed_type_cn,t1.remark,t1.enroll_type,
- t1.culture_type,t1.ascending_channels,t1.unemployed_type
- FROM base_student_development t1
- LEFT JOIN xjr_dictionary_detail t2 ON t1.company_scale = t2.code
- LEFT JOIN xjr_dictionary_detail t3 ON t1.culture_type = t3.code
- LEFT JOIN xjr_dictionary_detail t4 ON t1.ascending_channels = t4.code
- LEFT JOIN xjr_dictionary_detail t5 ON t1.ascending_arrangement = t5.code
- LEFT JOIN xjr_dictionary_detail t6 ON t1.unemployed_type = t6.code
- LEFT JOIN xjr_dictionary_detail t7 ON t1.company_industry = t7.code
- LEFT JOIN xjr_dictionary_detail t8 ON t1.company_nature = t8.code
- WHERE t1.delete_mark = 0
- AND t1.id = #{id}
- </select>
- </mapper>
|