Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
Z
zion
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
zion
Commits
3b7f97ca
提交
3b7f97ca
authored
10月 29, 2019
作者:
zhengfg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
09a6fa5b
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
14 行删除
+11
-14
TbCfCouponEntity.java
.../com/diaoyun/zion/chinafrica/entity/TbCfCouponEntity.java
+7
-11
TbCfCouponDao.xml
src/main/resources/mapper/TbCfCouponDao.xml
+4
-3
没有找到文件。
src/main/java/com/diaoyun/zion/chinafrica/entity/TbCfCouponEntity.java
浏览文件 @
3b7f97ca
...
@@ -21,7 +21,7 @@ public class TbCfCouponEntity implements Serializable {
...
@@ -21,7 +21,7 @@ public class TbCfCouponEntity implements Serializable {
*优惠券发放表id
*优惠券发放表id
*/
*/
@ApiModelProperty
(
"优惠券发放表id"
)
@ApiModelProperty
(
"优惠券发放表id"
)
private
String
couponIssuetable
Id
;
private
String
issCoupon
Id
;
/**
/**
* 优惠券id
* 优惠券id
*/
*/
...
@@ -415,16 +415,12 @@ public class TbCfCouponEntity implements Serializable {
...
@@ -415,16 +415,12 @@ public class TbCfCouponEntity implements Serializable {
public
Date
getUpdateTime
()
{
public
Date
getUpdateTime
()
{
return
updateTime
;
return
updateTime
;
}
}
/**
* 获取:优惠券发放表id
public
String
getIssCouponId
()
{
*/
return
issCouponId
;
public
String
getCouponIssuetableId
()
{
return
couponIssuetableId
;
}
}
/**
* 设置:优惠券发放表id
public
void
setIssCouponId
(
String
issCouponId
)
{
*/
this
.
issCouponId
=
issCouponId
;
public
void
setCouponIssuetableId
(
String
couponIssuetableId
)
{
this
.
couponIssuetableId
=
couponIssuetableId
;
}
}
}
}
src/main/resources/mapper/TbCfCouponDao.xml
浏览文件 @
3b7f97ca
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
<result
property=
"updateUserId"
column=
"update_user_id"
/>
<result
property=
"updateUserId"
column=
"update_user_id"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"couponVaild"
column=
"coupon_vaild"
/>
<result
property=
"couponVaild"
column=
"coupon_vaild"
/>
<result
property=
"issCouponId"
column=
"coupon_issuetable_id"
/>
</resultMap>
</resultMap>
<select
id=
"queryObject"
resultType=
"com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"
>
<select
id=
"queryObject"
resultType=
"com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"
>
...
@@ -197,7 +198,7 @@
...
@@ -197,7 +198,7 @@
<!--查询用户所有有效的优惠券-->
<!--查询用户所有有效的优惠券-->
<select
id=
"queryUserAvailableCoupon"
resultType=
"com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"
>
<select
id=
"queryUserAvailableCoupon"
resultType=
"com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"
>
select
select
t3.coupon_issuetable_id,
t3.coupon_issuetable_id
issCouponId
,
t2.coupon_id,
t2.coupon_id,
t2.coupon_category_id,
t2.coupon_category_id,
t4.coupon_category_name,
t4.coupon_category_name,
...
@@ -237,7 +238,7 @@
...
@@ -237,7 +238,7 @@
<!--获取已使用的优惠券-->
<!--获取已使用的优惠券-->
<select
id=
"queryUserUsedCoupon"
resultType=
"com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"
>
<select
id=
"queryUserUsedCoupon"
resultType=
"com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"
>
select
select
t3.coupon_issuetable_id,
t3.coupon_issuetable_id
issCouponId
,
t2.coupon_id,
t2.coupon_id,
t2.coupon_category_id,
t2.coupon_category_id,
t4.coupon_category_name,
t4.coupon_category_name,
...
@@ -270,7 +271,7 @@
...
@@ -270,7 +271,7 @@
<!--获取已过期的优惠券-->
<!--获取已过期的优惠券-->
<select
id=
"queryUserExpiredoupon"
resultType=
"com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"
>
<select
id=
"queryUserExpiredoupon"
resultType=
"com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"
>
select
select
t3.coupon_issuetable_id,
t3.coupon_issuetable_id
issCouponId
,
t2.coupon_id,
t2.coupon_id,
t2.coupon_category_id,
t2.coupon_category_id,
t4.coupon_category_name,
t4.coupon_category_name,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论