zhaowenxuan
2025-01-02 1d6c4e61ef5327d425989a2db2d113462e44c2f0
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -28,6 +28,8 @@
        <result property="jxbz" column="jxbz"/>
        <result property="createId" column="create_id"/>
        <result property="updateId" column="update_id"/>
        <result property="isPay" column="is_pay"/>
        <result property="isApply" column="is_apply"/>
    </resultMap>
    <sql id="selectTjSamplingVo">
@@ -145,6 +147,10 @@
            </if>
            <if test="updateId != null">update_id,
            </if>
            <if test="isPay != null">is_pay,
            </if>
            <if test="isApply != null">is_apply,
            </if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="id != null">#{id},
@@ -192,6 +198,10 @@
            <if test="createId != null">#{createId},
            </if>
            <if test="updateId != null">#{updateId},
            </if>
            <if test="isPay != null">#{isPay},
            </if>
            <if test="isApply != null">#{isApply},
            </if>
        </trim>
    </insert>
@@ -262,6 +272,10 @@
            </if>
            <if test="updateId != null">update_id = #{updateId},
            </if>
            <if test="isPay != null">is_pay = #{isPay},
            </if>
            <if test="isApply != null">is_apply = #{isApply},
            </if>
        </trim>
        where id = #{id}
    </update>