Fix Bug #575: fallback修复

This commit is contained in:
2026-05-27 05:01:34 +08:00
parent cbb9be45e7
commit 8b1dfbaa7e
3 changed files with 171 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.openhis.application.mapper.SchedulePoolMapper">
<!-- 其它已有SQL省略 -->
<!-- 新增:原子递增 booked_num -->
<update id="incrementBookedNum" parameterType="long">
UPDATE adm_schedule_pool
SET booked_num = booked_num + 1
WHERE id = #{poolId}
</update>
</mapper>