zhaowenxuan
6 天以前 696d71cdc4eefa49951b7e14556fe56072714edd
ltkj-hosp/src/main/resources/mapper/hosp/DictHospMapper.xml
@@ -31,6 +31,7 @@
        <result property="updateByName" column="update_by_name"/>
        <result property="imgbase64" column="imgBase64"/>
        <result property="deleted" column="deleted"/>
        <result property="introduction" column="introduction"/>
    </resultMap>
    <sql id="selectDictHospVo">
@@ -59,7 +60,8 @@
               create_by_name,
               update_by_name,
               imgBase64,
               deleted
               deleted,
               introduction
        from dict_hosp
    </sql>
@@ -116,6 +118,7 @@
            <if test="updateByName != null and updateByName != ''">update_by_name,</if>
            <if test="imgbase64 != null">imgBase64,</if>
            <if test="deleted != null">deleted,</if>
            <if test="introduction != null">introduction,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="hospAreaId != null">#{hospAreaId},</if>
@@ -144,6 +147,7 @@
            <if test="updateByName != null and updateByName != ''">#{updateByName},</if>
            <if test="imgbase64 != null">#{imgbase64},</if>
            <if test="deleted != null">#{deleted},</if>
            <if test="introduction != null">#{introduction},</if>
        </trim>
    </insert>
@@ -175,6 +179,7 @@
            <if test="updateByName != null and updateByName != ''">update_by_name = #{updateByName},</if>
            <if test="imgbase64 != null">imgBase64 = #{imgbase64},</if>
            <if test="deleted != null">deleted = #{deleted},</if>
            <if test="introduction != null">introduction = #{introduction},</if>
        </trim>
        where hosp_area_id = #{hospAreaId}
    </update>
@@ -191,4 +196,4 @@
            #{hospAreaId}
        </foreach>
    </delete>
</mapper>
</mapper>