| | |
| | | <result property="validFlag" column="valid_flag" typeHandler="com.nanometer.smartlab.entity.handler.ValidFlagHandler"></result> |
| | | <result property="createTime" column="create_time"></result> |
| | | <result property="updateTime" column="update_time"></result> |
| | | <result property="project" column="project"></result> |
| | | </resultMap> |
| | | |
| | | <sql id="queryWhereSql"> |
| | |
| | | where name = #{0} |
| | | and valid_flag = 1 |
| | | </select> |
| | | <select id="getPersonInCharge" resultType="java.util.Map"> |
| | | select su.phone |
| | | from sys_user as su |
| | | left join base_role as br on br.role_id = br.id |
| | | where su.project like concat("%",#{project},"%") |
| | | and su.valid_flag = 1 |
| | | and br.`name` = '实验负责人' |
| | | |
| | | </select> |
| | | <update id="updateLabExport" parameterType="com.nanometer.smartlab.entity.SysLaboratory"> |
| | | update sys_laboratory set |
| | | type=#{type}, |