| | |
| | | <if test="query.teamLevel != null and query.teamLevel != ''"> and `team_level` = #{query.teamLevel}</if> |
| | | </select> |
| | | |
| | | <insert id="addEmergencyTeam" parameterType="com.gkhy.safePlatform.emergency.entity.EmergencyTeamInfo"> |
| | | <insert id="addEmergencyTeam" parameterType="com.gkhy.safePlatform.emergency.entity.EmergencyTeamInfo" keyProperty="id" useGeneratedKeys="true"> |
| | | insert into emergency_team( |
| | | <if test="id != null ">id,</if> |
| | | <if test="delFlag != null ">del_flag,</if> |
| | | <if test="gmtCreate != null and gmtCreate != ''">gmt_create,</if> |
| | | <if test="gmtModitify != null and gmtModitify != ''">gmt_moditify,</if> |
| | | <if test="gmtCreate != null ">gmt_create,</if> |
| | | <if test="gmtModitify != null ">gmt_moditify,</if> |
| | | <if test="createUid != null ">create_uid,</if> |
| | | <if test="updateUid != null ">update_uid,</if> |
| | | <if test="principalUid != null ">principal_uid,</if> |
| | |
| | | <if test="teamName != null and teamName != ''">team_name,</if> |
| | | <if test="principalPhone != null and principalPhone != ''">principal_phone,</if> |
| | | <if test="telephoneNumber != null and telephoneNumber != ''">telephone_number,</if> |
| | | <if test="teamDesc != null and teamDesc != ''">team_desc,</if> |
| | | <if test="teamDesc != null and teamDesc != ''">team_desc</if> |
| | | )values( |
| | | <if test="id != null ">#{id},</if> |
| | | <if test="delFlag != null ">#{delFlag},</if> |
| | | <if test="gmtCreate != null and gmtCreate != ''">#{gmtCreate},</if> |
| | | <if test="gmtModitify != null and gmtModitify != ''">#{gmtModitify},</if> |
| | | <if test="gmtCreate != null ">#{gmtCreate},</if> |
| | | <if test="gmtModitify != null ">#{gmtModitify},</if> |
| | | <if test="createUid != null ">#{createUid},</if> |
| | | <if test="updateUid != null ">#{updateUid},</if> |
| | | <if test="principalUid != null ">#{principalUid},</if> |
| | |
| | | <if test="teamName != null and teamName != ''">#{teamName},</if> |
| | | <if test="principalPhone != null and principalPhone != ''">#{principalPhone},</if> |
| | | <if test="telephoneNumber != null and telephoneNumber != ''">#{telephoneNumber},</if> |
| | | <if test="teamDesc != null and teamDesc != ''">#{teamDesc},</if> |
| | | <if test="teamDesc != null and teamDesc != ''">#{teamDesc}</if> |
| | | ) |
| | | </insert> |
| | | |