Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
Z
zion
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
zion
Commits
4483bd96
提交
4483bd96
authored
1月 03, 2020
作者:
luojie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改首页商品接口
上级
55a871b4
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
23 行增加
和
0 行删除
+23
-0
TbCfStationItemEntity.java
...diaoyun/zion/chinafrica/entity/TbCfStationItemEntity.java
+13
-0
TbCfStationItemDao.xml
src/main/resources/mapper/TbCfStationItemDao.xml
+10
-0
没有找到文件。
src/main/java/com/diaoyun/zion/chinafrica/entity/TbCfStationItemEntity.java
浏览文件 @
4483bd96
...
@@ -55,6 +55,10 @@ public class TbCfStationItemEntity implements Serializable {
...
@@ -55,6 +55,10 @@ public class TbCfStationItemEntity implements Serializable {
* 浏览人数
* 浏览人数
*/
*/
private
Long
itemNum
;
private
Long
itemNum
;
/**
* 商品库存
*/
private
Long
itemCount
;
/**
/**
* 所属平台
* 所属平台
*/
*/
...
@@ -82,6 +86,15 @@ public class TbCfStationItemEntity implements Serializable {
...
@@ -82,6 +86,15 @@ public class TbCfStationItemEntity implements Serializable {
private
Long
itemCollectionNum
;
private
Long
itemCollectionNum
;
public
Long
getItemCount
()
{
return
itemCount
;
}
public
void
setItemCount
(
Long
itemCount
)
{
this
.
itemCount
=
itemCount
;
}
public
Long
getItemCollectionNum
()
{
public
Long
getItemCollectionNum
()
{
return
itemCollectionNum
;
return
itemCollectionNum
;
}
}
...
...
src/main/resources/mapper/TbCfStationItemDao.xml
浏览文件 @
4483bd96
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
<result
property=
"itemUrl"
column=
"item_url"
/>
<result
property=
"itemUrl"
column=
"item_url"
/>
<result
property=
"itemImg"
column=
"item_img"
/>
<result
property=
"itemImg"
column=
"item_img"
/>
<result
property=
"itemNum"
column=
"item_num"
/>
<result
property=
"itemNum"
column=
"item_num"
/>
<result
property=
"itemCount"
column=
"item_count"
/>
<result
property=
"platformCode"
column=
"platform_code"
/>
<result
property=
"platformCode"
column=
"platform_code"
/>
<result
property=
"platformName"
column=
"platform_name"
/>
<result
property=
"platformName"
column=
"platform_name"
/>
<result
property=
"enableFlag"
column=
"enable_flag"
/>
<result
property=
"enableFlag"
column=
"enable_flag"
/>
...
@@ -34,6 +35,7 @@
...
@@ -34,6 +35,7 @@
`item_url`,
`item_url`,
`item_img`,
`item_img`,
`item_num`,
`item_num`,
`item_count`,
`platform_code`,
`platform_code`,
`platform_name`,
`platform_name`,
`enable_flag`,
`enable_flag`,
...
@@ -56,6 +58,7 @@
...
@@ -56,6 +58,7 @@
`item_url`,
`item_url`,
`item_img`,
`item_img`,
`item_num`,
`item_num`,
`item_count`,
`platform_code`,
`platform_code`,
`platform_name`,
`platform_name`,
`enable_flag`,
`enable_flag`,
...
@@ -100,6 +103,7 @@
...
@@ -100,6 +103,7 @@
`item_url`,
`item_url`,
`item_img`,
`item_img`,
`item_num`,
`item_num`,
`item_count`,
`platform_code`,
`platform_code`,
`platform_name`,
`platform_name`,
`enable_flag`,
`enable_flag`,
...
@@ -117,6 +121,7 @@
...
@@ -117,6 +121,7 @@
#{itemUrl},
#{itemUrl},
#{itemImg},
#{itemImg},
#{itemNum},
#{itemNum},
#{itemCount},
#{platformCode},
#{platformCode},
#{platformName},
#{platformName},
#{enableFlag},
#{enableFlag},
...
@@ -137,6 +142,7 @@
...
@@ -137,6 +142,7 @@
<if
test=
"itemUrl != null"
>
`item_url` = #{itemUrl},
</if>
<if
test=
"itemUrl != null"
>
`item_url` = #{itemUrl},
</if>
<if
test=
"itemImg != null"
>
`item_img` = #{itemImg},
</if>
<if
test=
"itemImg != null"
>
`item_img` = #{itemImg},
</if>
<if
test=
"itemNum != null"
>
`item_num` = #{itemNum},
</if>
<if
test=
"itemNum != null"
>
`item_num` = #{itemNum},
</if>
<if
test=
"itemCount != null"
>
`item_count` = #{itemCount},
</if>
<if
test=
"platformCode != null"
>
`platform_code` = #{platformCode},
</if>
<if
test=
"platformCode != null"
>
`platform_code` = #{platformCode},
</if>
<if
test=
"platformName != null"
>
`platform_name` = #{platformName},
</if>
<if
test=
"platformName != null"
>
`platform_name` = #{platformName},
</if>
<if
test=
"enableFlag != null"
>
`enable_flag` = #{enableFlag},
</if>
<if
test=
"enableFlag != null"
>
`enable_flag` = #{enableFlag},
</if>
...
@@ -170,6 +176,7 @@
...
@@ -170,6 +176,7 @@
`item_url`,
`item_url`,
`item_img`,
`item_img`,
`item_num`,
`item_num`,
`item_count`,
`platform_code`,
`platform_code`,
`platform_name`,
`platform_name`,
`enable_flag`,
`enable_flag`,
...
@@ -193,6 +200,7 @@
...
@@ -193,6 +200,7 @@
`item_url`,
`item_url`,
`item_img`,
`item_img`,
`item_num`,
`item_num`,
`item_count`,
`platform_code`,
`platform_code`,
`platform_name`,
`platform_name`,
`enable_flag`,
`enable_flag`,
...
@@ -213,6 +221,7 @@
...
@@ -213,6 +221,7 @@
`item_url`,
`item_url`,
`item_img`,
`item_img`,
`item_num`,
`item_num`,
`item_count`,
`platform_code`,
`platform_code`,
`platform_name`,
`platform_name`,
`enable_flag`,
`enable_flag`,
...
@@ -234,6 +243,7 @@
...
@@ -234,6 +243,7 @@
`item_url`,
`item_url`,
`item_img`,
`item_img`,
`item_num`,
`item_num`,
`item_count`,
`platform_code`,
`platform_code`,
`platform_name`,
`platform_name`,
`enable_flag`,
`enable_flag`,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论