|
@@ -13,7 +13,7 @@
|
|
|
#{roomId}
|
|
#{roomId}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</select>
|
|
</select>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<select id="conflictBookingTime" resultType="org.jeecg.modules.business.entity.BusBookingRooms">
|
|
<select id="conflictBookingTime" resultType="org.jeecg.modules.business.entity.BusBookingRooms">
|
|
|
select DISTINCT CONCAT(IFNULL(r.prefix,''),r.`name`) as room_id from
|
|
select DISTINCT CONCAT(IFNULL(r.prefix,''),r.`name`) as room_id from
|
|
|
(
|
|
(
|
|
@@ -38,6 +38,7 @@
|
|
|
|
|
|
|
|
<select id="getPage" resultType="org.jeecg.modules.business.vo.RoomLivingQueryVo">
|
|
<select id="getPage" resultType="org.jeecg.modules.business.vo.RoomLivingQueryVo">
|
|
|
SELECT DISTINCT
|
|
SELECT DISTINCT
|
|
|
|
|
+ r.room_id,
|
|
|
tb.living_order_id,
|
|
tb.living_order_id,
|
|
|
o.living_order_no,
|
|
o.living_order_no,
|
|
|
CONCAT( ifnull( rm.`prefix`, '' ), rm.`name` ) AS room_name,
|
|
CONCAT( ifnull( rm.`prefix`, '' ), rm.`name` ) AS room_name,
|
|
@@ -74,4 +75,4 @@
|
|
|
where (o.living_order_no like '%#{keyw}%' or rm.`name` like '%#{keyw}%' or tb.customer_name like '%#{keyw}%')
|
|
where (o.living_order_no like '%#{keyw}%' or rm.`name` like '%#{keyw}%' or tb.customer_name like '%#{keyw}%')
|
|
|
</if>
|
|
</if>
|
|
|
</select>
|
|
</select>
|
|
|
-</mapper>
|
|
|
|
|
|
|
+</mapper>
|