|
@@ -54,7 +54,7 @@
|
|
|
</select>
|
|
</select>
|
|
|
<select id="previewOrderPlaceGymnasiumNoFixation" resultType="org.jeecg.modules.app.vo.OrderVO$PreviewOrderPlaceGymnasiumNoFixation">
|
|
<select id="previewOrderPlaceGymnasiumNoFixation" resultType="org.jeecg.modules.app.vo.OrderVO$PreviewOrderPlaceGymnasiumNoFixation">
|
|
|
SELECT
|
|
SELECT
|
|
|
- a.id AS placeId,
|
|
|
|
|
|
|
+ g.id AS placeId,
|
|
|
a.NAME AS name,
|
|
a.NAME AS name,
|
|
|
g.original_price,
|
|
g.original_price,
|
|
|
g.selling_price,
|
|
g.selling_price,
|
|
@@ -70,7 +70,7 @@
|
|
|
LEFT JOIN nm_site_price_rules g ON a.id = g.site_place_id
|
|
LEFT JOIN nm_site_price_rules g ON a.id = g.site_place_id
|
|
|
AND g.day_of_week = ( WEEKDAY( NOW()) + 1 )
|
|
AND g.day_of_week = ( WEEKDAY( NOW()) + 1 )
|
|
|
WHERE
|
|
WHERE
|
|
|
- a.id = #{placeId}
|
|
|
|
|
|
|
+ g.id = #{placeId}
|
|
|
</select>
|
|
</select>
|
|
|
<select id="findByConcertsAndTime" resultMap="ConcertsVOResult">
|
|
<select id="findByConcertsAndTime" resultMap="ConcertsVOResult">
|
|
|
<![CDATA[ select b.site_place_id,a.name as site_place_name,
|
|
<![CDATA[ select b.site_place_id,a.name as site_place_name,
|