Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
scsm
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
svn
scsm
Commits
9f88a79e
提交
9f88a79e
authored
12月 09, 2020
作者:
renjiancai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
上级
da078b80
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
237 行增加
和
0 行删除
+237
-0
BaseRequestPath.java
...src/main/java/com/zrqx/core/constant/BaseRequestPath.java
+2
-0
SaveUpdateEbookForm.java
...zrqx/core/form/resource/bg/ebook/SaveUpdateEbookForm.java
+17
-0
FgQueryIndexEbookInfoForm.java
.../form/resource/fg/pc/index/FgQueryIndexEbookInfoForm.java
+13
-0
Ebook.java
...c/main/java/com/zrqx/core/model/resource/ebook/Ebook.java
+18
-0
EbookVO.java
...rc/main/java/com/zrqx/core/vo/resource/ebook/EbookVO.java
+17
-0
ImportExcelBookVO.java
...va/com/zrqx/core/vo/resource/ebook/ImportExcelBookVO.java
+90
-0
FgIndexEbookListVO.java
...zrqx/core/vo/resource/fg/pc/index/FgIndexEbookListVO.java
+80
-0
没有找到文件。
com.zrqx.core/src/main/java/com/zrqx/core/constant/BaseRequestPath.java
浏览文件 @
9f88a79e
...
@@ -12,6 +12,8 @@ public class BaseRequestPath {
...
@@ -12,6 +12,8 @@ public class BaseRequestPath {
public
static
final
String
BG
=
"/bg"
;
public
static
final
String
BG
=
"/bg"
;
/** 前台根路径 */
/** 前台根路径 */
public
static
final
String
FG
=
"/fg"
;
public
static
final
String
FG
=
"/fg"
;
/** 前台根路径 */
public
static
final
String
FG_PC
=
"/fg_pc"
;
public
static
final
String
OBJECTID
=
"oid"
;
public
static
final
String
OBJECTID
=
"oid"
;
public
static
final
String
PARENTID
=
"pid"
;
public
static
final
String
PARENTID
=
"pid"
;
...
...
com.zrqx.core/src/main/java/com/zrqx/core/form/resource/bg/ebook/SaveUpdateEbookForm.java
浏览文件 @
9f88a79e
...
@@ -80,4 +80,21 @@ public class SaveUpdateEbookForm {
...
@@ -80,4 +80,21 @@ public class SaveUpdateEbookForm {
private
List
<
EbookDiyType
>
diyType
;
private
List
<
EbookDiyType
>
diyType
;
@ApiModelProperty
(
"中图分类号"
)
@ApiModelProperty
(
"中图分类号"
)
private
String
clcnumber
;
private
String
clcnumber
;
//判断资源在当前电商平台的状态
@ApiModelProperty
(
"亚马逊"
)
private
String
amazon
;
@ApiModelProperty
(
"亚马逊状态:0隐藏 1显示"
)
private
Integer
amazon_Status
;
@ApiModelProperty
(
"天猫"
)
private
String
tmall
;
@ApiModelProperty
(
"天猫状态:0隐藏 1显示"
)
private
Integer
tmall_Status
;
@ApiModelProperty
(
"京东"
)
private
String
jd
;
@ApiModelProperty
(
"京东状态:0隐藏 1显示"
)
private
Integer
jd_Status
;
@ApiModelProperty
(
"当当"
)
private
String
dangDang
;
@ApiModelProperty
(
"当当状态:0隐藏 1显示"
)
private
Integer
dangDang_Status
;
}
}
com.zrqx.core/src/main/java/com/zrqx/core/form/resource/fg/pc/index/FgQueryIndexEbookInfoForm.java
0 → 100644
浏览文件 @
9f88a79e
package
com
.
zrqx
.
core
.
form
.
resource
.
fg
.
pc
.
index
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@Data
@ApiModel
(
value
=
"FgQueryEbookInfoForm"
,
description
=
"电子书查询"
)
public
class
FgQueryIndexEbookInfoForm
{
@ApiModelProperty
(
"关键词"
)
private
String
keywords
;
@ApiModelProperty
(
"自定义分类code"
)
private
String
diyTypeCode
;
}
com.zrqx.core/src/main/java/com/zrqx/core/model/resource/ebook/Ebook.java
浏览文件 @
9f88a79e
...
@@ -93,4 +93,22 @@ public class Ebook {
...
@@ -93,4 +93,22 @@ public class Ebook {
private
Integer
pdfResourceType
;
private
Integer
pdfResourceType
;
@ApiModelProperty
(
"中图分类号"
)
@ApiModelProperty
(
"中图分类号"
)
private
String
clcnumber
;
private
String
clcnumber
;
//判断资源在当前电商平台的状态
@ApiModelProperty
(
"亚马逊"
)
private
String
amazon
;
@ApiModelProperty
(
"亚马逊状态:0隐藏 1显示"
)
private
Integer
amazon_Status
;
@ApiModelProperty
(
"天猫"
)
private
String
tmall
;
@ApiModelProperty
(
"天猫状态:0隐藏 1显示"
)
private
Integer
tmall_Status
;
@ApiModelProperty
(
"京东"
)
private
String
jd
;
@ApiModelProperty
(
"京东状态:0隐藏 1显示"
)
private
Integer
jd_Status
;
@ApiModelProperty
(
"当当"
)
private
String
dangDang
;
@ApiModelProperty
(
"当当状态:0隐藏 1显示"
)
private
Integer
dangDang_Status
;
}
}
com.zrqx.core/src/main/java/com/zrqx/core/vo/resource/ebook/EbookVO.java
浏览文件 @
9f88a79e
...
@@ -85,4 +85,21 @@ public class EbookVO {
...
@@ -85,4 +85,21 @@ public class EbookVO {
private
List
<
EbookDiyType
>
diyType
;
private
List
<
EbookDiyType
>
diyType
;
@ApiModelProperty
(
"中图分类号"
)
@ApiModelProperty
(
"中图分类号"
)
private
String
clcnumber
;
private
String
clcnumber
;
//判断资源在当前电商平台的状态
@ApiModelProperty
(
"亚马逊"
)
private
String
amazon
;
@ApiModelProperty
(
"亚马逊状态:0隐藏 1显示"
)
private
Integer
amazon_Status
;
@ApiModelProperty
(
"天猫"
)
private
String
tmall
;
@ApiModelProperty
(
"天猫状态:0隐藏 1显示"
)
private
Integer
tmall_Status
;
@ApiModelProperty
(
"京东"
)
private
String
jd
;
@ApiModelProperty
(
"京东状态:0隐藏 1显示"
)
private
Integer
jd_Status
;
@ApiModelProperty
(
"当当"
)
private
String
dangDang
;
@ApiModelProperty
(
"当当状态:0隐藏 1显示"
)
private
Integer
dangDang_Status
;
}
}
com.zrqx.core/src/main/java/com/zrqx/core/vo/resource/ebook/ImportExcelBookVO.java
0 → 100644
浏览文件 @
9f88a79e
package
com
.
zrqx
.
core
.
vo
.
resource
.
ebook
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
com.zrqx.core.util.excelutil.ExcelResources
;
import
com.zrqx.core.util.excelutil.ExcelSheetParams
;
import
io.swagger.annotations.ApiModelProperty
;
/**
* 图书导出、导入
* @author rjc
* @date 2019年2月18日下午4:33:03
*/
@ExcelSheetParams
(
startRow
=
2
)
@Data
public
class
ImportExcelBookVO
{
@ExcelResources
(
title
=
"正书名"
)
private
String
name
;
@ExcelResources
(
title
=
"ISBN"
)
private
String
isbn
;
@ExcelResources
(
title
=
"译者"
)
private
String
translator
;
@ExcelResources
(
title
=
"第一责任者及著作方式"
)
private
String
author
;
@ExcelResources
(
title
=
"责任编辑"
)
private
String
executiveEditor
;
@ExcelResources
(
title
=
"版次"
)
private
String
edition
;
@ExcelResources
(
title
=
"出版时间"
)
private
String
publishTime
;
@ExcelResources
(
title
=
"出版单位"
)
private
String
publisher
;
@ExcelResources
(
title
=
"字数 千字"
)
private
String
fontCount
;
@ExcelResources
(
title
=
"开本"
)
private
String
format
;
@ExcelResources
(
title
=
"页数"
)
private
String
pages
;
@ExcelResources
(
title
=
"用纸"
)
private
String
printCount
;
@ExcelResources
(
title
=
"包装类型 0平装 1精装 2线装"
)
private
Integer
type
;
@ExcelResources
(
title
=
"电子书链接"
)
private
String
bookLinks
;
@ExcelResources
(
title
=
"条形码"
)
private
String
bookImg
;
@ExcelResources
(
title
=
"电子书封面"
)
private
String
bookCover
;
@ExcelResources
(
title
=
"编辑推荐"
)
private
String
editorRecommend
;
@ExcelResources
(
title
=
"内容简介"
)
private
String
intro
;
@ExcelResources
(
title
=
"作者简介"
)
private
String
authorIntro
;
@ExcelResources
(
title
=
"精彩书评"
)
private
String
bookReview
;
@ExcelResources
(
title
=
"图书目录"
)
private
String
bookCatalog
;
@ExcelResources
(
title
=
"精彩书摘"
)
private
String
bookExtract
;
@ExcelResources
(
title
=
"产品特色"
)
private
String
bookCharacteristic
;
@ExcelResources
(
title
=
"前言/序言"
)
private
String
foreword
;
@ExcelResources
(
title
=
"图书信息"
)
private
String
bookInformation
;
@ExcelResources
(
title
=
"定价"
)
private
BigDecimal
price
;
@ExcelResources
(
title
=
"亚马逊"
)
private
String
amazon
;
@ExcelResources
(
title
=
"亚马逊状态:0隐藏 1显示"
)
private
Integer
amazon_Status
;
@ExcelResources
(
title
=
"天猫"
)
private
String
tmall
;
@ExcelResources
(
title
=
"天猫状态:0隐藏 1显示"
)
private
Integer
tmall_Status
;
@ExcelResources
(
title
=
"京东"
)
private
String
jd
;
@ExcelResources
(
title
=
"京东状态:0隐藏 1显示"
)
private
Integer
jd_Status
;
@ExcelResources
(
title
=
"当当"
)
private
String
dangDang
;
@ExcelResources
(
title
=
"当当状态:0隐藏 1显示"
)
private
Integer
dangDang_Status
;
}
com.zrqx.core/src/main/java/com/zrqx/core/vo/resource/fg/pc/index/FgIndexEbookListVO.java
0 → 100644
浏览文件 @
9f88a79e
package
com
.
zrqx
.
core
.
vo
.
resource
.
fg
.
pc
.
index
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.math.BigDecimal
;
import
lombok.Data
;
@Data
@ApiModel
(
value
=
"FgIndexEbookListVO"
,
description
=
"查询电子书集合返回的实体"
)
public
class
FgIndexEbookListVO
{
//封面、图书名称、评分、评论人数、阅读人数、作者、译者、ISBN、出版社、出版时间、版本、字数、价格(展示定价和售价,如果资源有参与打折活动需显示折扣值);
@ApiModelProperty
(
"id"
)
private
String
id
;
@ApiModelProperty
(
value
=
"电子书名"
)
private
String
name
;
@ApiModelProperty
(
"封面"
)
private
String
bookCover
;
@ApiModelProperty
(
"定价 元"
)
private
BigDecimal
price
;
/*@ApiModelProperty(value = "ISBN")
private String isbn;
@ApiModelProperty("作者id")
private String authorId;
@ApiModelProperty("作者")
private String author;
@ApiModelProperty("译者id")
private String translatorId;
@ApiModelProperty("译者")
private String translator;
@ApiModelProperty("出版时间")
private String publishTime;
@ApiModelProperty("销售状态 0 不可售 1 可售")
private Integer status;
@ApiModelProperty("资源类型 1图书、2医家、3文章、4图片、5视频、6音频、7附件")
private Integer resourceType;
@ApiModelProperty("封面")
private String bookCover;
@ApiModelProperty("内容简介")
private String summary;
@ApiModelProperty("电子书状态 0:录入中 1:待审核 2:审核中 3:审核不通过 4:已上架 5:已下架")
private String bookStatus;
@ApiModelProperty("定价 元")
private BigDecimal price;
@ApiModelProperty("售价选项 0 免费,1收费")
private Integer priceOption;
@ApiModelProperty("售价 元")
private BigDecimal realPrice;
@ApiModelProperty("售价 元")
private String realPrice_string;
@ApiModelProperty("浏览数量")
private Integer browseNum;
@ApiModelProperty("商品类型,默认2-1")
private String goodsType;
@ApiModelProperty("是否包含实体书")
private Integer isContainEntity;
@ApiModelProperty("实体书售价(元)")
private BigDecimal entityRealPrice;
@ApiModelProperty("实体书定价(元)")
private BigDecimal entityPrice;
@ApiModelProperty("折扣")
private BigDecimal discount;
@ApiModelProperty("0:未购买;1:已购买")
private Integer isBuy;
@ApiModelProperty("0:未登录;1:已登录")
private Integer isLogin;
@ApiModelProperty("0:付费;1:免费")
private Integer isFree;
@ApiModelProperty("0:不是作者;1:是作者")
private Integer isAuthor;
@ApiModelProperty("0:阅读;1:加入购车;2:加入购物车(按钮置灰)")
private Integer isStatus;
@ApiModelProperty("提示消息code")
private Integer messageCode;
@ApiModelProperty("提示消息")
private String message;*/
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论