ods_ticketitemproductdiscountdetail_di
转载mb5ff2f2755a961 ©著作权
SELECT
ticketitemid,
userid,
productuid,
discounttype,
case when discounttype is null or discounttype=0 then '无折扣'
when discounttype=1 then '搭赠'
when discounttype=2 then '换购'
when discounttype=3 then '打折与特价'
when discounttype=4 then '第二件打折'
when discounttype=5 then '会员折扣'
when discounttype=6 then '商品手动改价(单品折扣)'
when discounttype=7 then '套餐'
when discounttype=8 then '满额返现'
when discounttype=9 then '次卡消费'
when discounttype=10 then '会员积分兑换现金'
when discounttype=11 then '会员积分兑换商品'
when discounttype=12 then '整单折扣/整单改价、优惠券'
when discounttype=13 then '梯度优惠'
else '其他优惠' end as discounttype_name,
discountrate,
discountamount,
discounttotalamount,
discountruleuid,
pt
FROM pspldata.ods_ticketitemproductdiscountdetail_di
WHERE pt > '${start_date}' AND pt<='${end_date}'
举报文章
请选择举报类型
内容侵权
涉嫌营销
内容抄袭
违法信息
其他
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M
相关文章
-
美团 Flink 大作业部署与状态稳定性优化实践
美团数据平台工程师冯斐、王非凡在 Flink Forward Asia 2021 生产实践专场的演讲
Flink 大数据 hdfs jar flink -
Java编程:迪杰斯特拉算法(已知固定起点最短路径问题)
迪杰斯特拉算法——固定起点的最短路径问题
结点 最短距离 最短路径 C -
河南智游科技 超市管理系统
超市商品管理系统一、语言和环境A、实现语言 JavaB、环境要求 myEclipse, JDK6, Tomcat 6.0, oracle二、功能要求 某超市计划使用SSH(Struts2+Spring+Hibernate)框架开发一套商品管理系统,oracle作为后台数据库。其中“商品录入和显示”功能由你来完成。
hibernate Java开发工具 就业框架学习 intellij idea Spring DI
07669c87dd6d 9 月前
eb8ba018192c 9 月前