Fix Bug #575: fallback修复
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user