Commit b9636269 authored by zhangzhenbang's avatar zhangzhenbang

试探性写了一两个接口

parent ee60a4c8
...@@ -40,6 +40,6 @@ public interface ReservationMapper { ...@@ -40,6 +40,6 @@ public interface ReservationMapper {
@Update("update reservation set auth_coordinate=#{authCoordinate},auth_time=#{authTime} where id = #{id}") @Update("update reservation set auth_coordinate=#{authCoordinate},auth_time=#{authTime} where id = #{id}")
int updateAuthInfo(Reservation reservation); int updateAuthInfo(Reservation reservation);
@Select("select * from reservation where verify_state=0") @Select("select * from reservation where verify_state=0 and identity_id=#{identityId}")
List<Reservation> selectNotVerifyReservatinsByIdentityId(IdentityInformation info); List<Reservation> selectNotVerifyReservatinsByIdentityId(IdentityInformation info);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment