| | |
| | | <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/> |
| | | <result property="updateUser" column="update_user" jdbcType="INTEGER"/> |
| | | <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/> |
| | | <result property="needSearchNew" column="need_search_new" jdbcType="INTEGER"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectStandardMethodList" resultType="com.ruoyi.basic.pojo.StandardMethod"> |
| | |
| | | sm.field, |
| | | sm.name_en, |
| | | sm.is_use, |
| | | sm.need_search_new, |
| | | sm.qualification_id, |
| | | COALESCE((SELECT GROUP_CONCAT(l.laboratory_name ORDER BY COALESCE(l.sort, 0), l.id SEPARATOR '、') |
| | | FROM standard_method_industry smi JOIN laboratory l ON l.id = smi.industry_id |
| | |
| | | sm.field, |
| | | sm.name_en, |
| | | sm.is_use, |
| | | sm.need_search_new, |
| | | sm.qualification_id |
| | | from standard_method sm |
| | | left join user u1 on sm.create_user = u1.id |