mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-24 14:09:36 +08:00
28 lines
994 B
XML
28 lines
994 B
XML
![]() |
<?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.ics.admin.mapper.ApplyRoomMapper">
|
||
|
|
||
|
<resultMap type="com.ics.admin.domain.ApplyRoom" id="ApplyRoomResult">
|
||
|
<result property="roomId" column="room_id" />
|
||
|
<result property="userId" column="user_id" />
|
||
|
</resultMap>
|
||
|
|
||
|
<sql id="selectApplyRoomVo">
|
||
|
SELECT id, room_id, user_id, create_by, create_time, update_by, update_time, version, delete_flag, tenant_id, park_id FROM ics_apply_room
|
||
|
</sql>
|
||
|
|
||
|
<select id="selectApplyRoomList" parameterType="ApplyRoom" resultMap="ApplyRoomResult">
|
||
|
<include refid="selectApplyRoomVo"/>
|
||
|
<where>
|
||
|
</where>
|
||
|
</select>
|
||
|
|
||
|
<select id="selectApplyRoomById" parameterType="Long" resultMap="ApplyRoomResult">
|
||
|
<include refid="selectApplyRoomVo"/>
|
||
|
WHERE id = #{id}
|
||
|
</select>
|
||
|
|
||
|
|
||
|
</mapper>
|