zhaowenxuan
2025-07-10 a1808ba0ff1ccc2efacb69c1033054dbaab8687f
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -26,6 +26,10 @@
        <result property="isMerge" column="is_merge"/>
        <result property="jyxmdm" column="jyxmdm"/>
        <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">
@@ -49,7 +53,9 @@
               specimen_type_code,
               is_merge,
               jyxmdm,
               jxbz
               jxbz,
               create_id,
               update_id
        from tj_sampling
    </sql>
@@ -137,6 +143,14 @@
            </if>
            <if test="jxbz != null">jxbz,
            </if>
            <if test="createId != null">create_id,
            </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},
@@ -180,6 +194,14 @@
            <if test="jyxmdm != null">#{jyxmdm},
            </if>
            <if test="jxbz != null">#{jxbz},
            </if>
            <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>
@@ -246,6 +268,14 @@
            <if test="jxbz != null">jxbz =
                #{jxbz},
            </if>
            <if test="createId != null">create_id = #{createId},
            </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>