Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
77c37e6a
Commit
77c37e6a
authored
Aug 19, 2019
by
huzhenkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商城加solr
parent
c600cef7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
368 additions
and
25 deletions
+368
-25
StoreFlowInfoDto.java
...src/main/java/com/pcloud/common/dto/StoreFlowInfoDto.java
+82
-24
StoreMyPayDto.java
...on/src/main/java/com/pcloud/common/dto/StoreMyPayDto.java
+270
-0
SolrDto.java
pcloud-solr/src/main/java/com/pcloud/solr/SolrDto.java
+15
-0
SolrQueryParam.java
...ud-solr/src/main/java/com/pcloud/solr/SolrQueryParam.java
+1
-1
No files found.
pcloud-common/src/main/java/com/pcloud/common/dto/StoreFlowInfoDto.java
View file @
77c37e6a
package
com
.
pcloud
.
common
.
dto
;
package
com
.
pcloud
.
common
.
dto
;
import
com.pcloud.common.dto.BaseDto
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**
/**
* @Describe: TODO
* @Describe: TODO
* @Author: zhangdongwei
* @Author: zhangdongwei
* @Date: Create on 11:35 2019/7/24 0024
* @Date: Create on 11:35 2019/7/24 0024
*/
*/
@ApiModel
(
"商城信息流信息dto"
)
public
class
StoreFlowInfoDto
extends
BaseDto
{
public
class
StoreFlowInfoDto
extends
BaseDto
{
/**
/**
* 标识(appId/productId/bookGroupId)
* 标识(appId/productId/bookGroupId)
*/
*/
@ApiModelProperty
(
"标识(appId/productId/bookGroupId)"
)
private
Long
originId
;
private
Long
originId
;
/**
/**
* 类型(APP/PRODUCT/BOOK_GROUP)
* 类型(APP/PRODUCT/BOOK_GROUP)
*/
*/
@ApiModelProperty
(
"类型(APP/PRODUCT/BOOK_GROUP)"
)
private
String
originType
;
private
String
originType
;
/**
/**
*
具体类型
*
具体类型编码
*/
*/
@ApiModelProperty
(
"具体类型"
)
private
String
typeCode
;
private
String
typeCode
;
/**
/**
* 具体类型名称
*/
private
String
typeName
;
/**
* 标题
* 标题
*/
*/
@ApiModelProperty
(
"标题"
)
private
String
title
;
private
String
title
;
/**
/**
* 封面图片
* 封面图片
*/
*/
@ApiModelProperty
(
"封面图片"
)
private
String
coverImg
;
private
String
coverImg
;
/**
/**
* 价格
* 价格
*/
*/
@ApiModelProperty
(
"价格"
)
private
BigDecimal
price
;
private
BigDecimal
price
;
/**
/**
* 开始时间(MM-dd)
*
最早
开始时间(MM-dd)
*/
*/
private
String
startDate
;
@ApiModelProperty
(
"开始时间(MM-dd)"
)
private
String
startDateBegin
;
/**
/**
*
结束
时间(MM-dd)
*
最晚开始
时间(MM-dd)
*/
*/
private
String
endDate
;
@ApiModelProperty
(
"最晚开始时间(MM-dd)"
)
private
String
startDateEnd
;
/**
/**
* 数量(应用、作品下的资源数量, 社群书的群数量,等)
* 数量(应用、作品下的资源数量, 社群书的群数量,等)
*/
*/
@ApiModelProperty
(
"数量(应用、作品下的资源数量, 社群书的群数量,等)"
)
private
Integer
resourceNum
;
private
Integer
resourceNum
;
/**
/**
* 数量(资源的item数量,群的成员数量,等)
* 数量(资源的item数量,群的成员数量,等)
*/
*/
@ApiModelProperty
(
"数量(资源的item数量,群的成员数量,等)"
)
private
Integer
resourceItemNum
;
private
Integer
resourceItemNum
;
/**
* 讲师
*/
@ApiModelProperty
(
"讲师"
)
private
String
lecturer
;
/**
* 讲师头像
*/
@ApiModelProperty
(
"讲师头像"
)
private
String
lecturerImg
;
public
Long
getOriginId
()
{
public
Long
getOriginId
()
{
return
originId
;
return
originId
;
...
@@ -99,21 +125,7 @@ public class StoreFlowInfoDto extends BaseDto {
...
@@ -99,21 +125,7 @@ public class StoreFlowInfoDto extends BaseDto {
this
.
price
=
price
;
this
.
price
=
price
;
}
}
public
String
getStartDate
()
{
return
startDate
;
}
public
void
setStartDate
(
String
startDate
)
{
this
.
startDate
=
startDate
;
}
public
String
getEndDate
()
{
return
endDate
;
}
public
void
setEndDate
(
String
endDate
)
{
this
.
endDate
=
endDate
;
}
public
Integer
getResourceNum
()
{
public
Integer
getResourceNum
()
{
return
resourceNum
;
return
resourceNum
;
...
@@ -131,19 +143,65 @@ public class StoreFlowInfoDto extends BaseDto {
...
@@ -131,19 +143,65 @@ public class StoreFlowInfoDto extends BaseDto {
this
.
resourceItemNum
=
resourceItemNum
;
this
.
resourceItemNum
=
resourceItemNum
;
}
}
public
String
getLecturer
()
{
return
lecturer
;
}
public
void
setLecturer
(
String
lecturer
)
{
this
.
lecturer
=
lecturer
;
}
public
String
getTypeName
()
{
return
typeName
;
}
public
void
setTypeName
(
String
typeName
)
{
this
.
typeName
=
typeName
;
}
public
String
getLecturerImg
()
{
return
lecturerImg
;
}
public
void
setLecturerImg
(
String
lecturerImg
)
{
this
.
lecturerImg
=
lecturerImg
;
}
public
String
getStartDateBegin
()
{
return
startDateBegin
;
}
public
void
setStartDateBegin
(
String
startDateBegin
)
{
this
.
startDateBegin
=
startDateBegin
;
}
public
String
getStartDateEnd
()
{
return
startDateEnd
;
}
public
void
setStartDateEnd
(
String
startDateEnd
)
{
this
.
startDateEnd
=
startDateEnd
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"StoreFlowInfoDto{"
+
return
"StoreFlowInfoDto{"
+
"originId="
+
originId
+
"originId="
+
originId
+
", originType='"
+
originType
+
'\''
+
", originType='"
+
originType
+
'\''
+
", typeCode='"
+
typeCode
+
'\''
+
", typeCode='"
+
typeCode
+
'\''
+
", typeName='"
+
typeName
+
'\''
+
", title='"
+
title
+
'\''
+
", title='"
+
title
+
'\''
+
", coverImg='"
+
coverImg
+
'\''
+
", coverImg='"
+
coverImg
+
'\''
+
", price="
+
price
+
", price="
+
price
+
", startDate
='"
+
startDate
+
'\''
+
", startDate
Begin='"
+
startDateBegin
+
'\''
+
",
endDate='"
+
endDate
+
'\''
+
",
startDateEnd='"
+
startDateEnd
+
'\''
+
", resourceNum="
+
resourceNum
+
", resourceNum="
+
resourceNum
+
", resourceItemNum="
+
resourceItemNum
+
", resourceItemNum="
+
resourceItemNum
+
"} "
+
super
.
toString
();
", lecturer='"
+
lecturer
+
'\''
+
", lecturerImg='"
+
lecturerImg
+
'\''
+
'}'
;
}
}
}
}
pcloud-common/src/main/java/com/pcloud/common/dto/StoreMyPayDto.java
0 → 100644
View file @
77c37e6a
package
com
.
pcloud
.
common
.
dto
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**
* @Describe: 商城用户已购买的应用或作品dto
* @Author: zhangdongwei
* @Date: Create on 18:16 2019/8/7 0007
*/
@ApiModel
(
"商城用户已购买的应用或作品dto"
)
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
public
class
StoreMyPayDto
{
/**
* 标识(appId/productId/bookGroupId)
*/
@ApiModelProperty
(
"标识(appId/productId/bookGroupId)"
)
private
Long
originId
;
/**
* 类型(APP/PRODUCT/BOOK_GROUP)
*/
@ApiModelProperty
(
"类型(APP/PRODUCT/BOOK_GROUP)"
)
private
String
originType
;
/**
* 具体类型编码
*/
@ApiModelProperty
(
"具体类型"
)
private
String
typeCode
;
/**
* 具体类型名称
*/
private
String
typeName
;
/**
* 标题
*/
@ApiModelProperty
(
"标题"
)
private
String
originName
;
/**
* 封面图片
*/
@ApiModelProperty
(
"封面图片"
)
private
String
coverImg
;
/**
* 简介
*/
@ApiModelProperty
(
"简介"
)
private
String
description
;
/**
* 价格
*/
@ApiModelProperty
(
"价格"
)
private
BigDecimal
price
;
/**
* 是否支持单节购买
*/
@ApiModelProperty
(
"是否支持单节购买"
)
private
Integer
isSaleOne
;
/**
* 已经购买的资源数量
*/
@ApiModelProperty
(
"已经购买的资源数量"
)
private
Integer
resourceNum
;
/**
* 购买时间
*/
@ApiModelProperty
(
"购买时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
payTime
;
/**
*总课时数
*/
@ApiModelProperty
(
"总课时数"
)
private
Integer
totalCourseNum
;
/**
* 已开课节数
*/
@ApiModelProperty
(
"已开课节数"
)
private
Integer
openCourseNum
;
/**
* 用户已打卡天数
*/
@ApiModelProperty
(
"用户已打卡天数"
)
private
Integer
clockDayNum
;
@ApiModelProperty
(
"会员有效期天数"
)
private
Long
overDay
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@ApiModelProperty
(
"开始时间"
)
private
Date
createTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@ApiModelProperty
(
"结束时间"
)
private
Date
endTime
;
public
Long
getOriginId
()
{
return
originId
;
}
public
void
setOriginId
(
Long
originId
)
{
this
.
originId
=
originId
;
}
public
String
getOriginType
()
{
return
originType
;
}
public
void
setOriginType
(
String
originType
)
{
this
.
originType
=
originType
;
}
public
String
getTypeCode
()
{
return
typeCode
;
}
public
void
setTypeCode
(
String
typeCode
)
{
this
.
typeCode
=
typeCode
;
}
public
String
getTypeName
()
{
return
typeName
;
}
public
void
setTypeName
(
String
typeName
)
{
this
.
typeName
=
typeName
;
}
public
String
getOriginName
()
{
return
originName
;
}
public
void
setOriginName
(
String
originName
)
{
this
.
originName
=
originName
;
}
public
String
getCoverImg
()
{
return
coverImg
;
}
public
void
setCoverImg
(
String
coverImg
)
{
this
.
coverImg
=
coverImg
;
}
public
BigDecimal
getPrice
()
{
return
price
;
}
public
void
setPrice
(
BigDecimal
price
)
{
this
.
price
=
price
;
}
public
Integer
getIsSaleOne
()
{
return
isSaleOne
;
}
public
void
setIsSaleOne
(
Integer
isSaleOne
)
{
this
.
isSaleOne
=
isSaleOne
;
}
public
Integer
getResourceNum
()
{
return
resourceNum
;
}
public
void
setResourceNum
(
Integer
resourceNum
)
{
this
.
resourceNum
=
resourceNum
;
}
public
Date
getPayTime
()
{
return
payTime
;
}
public
void
setPayTime
(
Date
payTime
)
{
this
.
payTime
=
payTime
;
}
public
Integer
getTotalCourseNum
()
{
return
totalCourseNum
;
}
public
void
setTotalCourseNum
(
Integer
totalCourseNum
)
{
this
.
totalCourseNum
=
totalCourseNum
;
}
public
Integer
getOpenCourseNum
()
{
return
openCourseNum
;
}
public
void
setOpenCourseNum
(
Integer
openCourseNum
)
{
this
.
openCourseNum
=
openCourseNum
;
}
public
Integer
getClockDayNum
()
{
return
clockDayNum
;
}
public
void
setClockDayNum
(
Integer
clockDayNum
)
{
this
.
clockDayNum
=
clockDayNum
;
}
public
String
getDescription
()
{
return
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
public
Long
getOverDay
()
{
return
overDay
;
}
public
void
setOverDay
(
Long
overDay
)
{
this
.
overDay
=
overDay
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getEndTime
()
{
return
endTime
;
}
public
void
setEndTime
(
Date
endTime
)
{
this
.
endTime
=
endTime
;
}
@Override
public
String
toString
()
{
return
"StoreMyPayDto{"
+
"originId="
+
originId
+
", originType='"
+
originType
+
'\''
+
", typeCode='"
+
typeCode
+
'\''
+
", typeName='"
+
typeName
+
'\''
+
", originName='"
+
originName
+
'\''
+
", coverImg='"
+
coverImg
+
'\''
+
", description='"
+
description
+
'\''
+
", price="
+
price
+
", isSaleOne="
+
isSaleOne
+
", resourceNum="
+
resourceNum
+
", payTime="
+
payTime
+
", totalCourseNum="
+
totalCourseNum
+
", openCourseNum="
+
openCourseNum
+
", clockDayNum="
+
clockDayNum
+
", overDay="
+
overDay
+
", createTime="
+
createTime
+
", endTime="
+
endTime
+
'}'
;
}
}
pcloud-solr/src/main/java/com/pcloud/solr/SolrDto.java
View file @
77c37e6a
...
@@ -127,6 +127,12 @@ public class SolrDto implements Serializable {
...
@@ -127,6 +127,12 @@ public class SolrDto implements Serializable {
@Field
@Field
private
Long
channelId
;
private
Long
channelId
;
/**
* 场景编码
*/
@Field
private
String
sceneCode
;
public
String
getId
()
{
public
String
getId
()
{
return
id
;
return
id
;
}
}
...
@@ -282,6 +288,14 @@ public class SolrDto implements Serializable {
...
@@ -282,6 +288,14 @@ public class SolrDto implements Serializable {
this
.
saleState
=
saleState
;
this
.
saleState
=
saleState
;
}
}
public
String
getSceneCode
()
{
return
sceneCode
;
}
public
void
setSceneCode
(
String
sceneCode
)
{
this
.
sceneCode
=
sceneCode
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"SolrDto{"
+
return
"SolrDto{"
+
...
@@ -292,6 +306,7 @@ public class SolrDto implements Serializable {
...
@@ -292,6 +306,7 @@ public class SolrDto implements Serializable {
", typeId="
+
typeId
+
", typeId="
+
typeId
+
", typeCode='"
+
typeCode
+
'\''
+
", typeCode='"
+
typeCode
+
'\''
+
", typeName='"
+
typeName
+
'\''
+
", typeName='"
+
typeName
+
'\''
+
", sceneCode='"
+
sceneCode
+
'\''
+
", startDate="
+
startDate
+
", startDate="
+
startDate
+
", endDate="
+
endDate
+
", endDate="
+
endDate
+
", saleState="
+
saleState
+
", saleState="
+
saleState
+
...
...
pcloud-solr/src/main/java/com/pcloud/solr/SolrQueryParam.java
View file @
77c37e6a
...
@@ -44,7 +44,7 @@ public class SolrQueryParam {
...
@@ -44,7 +44,7 @@ public class SolrQueryParam {
/**
/**
* 返回字段
* 返回字段
*/
*/
private
String
fl
=
"id,saleId,saleCode,typeId,typeCode,typeName,title,startDate,endDate,coverImg,description,createdUser,createdDate,lastModifiedDate,channelId"
;
private
String
fl
=
"id,saleId,saleCode,typeId,typeCode,typeName,title,startDate,endDate,coverImg,description,createdUser,createdDate,lastModifiedDate,channelId
,saleState,sceneCode
"
;
public
String
getQ
()
{
public
String
getQ
()
{
return
q
;
return
q
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment