zy-acs-manager/src/main/resources/mapper/manager/StaReserveMapper.xml
@@ -13,7 +13,20 @@ AND type = #{type} AND deleted = 0 AND status = 1 -- AND state IN ('WAITING','RESERVED'); -- AND state IN ('WAITING','RESERVED') </update> <update id="updateStateToWaiting"> UPDATE man_sta_reserve SET state = #{state}, waiting_at = IFNULL(waiting_at, NOW()), update_time = NOW() WHERE task_id = #{taskId} AND sta_id = #{staId} AND type = #{type} AND deleted = 0 AND status = 1 -- AND state IN ('RESERVED','WAITING') </update> </mapper>