zhaowenxuan
2024-11-01 fe9f16a02c89eb6c5264c06bf76e748a0d809647
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -262,4 +262,22 @@
            #{id}
        </foreach>
    </delete>
    <update id="updateHeBingXm" parameterType="java.util.Map">
        UPDATE tj_sampling a SET a.parent_id=#{parentId} WHERE a.id in
        <foreach item="id" collection="ids" open="(" separator="," close=")">
            #{id}
        </foreach>
    </update>
    <update id="updateHeBingXms" parameterType="java.util.Map">
        UPDATE tj_sampling a SET a.parent_id=null WHERE a.parent_id in
        <foreach item="id" collection="ids" open="(" separator="," close=")">
            #{id}
        </foreach>
    </update>
</mapper>