| | |
| | | <if test="createUid != null ">create_uid,</if> |
| | | <if test="updateUid != null ">update_uid,</if> |
| | | <if test="principalUid != null ">principal_uid,</if> |
| | | <if test="principalName != null and principalName != ''">principal_name,</if> |
| | | <if test="principalDepartmentId != null ">principal_department_id,</if> |
| | | <if test="teamLevel != null and teamLevel != ''">team_level,</if> |
| | | <if test="teamName != null and teamName != ''">team_name,</if> |
| | |
| | | <if test="createUid != null ">#{createUid},</if> |
| | | <if test="updateUid != null ">#{updateUid},</if> |
| | | <if test="principalUid != null ">#{principalUid},</if> |
| | | <if test="principalName != null and principalName != ''">#{principalName},</if> |
| | | <if test="principalDepartmentId != null ">#{principalDepartmentId},</if> |
| | | <if test="teamLevel != null and teamLevel != ''">#{teamLevel},</if> |
| | | <if test="teamName != null and teamName != ''">#{teamName},</if> |
| | |
| | | id="emergencyTeamInfoDetailDOResult"> |
| | | <id column="id" property="id" jdbcType="BIGINT"/> |
| | | <result column="principal_uid" property="principalUid"/> |
| | | <result column="principal_name" property="principalName"/> |
| | | <result column="principal_department_id" property="principalDepartmentId"/> |
| | | <result column="team_level" property="teamLevel"/> |
| | | <result column="team_name" property="teamName"/> |
| | |
| | | </resultMap> |
| | | |
| | | <select id="selectEmergencyTeamById" resultMap="emergencyTeamInfoDetailDOResult"> |
| | | select id,principal_uid,principal_department_id,`team_level`,`team_name`,`principal_phone`,telephone_number,`team_desc` |
| | | select id,principal_uid,principal_department_id,`team_level`,`team_name`,`principal_phone`,telephone_number,`team_desc`,principal_name |
| | | from emergency_team where del_flag = 0 and id = #{id} |
| | | </select> |
| | | |
| | |
| | | <if test="gmtModitify != null ">gmt_moditify = #{gmtModitify},</if> |
| | | <if test="updateUid != null ">update_uid = #{updateUid},</if> |
| | | <if test="principalUid != null ">principal_uid = #{principalUid},</if> |
| | | <if test="principalName != null and principalName != ''">principal_name = #{principalName},</if> |
| | | <if test="principalDepartmentId != null ">principal_department_id = #{principalDepartmentId},</if> |
| | | <if test="teamLevel != null and teamLevel != ''">team_level = #{teamLevel},</if> |
| | | <if test="teamName != null and teamName != ''">team_name = #{teamName},</if> |