记得上下班打卡 | git大法好,push需谨慎

Commit 7c27abe0 authored by 胡佳晨's avatar 胡佳晨

Merge branch 'dev' into test

parents 2d4b51d9 b3086e1d
...@@ -14,23 +14,23 @@ import java.util.*; ...@@ -14,23 +14,23 @@ import java.util.*;
*/ */
public enum BannersTargetType { public enum BannersTargetType {
TARGET_TYPE1("PGC点播", 1), // TARGET_TYPE1("PGC点播", 1),
TARGET_TYPE2("PGC直播", 2), // TARGET_TYPE2("PGC直播", 2),
TARGET_TYPE5("场地", 5), TARGET_TYPE5("场地", 5),
TARGET_TYPE6("票务", 6), TARGET_TYPE6("票务", 6),
TARGET_TYPE7("商品", 7), TARGET_TYPE7("商品", 7),
// TARGET_TYPE8("巡演", 8), // TARGET_TYPE8("巡演", 8),
TARGET_TYPE12("活动跳转-可分享", 12), TARGET_TYPE12("活动跳转-可分享", 12),
TARGET_TYPE100("活动跳转", 100), TARGET_TYPE100("活动跳转", 100),
TARGET_TYPE13("积分商品", 13), // TARGET_TYPE13("积分商品", 13),
TARGET_TYPE14("商品集合", 14), TARGET_TYPE14("商品集合", 14),
TARGET_TYPE20("音乐人", 20), TARGET_TYPE20("音乐人", 20),
TARGET_TYPE21("歌曲", 21), TARGET_TYPE21("歌曲", 21),
TARGET_TYPE22("专辑", 22), TARGET_TYPE22("专辑", 22),
TARGET_TYPE23("视频播单", 23), // TARGET_TYPE23("视频播单", 23),
TARGET_TYPE24("音乐人集合", 24), TARGET_TYPE24("音乐人集合", 24),
TARGET_TYPE26("摩登会员", 26), TARGET_TYPE26("摩登会员", 26),
TARGET_TYPE201("youngBlood报名跳转", 201), // TARGET_TYPE201("youngBlood报名跳转", 201),
TARGET_TYPE0("不跳转", 0); TARGET_TYPE0("不跳转", 0);
private String name; private String name;
......
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
) AS 'total_sale_price' , ) AS 'total_sale_price' ,
otr.performance_id AS 'performance_id' FROM kylin_order_tickets AS ot LEFT JOIN kylin_order_ticket_status AS ots otr.performance_id AS 'performance_id' FROM kylin_order_tickets AS ot LEFT JOIN kylin_order_ticket_status AS ots
ON ots.order_id = ot.order_tickets_id LEFT JOIN kylin_order_ticket_relations AS otr ON otr.order_id = ON ots.order_id = ot.order_tickets_id LEFT JOIN kylin_order_ticket_relations AS otr ON otr.order_id =
ot.order_tickets_id WHERE (ots.`status` = 1 or ots.`status` = 0 or ots.`status` = 3) AND coupon_type = 'no' GROUP BY otr.performance_id ot.order_tickets_id WHERE (ots.`status` = 1 or ots.`status` = 0 or ots.`status` = 3 or ots.`status` = 6) AND coupon_type = 'no' GROUP BY otr.performance_id
) AS ot ON ot.performance_id = p.performances_id ) AS ot ON ot.performance_id = p.performances_id
<where> <where>
<if test="title!=''"> <if test="title!=''">
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
LEFT JOIN kylin_order_ticket_status AS ots ON ots.order_id = ot.order_tickets_id LEFT JOIN kylin_order_ticket_status AS ots ON ots.order_id = ot.order_tickets_id
LEFT JOIN kylin_order_ticket_relations AS otr ON otr.order_id = ot.order_tickets_id LEFT JOIN kylin_order_ticket_relations AS otr ON otr.order_id = ot.order_tickets_id
WHERE WHERE
(ots.`status` = 1 or ots.`status` = 0 or ots.`status` = 3) and coupon_type ='no' (ots.`status` = 1 or ots.`status` = 0 or ots.`status` = 3 or ots.`status` = 6) and coupon_type ='no'
GROUP BY otr.performance_id GROUP BY otr.performance_id
) AS ot ON ot.performance_id = p.performances_id ) AS ot ON ot.performance_id = p.performances_id
<where> <where>
...@@ -462,7 +462,7 @@ ...@@ -462,7 +462,7 @@
kylin_order_ticket_relations kotr kylin_order_ticket_relations kotr
inner join kylin_order_tickets AS kot on kotr.order_id = kot.order_tickets_id inner join kylin_order_tickets AS kot on kotr.order_id = kot.order_tickets_id
inner JOIN kylin_order_ticket_status AS kots ON kots.order_id = kot.order_tickets_id inner JOIN kylin_order_ticket_status AS kots ON kots.order_id = kot.order_tickets_id
WHERE kotr.performance_id = ${performancesId} and kots.`status` in (0,1,3) WHERE kotr.performance_id = ${performancesId} and kots.`status` in (0,1,3,6)
group by kotr.performance_id,kot.user_id group by kotr.performance_id,kot.user_id
) t ) t
) AS ut ON ut.performance_id = kp.performances_id ) AS ut ON ut.performance_id = kp.performances_id
...@@ -520,4 +520,4 @@ ...@@ -520,4 +520,4 @@
AND ots.status NOT IN (0, 2, 5) AND ots.status NOT IN (0, 2, 5)
AND ot.get_ticket_type = 'express' AND ot.get_ticket_type = 'express'
</select> </select>
</mapper> </mapper>
\ No newline at end of file
...@@ -190,7 +190,7 @@ public class DataImpl { ...@@ -190,7 +190,7 @@ public class DataImpl {
performancePartnerVo.setTimeStart(DateUtil.Formatter.yyyyMMddHHmmss.format(performances.getTimeStart())); performancePartnerVo.setTimeStart(DateUtil.Formatter.yyyyMMddHHmmss.format(performances.getTimeStart()));
performancePartnerVo.setTimeEnd(DateUtil.Formatter.yyyyMMddHHmmss.format(performances.getTimeEnd())); performancePartnerVo.setTimeEnd(DateUtil.Formatter.yyyyMMddHHmmss.format(performances.getTimeEnd()));
performancePartnerVo.setFieldId(performanceRelations.getFieldId()); performancePartnerVo.setFieldId(performanceRelations.getFieldId());
performancePartnerVo.setFieldName((String) redisUtil.hget(KylinRedisConst.FIELDS + ":" + performances.getPerformancesId(), "name")); performancePartnerVo.setFieldName((String) redisUtil.hget(KylinRedisConst.FIELDS + ":" + performanceRelations.getFieldId(), "name"));
performancePartnerVo.setNotice(performances.getNotice()); performancePartnerVo.setNotice(performances.getNotice());
performancePartnerVo.setSponsorId(performances.getSponsorId()); performancePartnerVo.setSponsorId(performances.getSponsorId());
performancePartnerVo.setSponsorType(performances.getSponsorType()); performancePartnerVo.setSponsorType(performances.getSponsorType());
......
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