zhaowenxuan
2024-12-11 4c3dee61da422e98ec1b9d798a77f47d8d45f7b6
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>