zhaowenxuan
2024-10-16 c8f1a2becb00febfea90d50640a6760b16450d7f
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -22,6 +22,7 @@
        <result property="deleted" column="deleted"/>
        <result property="parentId" column="parent_id"/>
        <result property="jyxh" column="jyxh"/>
        <result property="specimenTypeCode" column="specimen_type_code"/>
    </resultMap>
    <sql id="selectTjSamplingVo">
@@ -41,7 +42,8 @@
               update_time,
               deleted,
               parent_id,
               jyxh
               jyxh,
               specimen_type_code
        from tj_sampling
    </sql>
@@ -121,6 +123,8 @@
            </if>
            <if test="jyxh != null">jyxh,
            </if>
            <if test="specimenTypeCode != null">specimen_type_code,
            </if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="id != null">#{id},
@@ -156,6 +160,8 @@
            <if test="parentId != null">#{parentId},
            </if>
            <if test="jyxh != null">#{jyxh},
            </if>
            <if test="specimenTypeCode != null">#{specimenTypeCode},
            </if>
        </trim>
    </insert>
@@ -210,6 +216,9 @@
            <if test="jyxh != null">jyxh =
                #{jyxh},
            </if>
            <if test="specimenTypeCode != null">specimen_type_code =
                #{specimenTypeCode},
            </if>
        </trim>
        where id = #{id}
    </update>