lige
2024-02-29 228af2c61a61c9ff32271ecd533cabf52fd1bb1a
ltkj-hosp/src/main/resources/mapper/hosp/TjReportMapper.xml
@@ -9,6 +9,7 @@
        <result property="report" column="report"/>
        <result property="tjNumber" column="tj_number"/>
        <result property="path" column="path"/>
        <result property="print" column="print"/>
    </resultMap>
    <sql id="selectTjReportVo">
@@ -35,11 +36,13 @@
            <if test="report != null">report,</if>
            <if test="tjNumber != null">tj_number,</if>
            <if test="path != null">path,</if>
            <if test="print != null">print,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="report != null">#{report},</if>
            <if test="tjNumber != null">#{tjNumber},</if>
            <if test="path != null">#{path},</if>
            <if test="print != null">#{print},</if>
        </trim>
    </insert>
@@ -49,6 +52,7 @@
            <if test="report != null">report = #{report},</if>
            <if test="tjNumber != null">tj_number = #{tjNumber},</if>
            <if test="path != null">path = #{path},</if>
            <if test="print != null">print = #{print},</if>
        </trim>
        where re_id = #{reId}
    </update>
@@ -65,4 +69,4 @@
            #{reId}
        </foreach>
    </delete>
</mapper>
</mapper>