zjh
2025-02-07 45b5e3f63283e622f4321f3d03992343636dabf8
ltkj-hosp/src/main/resources/mapper/hosp/DictHospMapper.xml
@@ -31,7 +31,7 @@
        <result property="updateByName" column="update_by_name"/>
        <result property="imgbase64" column="imgBase64"/>
        <result property="deleted" column="deleted"/>
        <result property="database" column="database"/>
<!--        <result property="dbname" column="dbname"/>-->
    </resultMap>
    <sql id="selectDictHospVo">
@@ -60,7 +60,7 @@
               create_by_name,
               update_by_name,
               imgBase64,
               deleted,database
               deleted
        from dict_hosp
    </sql>
@@ -117,7 +117,6 @@
            <if test="updateByName != null and updateByName != ''">update_by_name,</if>
            <if test="imgbase64 != null">imgBase64,</if>
            <if test="deleted != null">deleted,</if>
            <if test="database != null">database,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="hospAreaId != null">#{hospAreaId},</if>
@@ -146,7 +145,6 @@
            <if test="updateByName != null and updateByName != ''">#{updateByName},</if>
            <if test="imgbase64 != null">#{imgbase64},</if>
            <if test="deleted != null">#{deleted},</if>
            <if test="database != null">#{database},</if>
        </trim>
    </insert>
@@ -178,7 +176,6 @@
            <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="database != null">database = #{database},</if>
        </trim>
        where hosp_area_id = #{hospAreaId}
    </update>