songhuangfeng123
2022-07-05 260687df882672c651f5f668d932b0f31c328ba4
emergency/emergency-service/src/main/resource/config/mapper/emergency/EmergencyTeamInfoMapper.xml
@@ -18,12 +18,12 @@
        <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>
@@ -32,12 +32,12 @@
        <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>
@@ -46,7 +46,7 @@
        <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>