记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
46e862aa
Commit
46e862aa
authored
Aug 15, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hjc_sweet_five' into pre
parents
bf369aba
e4ba5ef6
Changes
53
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
53 changed files
with
3385 additions
and
8 deletions
+3385
-8
SweetConstant.java
...a/com/liquidnet/service/sweet/constant/SweetConstant.java
+15
-7
ISweetManualArtistsFiveService.java
...ce/sweet/service/five/ISweetManualArtistsFiveService.java
+28
-0
ISweetManualFiveService.java
...t/service/sweet/service/five/ISweetManualFiveService.java
+28
-0
ISweetManualNotifyFiveService.java
...ice/sweet/service/five/ISweetManualNotifyFiveService.java
+26
-0
ISweetManualShopFiveService.java
...rvice/sweet/service/five/ISweetManualShopFiveService.java
+27
-0
ISweetManualSortFiveService.java
...rvice/sweet/service/five/ISweetManualSortFiveService.java
+19
-0
ISweetRichtextFiveService.java
...service/sweet/service/five/ISweetRichtextFiveService.java
+21
-0
ISweetUserRelationFiveService.java
...ice/sweet/service/five/ISweetUserRelationFiveService.java
+16
-0
SweetManualShopFiveAllVo.java
.../liquidnet/service/sweet/vo/SweetManualShopFiveAllVo.java
+30
-0
SweetManualAppletFiveDto.java
...liquidnet/service/sweet/dto/SweetManualAppletFiveDto.java
+50
-0
SweetManualArtistList2FiveDto.java
...dnet/service/sweet/dto/SweetManualArtistList2FiveDto.java
+23
-0
SweetManualArtistListFiveDto.java
...idnet/service/sweet/dto/SweetManualArtistListFiveDto.java
+51
-0
SweetManualArtistStageListFiveDto.java
.../service/sweet/dto/SweetManualArtistStageListFiveDto.java
+19
-0
SweetManualFiveDto.java
...a/com/liquidnet/service/sweet/dto/SweetManualFiveDto.java
+42
-0
SweetManualArtistsFive.java
...iquidnet/service/sweet/entity/SweetManualArtistsFive.java
+91
-0
SweetManualFive.java
...a/com/liquidnet/service/sweet/entity/SweetManualFive.java
+66
-0
SweetManualNotifyFive.java
...liquidnet/service/sweet/entity/SweetManualNotifyFive.java
+71
-0
SweetManualShopFive.java
...m/liquidnet/service/sweet/entity/SweetManualShopFive.java
+91
-0
SweetManualSortFive.java
...m/liquidnet/service/sweet/entity/SweetManualSortFive.java
+56
-0
SweetRichtextFive.java
...com/liquidnet/service/sweet/entity/SweetRichtextFive.java
+81
-0
SweetUserRelationFive.java
...liquidnet/service/sweet/entity/SweetUserRelationFive.java
+64
-0
SweetManualArtistsFiveMapper.java
...et/service/sweet/mapper/SweetManualArtistsFiveMapper.java
+29
-0
SweetManualFiveMapper.java
...liquidnet/service/sweet/mapper/SweetManualFiveMapper.java
+29
-0
SweetManualNotifyFiveMapper.java
...net/service/sweet/mapper/SweetManualNotifyFiveMapper.java
+17
-0
SweetManualShopFiveMapper.java
...idnet/service/sweet/mapper/SweetManualShopFiveMapper.java
+17
-0
SweetManualSortFiveMapper.java
...idnet/service/sweet/mapper/SweetManualSortFiveMapper.java
+17
-0
SweetRichtextFiveMapper.java
...quidnet/service/sweet/mapper/SweetRichtextFiveMapper.java
+17
-0
SweetUserRelationFiveMapper.java
...net/service/sweet/mapper/SweetUserRelationFiveMapper.java
+17
-0
SweetManualArtistsFiveMapper.xml
...net.service.sweet.mapper/SweetManualArtistsFiveMapper.xml
+73
-0
SweetManualFiveMapper.xml
....liquidnet.service.sweet.mapper/SweetManualFiveMapper.xml
+187
-0
SweetManualNotifyFiveMapper.xml
...dnet.service.sweet.mapper/SweetManualNotifyFiveMapper.xml
+5
-0
SweetManualShopFiveMapper.xml
...uidnet.service.sweet.mapper/SweetManualShopFiveMapper.xml
+5
-0
SweetManualSortFiveMapper.xml
...uidnet.service.sweet.mapper/SweetManualSortFiveMapper.xml
+5
-0
SweetRichtextFiveMapper.xml
...iquidnet.service.sweet.mapper/SweetRichtextFiveMapper.xml
+5
-0
SweetUserRelationFiveMapper.xml
...dnet.service.sweet.mapper/SweetUserRelationFiveMapper.xml
+5
-0
db_five_structure.sql
...ervice/liquidnet-service-sweet/docu/db_five_structure.sql
+190
-0
SweetAppletFiveController.java
...vice/sweet/controller/five/SweetAppletFiveController.java
+337
-0
SweetManualArtistsFiveController.java
...eet/controller/five/SweetManualArtistsFiveController.java
+108
-0
SweetManualFiveController.java
...vice/sweet/controller/five/SweetManualFiveController.java
+76
-0
SweetManualNotifyFiveController.java
...weet/controller/five/SweetManualNotifyFiveController.java
+92
-0
SweetManualShopFiveController.java
.../sweet/controller/five/SweetManualShopFiveController.java
+108
-0
SweetManualSortFiveController.java
.../sweet/controller/five/SweetManualSortFiveController.java
+51
-0
SweetRichtextFiveController.java
...ce/sweet/controller/five/SweetRichtextFiveController.java
+75
-0
SweetManualArtistsFiveServiceImpl.java
.../service/impl/five/SweetManualArtistsFiveServiceImpl.java
+127
-0
SweetManualFiveServiceImpl.java
...e/sweet/service/impl/five/SweetManualFiveServiceImpl.java
+129
-0
SweetManualNotifyFiveServiceImpl.java
...t/service/impl/five/SweetManualNotifyFiveServiceImpl.java
+121
-0
SweetManualShopFiveServiceImpl.java
...eet/service/impl/five/SweetManualShopFiveServiceImpl.java
+105
-0
SweetManualSortFiveServiceImpl.java
...eet/service/impl/five/SweetManualSortFiveServiceImpl.java
+64
-0
SweetRichtextFiveServiceImpl.java
...sweet/service/impl/five/SweetRichtextFiveServiceImpl.java
+91
-0
SweetUserRelationFiveServiceImpl.java
...t/service/impl/five/SweetUserRelationFiveServiceImpl.java
+20
-0
ObjectUtil.java
...in/java/com/liquidnet/service/sweet/utils/ObjectUtil.java
+17
-0
RedisFiveDataUtils.java
...com/liquidnet/service/sweet/utils/RedisFiveDataUtils.java
+330
-0
sqlmap.properties
...uidnet-service-sweet/src/main/resources/sqlmap.properties
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/constant/SweetConstant.java
View file @
46e862aa
...
@@ -27,13 +27,21 @@ public class SweetConstant {
...
@@ -27,13 +27,21 @@ public class SweetConstant {
public
final
static
String
REDIS_KEY_SWEET_MDSK_ARTISTS_RELATION
=
"sweet:mdsk:artists:relation:uid:"
;
public
final
static
String
REDIS_KEY_SWEET_MDSK_ARTISTS_RELATION
=
"sweet:mdsk:artists:relation:uid:"
;
public
final
static
String
REDIS_KEY_SWEET_MDSK_SHOP
=
"sweet:mdsk:artists:shop:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_MDSK_SHOP
=
"sweet:mdsk:artists:shop:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_PUSH_LIST
=
"sweet:mdsk:manual:pushList"
;
public
final
static
String
REDIS_KEY_SWEET_FIVE_MANUAL_PUSH_LIST
=
"sweet:five:manual:pushList"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_TIME_LIST
=
"sweet:mdsk:manual:timeList:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_FIVE_MANUAL_TIME_LIST
=
"sweet:five:manual:timeList:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_NOTIFY_LIST
=
"sweet:mdsk:manual:notify:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_FIVE_MANUAL_NOTIFY_LIST
=
"sweet:five:manual:notify:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_RICH_TEXT
=
"sweet:mdsk:manual:richText:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_FIVE_MANUAL_RICH_TEXT
=
"sweet:five:manual:richText:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_SORT
=
"sweet:mdsk:manual:sort:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_FIVE_MANUAL_SORT
=
"sweet:five:manual:sort:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_ARTISTS_RELATION
=
"sweet:mdsk:artists:relation:uid:"
;
public
final
static
String
REDIS_KEY_SWEET_FIVE_ARTISTS_RELATION
=
"sweet:five:artists:relation:uid:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_SHOP
=
"sweet:mdsk:artists:shop:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_FIVE_SHOP
=
"sweet:five:artists:shop:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_PUSH_LIST
=
"sweet:tfc:manual:pushList"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_TIME_LIST
=
"sweet:tfc:manual:timeList:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_NOTIFY_LIST
=
"sweet:tfc:manual:notify:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_RICH_TEXT
=
"sweet:tfc:manual:richText:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_MANUAL_SORT
=
"sweet:tfc:manual:sort:manual:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_ARTISTS_RELATION
=
"sweet:tfc:artists:relation:uid:"
;
public
final
static
String
REDIS_KEY_SWEET_TFC_SHOP
=
"sweet:tfc:artists:shop:manual:"
;
// 积分活动
// 积分活动
public
static
final
String
REDIS_KEY_SWEET_INTEGRAL_ACTIVITY_LIST
=
"sweet:integralActivity:list"
;
public
static
final
String
REDIS_KEY_SWEET_INTEGRAL_ACTIVITY_LIST
=
"sweet:integralActivity:list"
;
...
...
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/five/ISweetManualArtistsFiveService.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
five
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistListFiveDto
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsFive
;
/**
* <p>
* 电子宣传手册艺人表 服务类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualArtistsFiveService
extends
IService
<
SweetManualArtistsFive
>
{
ResponseDto
<
PageInfo
<
SweetManualArtistListFiveDto
>>
getList
(
Integer
page
,
Integer
size
,
String
manualId
);
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
artistId
,
String
stageId
,
String
performanceStart
,
String
performanceEnd
,
String
signatureStart
,
String
signatureEnd
);
ResponseDto
<
SweetManualArtistListFiveDto
>
details
(
String
manualRelationId
);
ResponseDto
<
Boolean
>
change
(
String
manualRelationId
,
String
manualId
,
String
artistId
,
String
stageId
,
String
performanceStart
,
String
performanceEnd
,
String
signatureStart
,
String
signatureEnd
);
ResponseDto
<
Boolean
>
delete
(
String
manualRelationId
,
String
manualId
);
}
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/five/ISweetManualFiveService.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
five
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.dto.SweetManualFiveDto
;
import
com.liquidnet.service.sweet.entity.SweetManualFive
;
/**
* <p>
* 电子宣传手册表 服务类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualFiveService
extends
IService
<
SweetManualFive
>
{
ResponseDto
<
PageInfo
<
SweetManualFiveDto
>>
getManualList
(
int
page
,
int
size
,
String
name
);
ResponseDto
<
SweetManualFiveDto
>
details
(
String
manualId
);
//关闭开启
ResponseDto
<
Boolean
>
changeStatus
(
String
manualId
,
String
performancesId
,
Integer
status
);
//发布与否
ResponseDto
<
Boolean
>
changeRelease
(
String
manualId
,
Integer
isRelease
);
}
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/five/ISweetManualNotifyFiveService.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
five
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyFive
;
/**
* <p>
* 电子宣传手册通知表 服务类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualNotifyFiveService
extends
IService
<
SweetManualNotifyFive
>
{
ResponseDto
<
PageInfo
<
SweetManualNotifyFive
>>
getList
(
Integer
page
,
Integer
size
,
String
title
,
String
manualId
);
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
title
,
String
content
);
ResponseDto
<
SweetManualNotifyFive
>
details
(
String
manualId
);
ResponseDto
<
Boolean
>
change
(
String
manualId
,
String
manualNotifyId
,
String
title
,
String
content
);
ResponseDto
<
Boolean
>
delete
(
String
manualId
);
}
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/five/ISweetManualShopFiveService.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
five
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualShopFive
;
import
java.util.List
;
/**
* <p>
* 电子宣传手册商铺表 服务类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualShopFiveService
extends
IService
<
SweetManualShopFive
>
{
ResponseDto
<
List
<
SweetManualShopFive
>>
getList
(
String
manualId
,
Integer
type
);
ResponseDto
<
SweetManualShopFive
>
details
(
String
manualShopId
);
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
title
,
String
picUrl
,
String
describe
,
Integer
type
,
Integer
isRecommend
,
Integer
sort
);
ResponseDto
<
Boolean
>
change
(
String
manualShopId
,
String
manualId
,
String
title
,
String
picUrl
,
String
describe
,
Integer
type
,
Integer
isRecommend
,
Integer
sort
);
ResponseDto
<
Boolean
>
delete
(
String
manualShopId
,
String
manualId
);
}
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/five/ISweetManualSortFiveService.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
five
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualSortFive
;
/**
* <p>
* 电子宣传手册显示内容表 服务类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualSortFiveService
extends
IService
<
SweetManualSortFive
>
{
ResponseDto
<
SweetManualSortFive
>
get
(
String
manualId
);
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
content
);
}
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/five/ISweetRichtextFiveService.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
five
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetRichtextFive
;
/**
* <p>
* 电子宣传手册富文本表 服务类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetRichtextFiveService
extends
IService
<
SweetRichtextFive
>
{
ResponseDto
<
SweetRichtextFive
>
get
(
String
manualId
,
Integer
type
);
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
details
,
String
local
,
String
pirUrl
,
Integer
type
);
ResponseDto
<
Boolean
>
change
(
String
manualId
,
String
details
,
String
local
,
String
pirUrl
,
Integer
type
);
}
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/five/ISweetUserRelationFiveService.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
five
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationFive
;
/**
* <p>
* 用户 收藏/喜欢等状态 服务类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetUserRelationFiveService
extends
IService
<
SweetUserRelationFive
>
{
}
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/vo/SweetManualShopFiveAllVo.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
vo
;
import
com.liquidnet.service.sweet.entity.SweetManualShopFive
;
import
com.liquidnet.service.sweet.entity.SweetManualShopMdsk
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
@Data
@ApiModel
public
class
SweetManualShopFiveAllVo
implements
Serializable
,
Cloneable
{
@ApiModelProperty
(
"推荐"
)
private
List
<
SweetManualShopFive
>
recommend
;
@ApiModelProperty
(
"吃喝"
)
private
List
<
SweetManualShopFive
>
eat
;
@ApiModelProperty
(
"玩乐"
)
private
List
<
SweetManualShopFive
>
play
;
private
static
final
SweetManualShopFiveAllVo
obj
=
new
SweetManualShopFiveAllVo
();
public
static
SweetManualShopFiveAllVo
getNew
()
{
try
{
return
(
SweetManualShopFiveAllVo
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualShopFiveAllVo
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/dto/SweetManualAppletFiveDto.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
@Data
@ApiModel
public
class
SweetManualAppletFiveDto
implements
Serializable
,
Cloneable
{
@ApiModelProperty
(
"电子手册id"
)
private
String
manualId
;
@ApiModelProperty
(
"演出id"
)
private
String
performancesId
;
@ApiModelProperty
(
"演出标题"
)
private
String
title
;
@ApiModelProperty
(
"场地id"
)
private
String
fieldId
;
@ApiModelProperty
(
"场地名称"
)
private
String
fieldName
;
@ApiModelProperty
(
"城市名称"
)
private
String
cityName
;
@ApiModelProperty
(
"演出开始时间"
)
private
String
timeStart
;
@ApiModelProperty
(
"演出结束时间"
)
private
String
timeEnd
;
@ApiModelProperty
(
"演出开售时间"
)
private
String
timeSell
;
@ApiModelProperty
(
"是否会员"
)
private
Integer
isMember
;
@ApiModelProperty
(
"提前时间"
)
private
Integer
payCountdownMinute
;
@ApiModelProperty
(
"经度"
)
private
String
longitude
;
@ApiModelProperty
(
"纬度"
)
private
String
latitude
;
private
static
final
SweetManualAppletFiveDto
obj
=
new
SweetManualAppletFiveDto
();
public
static
SweetManualAppletFiveDto
getNew
()
{
try
{
return
(
SweetManualAppletFiveDto
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualAppletFiveDto
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/dto/SweetManualArtistList2FiveDto.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
dto
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
@Data
public
class
SweetManualArtistList2FiveDto
implements
Serializable
,
Cloneable
{
private
List
<
SweetManualArtistListFiveDto
>
data
;
private
List
<
String
>
date
;
private
List
<
SweetManualArtistStageListFiveDto
>
stage
;
private
Integer
total
;
private
static
final
SweetManualArtistList2FiveDto
obj
=
new
SweetManualArtistList2FiveDto
();
public
static
SweetManualArtistList2FiveDto
getNew
()
{
try
{
return
(
SweetManualArtistList2FiveDto
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualArtistList2FiveDto
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/dto/SweetManualArtistListFiveDto.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
@Data
@ApiModel
public
class
SweetManualArtistListFiveDto
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
8382714055996962257L
;
@ApiModelProperty
(
"电子手册关联id"
)
private
String
manualRelationId
;
@ApiModelProperty
(
"艺人id"
)
private
String
artistId
;
@ApiModelProperty
(
"艺人名称"
)
private
String
name
;
@ApiModelProperty
(
"拼音"
)
private
String
pinyin
;
@ApiModelProperty
(
"简介"
)
private
String
describes
;
@ApiModelProperty
(
"头像图片"
)
private
String
picUrl
;
@ApiModelProperty
(
"舞台id"
)
private
String
stageId
;
@ApiModelProperty
(
"舞台名称"
)
private
String
title
;
@ApiModelProperty
(
"演出开始"
)
private
String
performanceStart
;
@ApiModelProperty
(
"演出结束"
)
private
String
performanceEnd
;
@ApiModelProperty
(
"签售开始"
)
private
String
signatureStart
;
@ApiModelProperty
(
"签售结束"
)
private
String
signatureEnd
;
@ApiModelProperty
(
"是否观看"
)
private
Integer
isWatch
;
@ApiModelProperty
(
"是否登记"
)
private
Integer
isSign
;
private
static
final
SweetManualArtistListFiveDto
obj
=
new
SweetManualArtistListFiveDto
();
public
static
SweetManualArtistListFiveDto
getNew
()
{
try
{
return
(
SweetManualArtistListFiveDto
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualArtistListFiveDto
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/dto/SweetManualArtistStageListFiveDto.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
dto
;
import
lombok.Data
;
import
java.io.Serializable
;
@Data
public
class
SweetManualArtistStageListFiveDto
implements
Serializable
,
Cloneable
{
private
String
title
;
private
static
final
SweetManualArtistStageListFiveDto
obj
=
new
SweetManualArtistStageListFiveDto
();
public
static
SweetManualArtistStageListFiveDto
getNew
()
{
try
{
return
(
SweetManualArtistStageListFiveDto
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualArtistStageListFiveDto
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/dto/SweetManualFiveDto.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
@Data
@ApiModel
public
class
SweetManualFiveDto
implements
Serializable
,
Cloneable
{
@ApiModelProperty
(
"电子手册id"
)
private
String
manualId
;
@ApiModelProperty
(
"演出id"
)
private
String
performancesId
;
@ApiModelProperty
(
"演出名称"
)
private
String
title
;
@ApiModelProperty
(
"演出开始时间"
)
private
String
timeStart
;
@ApiModelProperty
(
"演出结束时间"
)
private
String
timeEnd
;
@ApiModelProperty
(
"售卖时间"
)
private
String
timeSell
;
@ApiModelProperty
(
"停售时间"
)
private
String
timeStop
;
@ApiModelProperty
(
"状态"
)
private
Integer
status
;
@ApiModelProperty
(
"手册状态"
)
private
Integer
manualStatus
;
@ApiModelProperty
(
"是否发布"
)
private
Integer
isRelease
;
private
static
final
SweetManualFiveDto
obj
=
new
SweetManualFiveDto
();
public
static
SweetManualFiveDto
getNew
()
{
try
{
return
(
SweetManualFiveDto
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualFiveDto
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualArtistsFive.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 电子宣传手册艺人表
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualArtistsFive
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* manual_relation_id
*/
private
String
manualRelationId
;
/**
* 电子宣传手册id
*/
private
String
manualId
;
/**
* 关联id
*/
private
String
stageId
;
/**
* 关联id
*/
private
String
artistsId
;
/**
* 演出开始时间
*/
private
LocalDateTime
performanceStart
;
/**
* 演出结束时间
*/
private
LocalDateTime
performanceEnd
;
/**
* 签收开始时间
*/
private
LocalDateTime
signatureStart
;
/**
* 签收结束时间
*/
private
LocalDateTime
signatureEnd
;
/**
* 0关闭 1开启
*/
private
Integer
status
;
/**
* 创建时间
*/
private
LocalDateTime
createdAt
;
/**
* 更新时间
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualArtistsFive
obj
=
new
SweetManualArtistsFive
();
public
static
SweetManualArtistsFive
getNew
()
{
try
{
return
(
SweetManualArtistsFive
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualArtistsFive
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualFive.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 电子宣传手册表
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualFive
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* manual_id
*/
private
String
manualId
;
/**
* 演出id
*/
private
String
performanceId
;
/**
* 0关闭 1开启
*/
private
Integer
status
;
/**
* 0取消 1发布
*/
private
Integer
isRelease
;
/**
* 创建时间
*/
private
LocalDateTime
createdAt
;
/**
* 更新时间
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualFive
obj
=
new
SweetManualFive
();
public
static
SweetManualFive
getNew
()
{
try
{
return
(
SweetManualFive
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualFive
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualNotifyFive.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 电子宣传手册通知表
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualNotifyFive
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* manual_notify_id
*/
private
String
manualNotifyId
;
/**
* 电子宣传手册id
*/
private
String
manualId
;
/**
* 标题
*/
private
String
title
;
/**
* 内容
*/
private
String
content
;
/**
* 0关闭 1开启
*/
private
Integer
status
;
/**
* 创建时间
*/
private
LocalDateTime
createdAt
;
/**
* 更新时间
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualNotifyFive
obj
=
new
SweetManualNotifyFive
();
public
static
SweetManualNotifyFive
getNew
()
{
try
{
return
(
SweetManualNotifyFive
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualNotifyFive
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualShopFive.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 电子宣传手册商铺表
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualShopFive
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* manual_shop_id
*/
private
String
manualShopId
;
/**
* 电子宣传手册id
*/
private
String
manualId
;
/**
* 商家名称
*/
private
String
title
;
/**
* 商家图片
*/
private
String
picUrl
;
/**
* 商家介绍
*/
private
String
describes
;
/**
* 1吃喝 2玩乐
*/
private
Integer
type
;
/**
* 0不推荐 1推荐
*/
private
Integer
isRecommend
;
/**
* 排序字段 数字越大越靠前
*/
private
Integer
sort
;
/**
* 0关闭 1开启
*/
private
Integer
status
;
/**
* 创建时间
*/
private
LocalDateTime
createdAt
;
/**
* 更新时间
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualShopFive
obj
=
new
SweetManualShopFive
();
public
static
SweetManualShopFive
getNew
()
{
try
{
return
(
SweetManualShopFive
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualShopFive
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualSortFive.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 电子宣传手册显示内容表
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualSortFive
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* manual_id
*/
private
String
manualId
;
/**
* 显示哪个,号隔开
*/
private
String
showPosition
;
/**
* 创建时间
*/
private
LocalDateTime
createdAt
;
/**
* 更新时间
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualSortFive
obj
=
new
SweetManualSortFive
();
public
static
SweetManualSortFive
getNew
()
{
try
{
return
(
SweetManualSortFive
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualSortFive
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetRichtextFive.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 电子宣传手册富文本表
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetRichtextFive
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* order_refund_id
*/
private
String
richtextId
;
/**
* manual_id
*/
private
String
manualId
;
/**
* 富文本详情
*/
private
String
details
;
/**
* 经纬度 5需要
*/
private
String
local
;
/**
* 地图图片地址 2需要
*/
private
String
picUrl
;
/**
* 类型 1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略
*/
private
Integer
type
;
/**
* 0关闭 1开启
*/
private
Integer
status
;
/**
* 创建时间
*/
private
LocalDateTime
createdAt
;
/**
* 更新时间
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetRichtextFive
obj
=
new
SweetRichtextFive
();
public
static
SweetRichtextFive
getNew
()
{
try
{
return
(
SweetRichtextFive
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetRichtextFive
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetUserRelationFive.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 用户 收藏/喜欢等状态
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetUserRelationFive
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* 用户id
*/
private
String
userId
;
/**
* 类型 1喜欢艺人 2签售艺人
*/
private
Integer
type
;
/**
* 目标id
*/
private
String
targetId
;
/**
* 电子手册
*/
private
String
manualId
;
/**
* 1是 0否
*/
private
Integer
status
;
/**
* 创建时间
*/
private
LocalDateTime
createdAt
;
/**
* 更新时间
*/
private
LocalDateTime
updatedAt
;
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualArtistsFiveMapper.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistListFiveDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistListFiveDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistStageListFiveDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistStageListFiveDto
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsFive
;
import
java.util.List
;
import
java.util.Map
;
/**
* <p>
* 电子宣传手册艺人表 Mapper 接口
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualArtistsFiveMapper
extends
BaseMapper
<
SweetManualArtistsFive
>
{
List
<
SweetManualArtistListFiveDto
>
getManualList
(
Map
<
String
,
Object
>
map
);
SweetManualArtistListFiveDto
getManualDetails
(
Map
<
String
,
Object
>
map
);
List
<
SweetManualArtistStageListFiveDto
>
getStageNameList
(
Map
<
String
,
Object
>
map
);
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualFiveMapper.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.dto.SweetManualAppletFiveDto
;
import
com.liquidnet.service.sweet.dto.SweetManualAppletFiveDto
;
import
com.liquidnet.service.sweet.dto.SweetManualFiveDto
;
import
com.liquidnet.service.sweet.dto.SweetManualFiveDto
;
import
com.liquidnet.service.sweet.entity.SweetManualFive
;
import
java.util.List
;
import
java.util.Map
;
/**
* <p>
* 电子宣传手册表 Mapper 接口
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualFiveMapper
extends
BaseMapper
<
SweetManualFive
>
{
List
<
SweetManualFiveDto
>
getManualList
(
Map
<
String
,
Object
>
map
);
SweetManualFiveDto
getManualDetails
(
Map
<
String
,
Object
>
map
);
List
<
SweetManualAppletFiveDto
>
getManualAppletDto
();
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualNotifyFiveMapper.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyFive
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyFive
;
/**
* <p>
* 电子宣传手册通知表 Mapper 接口
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualNotifyFiveMapper
extends
BaseMapper
<
SweetManualNotifyFive
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualShopFiveMapper.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetManualShopFive
;
import
com.liquidnet.service.sweet.entity.SweetManualShopFive
;
/**
* <p>
* 电子宣传手册商铺表 Mapper 接口
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualShopFiveMapper
extends
BaseMapper
<
SweetManualShopFive
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualSortFiveMapper.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetManualSortFive
;
import
com.liquidnet.service.sweet.entity.SweetManualSortFive
;
/**
* <p>
* 电子宣传手册显示内容表 Mapper 接口
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualSortFiveMapper
extends
BaseMapper
<
SweetManualSortFive
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetRichtextFiveMapper.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetRichtextFive
;
import
com.liquidnet.service.sweet.entity.SweetRichtextFive
;
/**
* <p>
* 电子宣传手册富文本表 Mapper 接口
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetRichtextFiveMapper
extends
BaseMapper
<
SweetRichtextFive
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetUserRelationFiveMapper.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationFive
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationFive
;
/**
* <p>
* 用户 收藏/喜欢等状态 Mapper 接口
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetUserRelationFiveMapper
extends
BaseMapper
<
SweetUserRelationFive
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetManualArtistsFiveMapper.xml
0 → 100644
View file @
46e862aa
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetManualArtistsFiveMapper"
>
<resultMap
id=
"getManualListResult"
type=
"com.liquidnet.service.sweet.dto.SweetManualArtistListFiveDto"
>
<result
column=
"manual_relation_id"
property=
"manualRelationId"
/>
<result
column=
"artists_id"
property=
"artistId"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"pinyin"
property=
"pinyin"
/>
<result
column=
"describes"
property=
"describes"
/>
<result
column=
"pic_url"
property=
"picUrl"
/>
<result
column=
"stage_id"
property=
"stageId"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"performance_start"
property=
"performanceStart"
/>
<result
column=
"performance_end"
property=
"performanceEnd"
/>
<result
column=
"signature_start"
property=
"signatureStart"
/>
<result
column=
"signature_end"
property=
"signatureEnd"
/>
</resultMap>
<resultMap
id=
"getStageNameListResult"
type=
"com.liquidnet.service.sweet.dto.SweetManualArtistStageListFiveDto"
>
<result
column=
"title"
property=
"title"
/>
</resultMap>
<select
id=
"getManualList"
parameterType=
"java.util.Map"
resultMap=
"getManualListResult"
>
select manual_relation_id,
sa.`artists_id`,
sa.`name`,
sa.pinyin,
sa.describes,
sa.pic_url,
ss.stage_id,
ss.title,
performance_start,
performance_end,
signature_start,
signature_end
from sweet_manual_artists_Five as sma
left join sweet_artists as sa on sa.artists_id = sma.artists_id
left join sweet_stage as ss on ss.stage_id = sma.stage_id
<where>
sma.status = 1 and manual_id = #{manualId}
</where>
ORDER BY sma.updated_at DESC
</select>
<select
id=
"getManualDetails"
parameterType=
"java.util.Map"
resultMap=
"getManualListResult"
>
select manual_relation_id,
sa.`name`,
sa.`artists_id`,
ss.title,
ss.stage_id,
performance_start,
performance_end,
signature_start,
signature_end
from sweet_manual_artists_Five as sma
left join sweet_artists as sa on sa.artists_id = sma.artists_id
left join sweet_stage as ss on ss.stage_id = sma.stage_id
where manual_relation_id = #{manualRelationId}
</select>
<select
id=
"getStageNameList"
parameterType=
"java.util.Map"
resultMap=
"getStageNameListResult"
>
select ss.title
from sweet_manual_artists_Five as sma
left join sweet_artists as sa on sa.artists_id = sma.artists_id
left join sweet_stage as ss on ss.stage_id = sma.stage_id
where sma.status = 1
and manual_id = #{manualId}
group by ss.title;
</select>
</mapper>
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetManualFiveMapper.xml
0 → 100644
View file @
46e862aa
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetManualFiveMapper"
>
<resultMap
id=
"partnerPerformanceListResult"
type=
"com.liquidnet.service.sweet.dto.SweetManualFiveDto"
>
<result
column=
"manual_id"
property=
"manualId"
/>
<result
column=
"performances_id"
property=
"performancesId"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"time_start"
property=
"timeStart"
/>
<result
column=
"time_end"
property=
"timeEnd"
/>
<result
column=
"time_sell"
property=
"timeSell"
/>
<result
column=
"time_stop"
property=
"timeStop"
/>
<result
column=
"status"
property=
"status"
/>
<result
column=
"manualStatus"
property=
"manualStatus"
/>
<result
column=
"is_release"
property=
"isRelease"
/>
</resultMap>
<resultMap
id=
"getManualAppletListResult"
type=
"com.liquidnet.service.sweet.dto.SweetManualAppletFiveDto"
>
<result
column=
"manual_id"
property=
"manualId"
/>
<result
column=
"performances_id"
property=
"performancesId"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"field_id"
property=
"fieldId"
/>
<result
column=
"city_name"
property=
"cityName"
/>
<result
column=
"time_start"
property=
"timeStart"
/>
<result
column=
"time_end"
property=
"timeEnd"
/>
</resultMap>
<resultMap
id=
"getManualAppletDtoResult"
type=
"com.liquidnet.service.sweet.dto.SweetManualAppletFiveDto"
>
<result
column=
"manual_id"
property=
"manualId"
/>
<result
column=
"performances_id"
property=
"performancesId"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"field_id"
property=
"fieldId"
/>
<result
column=
"time_start"
property=
"timeStart"
/>
<result
column=
"time_end"
property=
"timeEnd"
/>
<result
column=
"time_sell"
property=
"timeSell"
/>
<result
column=
"pay_countdown_minute"
property=
"payCountdownMinute"
/>
<result
column=
"is_member"
property=
"isMember"
/>
</resultMap>
<!-- 电子手册列表 -->
<select
id=
"getManualList"
parameterType=
"java.util.Map"
resultMap=
"partnerPerformanceListResult"
>
SELECT
IFNULL(sm.manual_id,0) as 'manual_id',
p.performances_id ,
p.title ,
p.time_start ,
p.time_end ,
ps.status ,
t.time_sell ,
t.time_stop,
IFNULL(sm.status ,0) as 'manualStatus',
IFNULL(sm.is_release,0) as 'is_release'
FROM
kylin_performances AS p
LEFT JOIN kylin_performance_status AS ps ON p.performances_id = ps.performance_id
LEFT JOIN kylin_performance_relations AS pr ON p.performances_id = pr.performance_id
LEFT JOIN sweet_manual_Five AS sm ON p.performances_id = sm.performance_id
LEFT JOIN(
SELECT
ttr.performance_id ,
MIN(
DATE_SUB(
t.time_start ,
INTERVAL pay_countdown_minute MINUTE
)
) AS 'time_sell' ,
MAX(t.time_end) AS 'time_stop'
FROM
kylin_ticket_status AS ts
LEFT JOIN kylin_ticket_relations AS tr ON tr.ticket_id = ts.ticket_id
LEFT JOIN kylin_tickets AS t ON t.tickets_id = ts.ticket_id
LEFT JOIN kylin_ticket_time_relation AS ttr ON tr.times_id = ttr.times_id
GROUP BY
ttr.performance_id
) AS t ON p.performances_id = t.performance_id
<where>
<if
test=
"title!='' and title != null"
>
AND (title LIKE concat('%', #{title}, '%') OR title like '%M_DSK%')
</if>
</where>
ORDER BY p.created_at desc
</select>
<!-- 电子手册详情 -->
<select
id=
"getManualDetails"
parameterType=
"java.util.Map"
resultMap=
"partnerPerformanceListResult"
>
SELECT IFNULL(sm.manual_id, 0) as 'manual_id',
p.performances_id,
p.title,
p.time_start,
p.time_end,
ps.status,
t.time_sell,
t.time_stop,
IFNULL(sm.status, 0) as 'manualStatus',
IFNULL(sm.is_release, 0) as 'is_release'
FROM kylin_performances AS p
LEFT JOIN kylin_performance_status AS ps ON p.performances_id = ps.performance_id
LEFT JOIN kylin_performance_relations AS pr ON p.performances_id = pr.performance_id
LEFT JOIN sweet_manual_Five AS sm ON p.performances_id = sm.performance_id
LEFT JOIN(
SELECT ttr.performance_id,
MIN(
DATE_SUB(
t.time_start,
INTERVAL pay_countdown_minute MINUTE
)
) AS 'time_sell',
MAX(t.time_end) AS 'time_stop'
FROM kylin_ticket_status AS ts
LEFT JOIN kylin_ticket_relations AS tr ON tr.ticket_id = ts.ticket_id
LEFT JOIN kylin_tickets AS t ON t.tickets_id = ts.ticket_id
LEFT JOIN kylin_ticket_time_relation AS ttr ON tr.times_id = ttr.times_id
GROUP BY ttr.performance_id
) AS t ON p.performances_id = t.performance_id
where sm.manual_id = #{manualId}
ORDER BY p.created_at desc
</select>
<select
id=
"getManualAppletList"
resultMap=
"getManualAppletListResult"
>
select manual_id, performances_id, title, field_id, city_name, time_start, time_end
from kylin_performances as kp
left join sweet_manual_Five as sw on sw.performance_id = kp.performances_id
left join kylin_performance_relations as kpr on kpr.performance_id = kp.performances_id
where sw.`status` = 1
and sw.is_release = 1
</select>
<select
id=
"getManualAppletDto"
resultMap=
"getManualAppletDtoResult"
>
SELECT
IFNULL(sm.manual_id , 0) AS 'manual_id' ,
p.performances_id ,
p.title ,
pr.field_id ,
p.time_start ,
p.time_end,
t1.time_sell,
t1.pay_countdown_minute,
t1.is_member
FROM
kylin_performances AS p
LEFT JOIN kylin_performance_status AS ps ON p.performances_id = ps.performance_id
LEFT JOIN kylin_performance_relations AS pr ON p.performances_id = pr.performance_id
LEFT JOIN sweet_manual_Five AS sm ON p.performances_id = sm.performance_id
LEFT JOIN(
SELECT
ttr.performance_id ,
MIN(
DATE_SUB(
t.time_start ,
INTERVAL pay_countdown_minute MINUTE
)
) AS 'time_sell' ,
MAX(t.time_end) AS 'time_stop'
FROM
kylin_ticket_status AS ts
LEFT JOIN kylin_ticket_relations AS tr ON tr.ticket_id = ts.ticket_id
LEFT JOIN kylin_tickets AS t ON t.tickets_id = ts.ticket_id
LEFT JOIN kylin_ticket_time_relation AS ttr ON tr.times_id = ttr.times_id
GROUP BY
ttr.performance_id
) AS t ON p.performances_id = t.performance_id
LEFT JOIN(
SELECT
ttr.performance_id ,
pay_countdown_minute,
ts.is_member,
sum(ts.total_general) AS 'total_general' ,
MIN(
DATE_SUB(
t.time_start ,
INTERVAL pay_countdown_minute MINUTE
)
) AS 'time_sell' ,
MAX(t.time_end) AS 'time_stop'
FROM
kylin_ticket_status AS ts
LEFT JOIN kylin_ticket_relations AS tr ON tr.ticket_id = ts.ticket_id
LEFT JOIN kylin_tickets AS t ON t.tickets_id = ts.ticket_id
LEFT JOIN kylin_ticket_time_relation AS ttr ON tr.times_id = ttr.times_id
GROUP BY
ttr.performance_id
) AS t1 ON p.performances_id = t1.performance_id
where sm.`status` = 1 and sm.is_release = 1
</select>
</mapper>
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetManualNotifyFiveMapper.xml
0 → 100644
View file @
46e862aa
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetManualNotifyFiveMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetManualShopFiveMapper.xml
0 → 100644
View file @
46e862aa
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetManualShopFiveMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetManualSortFiveMapper.xml
0 → 100644
View file @
46e862aa
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetManualSortFiveMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetRichtextFiveMapper.xml
0 → 100644
View file @
46e862aa
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetRichtextFiveMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetUserRelationFiveMapper.xml
0 → 100644
View file @
46e862aa
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetUserRelationFiveMapper"
>
</mapper>
liquidnet-bus-service/liquidnet-service-sweet/docu/db_five_structure.sql
0 → 100644
View file @
46e862aa
create
database
if
not
exists
ln_scene
character
set
utf8mb4
collate
utf8mb4_unicode_ci
;
-- >>------------------------------------------------------------------------------------
use
ln_scene
;
-- 电子宣传手册表
drop
TABLE
if
exists
`sweet_manual_five`
;
CREATE
TABLE
`sweet_manual_five`
(
`mid`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`manual_id`
varchar
(
200
)
NOT
NULL
DEFAULT
'0'
COMMENT
'manual_id'
,
`performance_id`
varchar
(
200
)
NULL
COMMENT
'演出id'
,
`status`
tinyint
NOT
NULL
DEFAULT
1
COMMENT
'0关闭 1开启'
,
`is_release`
tinyint
NOT
NULL
DEFAULT
1
COMMENT
'0取消 1发布'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
),
KEY
`manual_id_index`
(
`manual_id`
),
KEY
`performance_id_index`
(
`performance_id`
),
KEY
`is_release_index`
(
`is_release`
),
KEY
`status_index`
(
`status`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
'电子宣传手册表'
;
-- 电子宣传手册显示内容表
drop
TABLE
if
exists
`sweet_manual_sort_five`
;
CREATE
TABLE
`sweet_manual_sort_five`
(
`mid`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`manual_id`
varchar
(
200
)
NOT
NULL
DEFAULT
'0'
COMMENT
'manual_id'
,
`show_position`
varchar
(
200
)
NULL
COMMENT
'显示哪个,号隔开'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
),
KEY
`manual_id_index`
(
`manual_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
'电子宣传手册显示内容表'
;
-- 电子宣传手册富文本表
drop
TABLE
if
exists
`sweet_richtext_five`
;
CREATE
TABLE
`sweet_richtext_five`
(
`mid`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`richtext_id`
varchar
(
200
)
NOT
NULL
DEFAULT
'0'
COMMENT
'order_refund_id'
,
`manual_id`
varchar
(
200
)
NOT
NULL
DEFAULT
'0'
COMMENT
'manual_id'
,
`details`
longtext
NULL
COMMENT
'富文本详情'
,
`local`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'经纬度 5需要'
,
`pic_url`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'地图图片地址 2需要'
,
`type`
tinyint
NOT
NULL
DEFAULT
0
COMMENT
'类型 1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略'
,
`status`
tinyint
NOT
NULL
DEFAULT
1
COMMENT
'0关闭 1开启'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
),
KEY
`richtext_id_index`
(
`richtext_id`
),
KEY
`manual_id_index`
(
`manual_id`
),
KEY
`type_index`
(
`type`
),
KEY
`status_index`
(
`status`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
'电子宣传手册富文本表'
;
-- 电子宣传手册艺人表
drop
TABLE
if
exists
`sweet_manual_artists_five`
;
CREATE
TABLE
`sweet_manual_artists_five`
(
`mid`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`manual_relation_id`
varchar
(
200
)
NOT
NULL
DEFAULT
'0'
COMMENT
'manual_relation_id'
,
`manual_id`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'电子宣传手册id'
,
`stage_id`
varchar
(
200
)
NULL
COMMENT
'关联id'
,
`artists_id`
varchar
(
200
)
NULL
COMMENT
'关联id'
,
`performance_start`
datetime
NULL
COMMENT
'演出开始时间'
,
`performance_end`
datetime
NULL
COMMENT
'演出结束时间'
,
`signature_start`
datetime
NULL
COMMENT
'签收开始时间'
,
`signature_end`
datetime
NULL
COMMENT
'签收结束时间'
,
`status`
tinyint
NOT
NULL
DEFAULT
1
COMMENT
'0关闭 1开启'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
),
KEY
`manual_relation_id_index`
(
`manual_relation_id`
),
KEY
`manual_id_index`
(
`manual_id`
),
KEY
`stage_id_index`
(
`stage_id`
),
KEY
`artists_id_index`
(
`artists_id`
),
KEY
`status_index`
(
`status`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
'电子宣传手册艺人表'
;
-- 电子宣传手册通知表
drop
TABLE
if
exists
`sweet_manual_notify_five`
;
CREATE
TABLE
`sweet_manual_notify_five`
(
`mid`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`manual_notify_id`
varchar
(
200
)
NOT
NULL
DEFAULT
'0'
COMMENT
'manual_notify_id'
,
`manual_id`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'电子宣传手册id'
,
`title`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'标题'
,
`content`
longtext
NULL
COMMENT
'内容'
,
`status`
tinyint
NOT
NULL
DEFAULT
1
COMMENT
'0关闭 1开启'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
),
KEY
`manual_notify_id_index`
(
`manual_notify_id`
),
KEY
`manual_id_index`
(
`manual_id`
),
KEY
`status_index`
(
`status`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
'电子宣传手册通知表'
;
-- 电子宣传手册商铺表
drop
TABLE
if
exists
`sweet_manual_shop_five`
;
CREATE
TABLE
`sweet_manual_shop_five`
(
`mid`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`manual_shop_id`
varchar
(
200
)
NOT
NULL
DEFAULT
'0'
COMMENT
'manual_shop_id'
,
`manual_id`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'电子宣传手册id'
,
`title`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'商家名称'
,
`pic_url`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'商家图片'
,
`describes`
longtext
NULL
COMMENT
'商家介绍'
,
`type`
tinyint
NOT
NULL
DEFAULT
1
COMMENT
'1吃喝 2玩乐'
,
`is_recommend`
tinyint
NOT
NULL
DEFAULT
1
COMMENT
'0不推荐 1推荐'
,
`sort`
tinyint
NOT
NULL
DEFAULT
0
COMMENT
'排序字段 数字越大越靠前'
,
`status`
tinyint
NOT
NULL
DEFAULT
1
COMMENT
'0关闭 1开启'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
),
KEY
`manual_shop_index`
(
`manual_shop_id`
),
KEY
`manual_id_index`
(
`manual_id`
),
KEY
`status_index`
(
`status`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
'电子宣传手册商铺表'
;
-- 正在现场服务号关注事件储存用户信息表
drop
TABLE
if
exists
`sweet_wechat_user_five`
;
CREATE
TABLE
`sweet_wechat_user_five`
(
`mid`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`user_id`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'user_id'
,
`openId`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'openId'
,
`unionId`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'unionId'
,
`nickname`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'昵称'
,
`sexDesc`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'性别'
,
`sex`
tinyint
NOT
NULL
DEFAULT
0
COMMENT
'性别 男1'
,
`headImgUrl`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'头像'
,
`language`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'zh_CN'
,
`country`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'国家'
,
`province`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'省'
,
`city`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'市'
,
`subscribeTime`
datetime
NULL
DEFAULT
null
COMMENT
'关注时间'
,
`subscribeScene`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'ADD_SCENE_SEARCH 关注方式'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
),
KEY
`sweet_wechat_user_user_id`
(
`user_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
utf8mb4
COLLATE
utf8mb4_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
'正在现场服务号关注事件储存用户信息表'
;
-- 用户 收藏/喜欢等状态
drop
TABLE
if
exists
`sweet_user_relation_five`
;
CREATE
TABLE
`sweet_user_relation_five`
(
`mid`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`user_id`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'用户id'
,
`type`
tinyint
NOT
NULL
DEFAULT
0
COMMENT
'类型 1喜欢艺人 2签售艺人'
,
`target_id`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'目标id'
,
`manual_id`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'电子手册'
,
`status`
tinyint
NOT
NULL
DEFAULT
0
COMMENT
'1是 0否'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
),
KEY
`sweet_wechat_user_user_id`
(
`user_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
utf8mb4
COLLATE
utf8mb4_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
'用户 收藏/喜欢等状态'
;
\ No newline at end of file
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/five/SweetAppletFiveController.java
0 → 100644
View file @
46e862aa
This diff is collapsed.
Click to expand it.
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/five/SweetManualArtistsFiveController.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
controller
.
five
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistListFiveDto
;
import
com.liquidnet.service.sweet.service.five.ISweetManualArtistsFiveService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* <p>
* 电子宣传手册艺人表 前端控制器
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Api
(
tags
=
"电子手册艺人_five"
)
@RestController
@RequestMapping
(
"/five/sweet-manual-artists"
)
public
class
SweetManualArtistsFiveController
{
@Autowired
private
ISweetManualArtistsFiveService
sweetManualArtistsFiveService
;
@GetMapping
(
"getList"
)
@ApiOperation
(
"宣传手册艺人列表"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manaulId"
,
value
=
"手册id"
,
required
=
true
),
})
public
ResponseDto
<
PageInfo
<
SweetManualArtistListFiveDto
>>
getList
(
@RequestParam
()
Integer
page
,
@RequestParam
()
Integer
size
,
@RequestParam
()
String
manualId
)
{
return
sweetManualArtistsFiveService
.
getList
(
page
,
size
,
manualId
);
}
@GetMapping
(
"details"
)
@ApiOperation
(
"宣传手册艺人详情"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualRelationId"
,
value
=
"手册艺人id"
,
required
=
true
),
})
public
ResponseDto
<
SweetManualArtistListFiveDto
>
details
(
@RequestParam
()
String
manualRelationId
)
{
return
sweetManualArtistsFiveService
.
details
(
manualRelationId
);
}
@PostMapping
(
"add"
)
@ApiOperation
(
"宣传手册艺人添加"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"artistId"
,
value
=
"艺人id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"stageId"
,
value
=
"场地id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"performanceStart"
,
value
=
"演出开始时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"performanceEnd"
,
value
=
"演出结束时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureStart"
,
value
=
"签售开始时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureEnd"
,
value
=
"签售结束时间"
,
required
=
false
),
})
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
()
String
manualId
,
@RequestParam
()
String
artistId
,
@RequestParam
()
String
stageId
,
@RequestParam
(
required
=
false
)
String
performanceStart
,
@RequestParam
(
required
=
false
)
String
performanceEnd
,
@RequestParam
(
required
=
false
)
String
signatureStart
,
@RequestParam
(
required
=
false
)
String
signatureEnd
)
{
return
sweetManualArtistsFiveService
.
add
(
manualId
,
artistId
,
stageId
,
performanceStart
,
performanceEnd
,
signatureStart
,
signatureEnd
);
}
@PostMapping
(
"change"
)
@ApiOperation
(
"宣传手册艺人修改"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualRelationId"
,
value
=
"手册艺人id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"artistId"
,
value
=
"艺人id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"stageId"
,
value
=
"场地id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"performanceStart"
,
value
=
"演出开始时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"performanceEnd"
,
value
=
"演出结束时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureStart"
,
value
=
"签售开始时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureEnd"
,
value
=
"签售结束时间"
,
required
=
false
),
})
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
()
String
manualRelationId
,
@RequestParam
()
String
manualId
,
@RequestParam
()
String
artistId
,
@RequestParam
()
String
stageId
,
@RequestParam
(
required
=
false
)
String
performanceStart
,
@RequestParam
(
required
=
false
)
String
performanceEnd
,
@RequestParam
(
required
=
false
)
String
signatureStart
,
@RequestParam
(
required
=
false
)
String
signatureEnd
)
{
return
sweetManualArtistsFiveService
.
change
(
manualRelationId
,
manualId
,
artistId
,
stageId
,
performanceStart
,
performanceEnd
,
signatureStart
,
signatureEnd
);
}
@DeleteMapping
(
"delete"
)
@ApiOperation
(
"宣传手册艺人删除"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualRelationId"
,
value
=
"手册艺人id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
)
})
public
ResponseDto
<
Boolean
>
delete
(
@RequestParam
()
String
manualRelationId
,
@RequestParam
()
String
manualId
)
{
return
sweetManualArtistsFiveService
.
delete
(
manualRelationId
,
manualId
);
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/five/SweetManualFiveController.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
controller
.
five
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.dto.SweetManualFiveDto
;
import
com.liquidnet.service.sweet.service.five.ISweetManualFiveService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* <p>
* 电子宣传手册表 前端控制器
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Api
(
tags
=
"电子手册_five"
)
@RestController
@RequestMapping
(
"/five/sweet-manual"
)
public
class
SweetManualFiveController
{
@Autowired
private
ISweetManualFiveService
sweetManualFiveService
;
@GetMapping
(
"list"
)
@ApiOperation
(
"宣传手册列表"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"姓名"
,
required
=
false
),
})
public
ResponseDto
<
PageInfo
<
SweetManualFiveDto
>>
getList
(
@RequestParam
()
Integer
page
,
@RequestParam
()
Integer
size
,
@RequestParam
(
required
=
false
)
String
name
)
{
return
sweetManualFiveService
.
getManualList
(
page
,
size
,
name
);
}
@GetMapping
(
"details"
)
@ApiOperation
(
"宣传手册详情"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
),
})
public
ResponseDto
<
SweetManualFiveDto
>
details
(
@RequestParam
(
required
=
false
)
String
manualId
)
{
return
sweetManualFiveService
.
details
(
manualId
);
}
@PostMapping
(
"changeRelease"
)
@ApiOperation
(
"修改是否发布"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
changeRelease
(
@RequestParam
()
String
manualId
,
@RequestParam
()
Integer
isRelease
)
{
return
sweetManualFiveService
.
changeRelease
(
manualId
,
isRelease
);
}
@PostMapping
(
"changeStatus"
)
@ApiOperation
(
"修改是否开启"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"performancesId"
,
value
=
"演出id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"status"
,
value
=
"开启状态"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
changeStatus
(
@RequestParam
()
String
manualId
,
@RequestParam
()
String
performancesId
,
@RequestParam
()
Integer
status
)
{
return
sweetManualFiveService
.
changeStatus
(
manualId
,
performancesId
,
status
);
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/five/SweetManualNotifyFiveController.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
controller
.
five
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyFive
;
import
com.liquidnet.service.sweet.service.five.ISweetManualNotifyFiveService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* <p>
* 电子宣传手册通知表 前端控制器
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Api
(
tags
=
"电子手册通知_five"
)
@RestController
@RequestMapping
(
"/five/sweet-manual-notify"
)
public
class
SweetManualNotifyFiveController
{
@Autowired
ISweetManualNotifyFiveService
sweetManualNotifyFiveService
;
@GetMapping
(
"list"
)
@ApiOperation
(
"通知列表"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"通知标题 不查询从传递null"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
})
public
ResponseDto
<
PageInfo
<
SweetManualNotifyFive
>>
getList
(
@RequestParam
()
Integer
page
,
@RequestParam
()
Integer
size
,
@RequestParam
(
required
=
false
)
String
name
,
@RequestParam
()
String
manualId
)
{
return
sweetManualNotifyFiveService
.
getList
(
page
,
size
,
name
,
manualId
);
}
@PostMapping
(
"add"
)
@ApiOperation
(
"添加通知"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"标题"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"content"
,
value
=
"内容"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
()
String
manualId
,
@RequestParam
()
String
title
,
@RequestParam
()
String
content
)
{
return
sweetManualNotifyFiveService
.
add
(
manualId
,
title
,
content
);
}
@GetMapping
(
"detail"
)
@ApiOperation
(
"通知详情"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualNotifyId"
,
value
=
"通知id"
,
required
=
true
),
})
public
ResponseDto
<
SweetManualNotifyFive
>
detail
(
@RequestParam
()
String
manualNotifyId
)
{
return
sweetManualNotifyFiveService
.
details
(
manualNotifyId
);
}
@PostMapping
(
"change"
)
@ApiOperation
(
"修改通知"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualNotifyId"
,
value
=
"通知id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"标题"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"content"
,
value
=
"内容"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
()
String
manualId
,
@RequestParam
()
String
manualNotifyId
,
@RequestParam
()
String
title
,
@RequestParam
()
String
content
)
{
return
sweetManualNotifyFiveService
.
change
(
manualId
,
manualNotifyId
,
title
,
content
);
}
@DeleteMapping
(
"delete"
)
@ApiOperation
(
"删除通知"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualNotifyId"
,
value
=
"手册通知id"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
delete
(
@RequestParam
()
String
manualNotifyId
)
{
return
sweetManualNotifyFiveService
.
delete
(
manualNotifyId
);
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/five/SweetManualShopFiveController.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
controller
.
five
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualShopFive
;
import
com.liquidnet.service.sweet.service.five.ISweetManualShopFiveService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* <p>
* 电子宣传手册商铺表 前端控制器
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Api
(
tags
=
"电子手册吃喝玩乐_five"
)
@RestController
@RequestMapping
(
"/five/sweet-manual-shop"
)
public
class
SweetManualShopFiveController
{
@Autowired
ISweetManualShopFiveService
sweetManualShopFiveService
;
@GetMapping
(
"list"
)
@ApiOperation
(
"列表"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 1吃喝 2玩乐"
,
required
=
true
),
})
public
ResponseDto
<
List
<
SweetManualShopFive
>>
getList
(
@RequestParam
String
manualId
,
@RequestParam
Integer
type
)
{
return
sweetManualShopFiveService
.
getList
(
manualId
,
type
);
}
@GetMapping
(
"details"
)
@ApiOperation
(
"详情"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualShopId"
,
value
=
"商铺id"
,
required
=
true
),
})
public
ResponseDto
<
SweetManualShopFive
>
details
(
@RequestParam
String
manualShopId
)
{
return
sweetManualShopFiveService
.
details
(
manualShopId
);
}
@PostMapping
(
"add"
)
@ApiOperation
(
"添加"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册iid"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"标题"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"picUrl"
,
value
=
"图片地址"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"describes"
,
value
=
"描述"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 1吃喝 2玩乐"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"isRecommend"
,
value
=
"是否推荐"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"sort"
,
value
=
"排序"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
String
manualId
,
@RequestParam
String
title
,
@RequestParam
String
picUrl
,
@RequestParam
String
describes
,
@RequestParam
Integer
type
,
@RequestParam
Integer
isRecommend
,
@RequestParam
Integer
sort
)
{
return
sweetManualShopFiveService
.
add
(
manualId
,
title
,
picUrl
,
describes
,
type
,
isRecommend
,
sort
);
}
@PostMapping
(
"change"
)
@ApiOperation
(
"修改"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualShopId"
,
value
=
"商铺id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"标题"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"picUrl"
,
value
=
"图片地址"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"describes"
,
value
=
"描述"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 1吃喝 2玩乐"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"isRecommend"
,
value
=
"是否推荐"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"sort"
,
value
=
"排序"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
String
manualShopId
,
@RequestParam
String
manualId
,
@RequestParam
String
title
,
@RequestParam
String
picUrl
,
@RequestParam
String
describes
,
@RequestParam
Integer
type
,
@RequestParam
Integer
isRecommend
,
@RequestParam
Integer
sort
)
{
return
sweetManualShopFiveService
.
change
(
manualShopId
,
manualId
,
title
,
picUrl
,
describes
,
type
,
isRecommend
,
sort
);
}
@DeleteMapping
(
"delete"
)
@ApiOperation
(
"删除"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualShopId"
,
value
=
"商铺id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
delete
(
@RequestParam
()
String
manualShopId
,
@RequestParam
String
manualId
)
{
return
sweetManualShopFiveService
.
delete
(
manualShopId
,
manualId
);
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/five/SweetManualSortFiveController.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
controller
.
five
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualSortFive
;
import
com.liquidnet.service.sweet.service.five.ISweetManualSortFiveService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* <p>
* 电子宣传手册显示内容表 前端控制器
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Api
(
tags
=
"电子手册显示tag_five"
)
@RestController
@RequestMapping
(
"/five/sweet-manual-sort"
)
public
class
SweetManualSortFiveController
{
@Autowired
private
ISweetManualSortFiveService
sweetManualSortFiveService
;
@PostMapping
(
"add"
)
@ApiOperation
(
"操作 电子手册tag"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"content"
,
value
=
"内容 例子(POSITION_1,POSITION_2)"
,
required
=
true
)
})
public
ResponseDto
<
Boolean
>
changeStatus
(
@RequestParam
()
String
manualId
,
@RequestParam
()
String
content
)
{
return
sweetManualSortFiveService
.
add
(
manualId
,
content
);
}
@GetMapping
(
"get"
)
@ApiOperation
(
"获取 电子手册tag"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
)
})
public
ResponseDto
<
SweetManualSortFive
>
changeStatus
(
@RequestParam
()
String
manualId
)
{
return
sweetManualSortFiveService
.
get
(
manualId
);
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/five/SweetRichtextFiveController.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
controller
.
five
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetRichtextFive
;
import
com.liquidnet.service.sweet.service.five.ISweetRichtextFiveService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* <p>
* 电子宣传手册富文本表 前端控制器
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Api
(
tags
=
"电子手册 富文本_five"
)
@RestController
@RequestMapping
(
"/five/sweet-richtext"
)
public
class
SweetRichtextFiveController
{
@Autowired
ISweetRichtextFiveService
sweetRichtextFiveService
;
@GetMapping
(
"get"
)
@ApiOperation
(
"富文本详情"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
})
public
ResponseDto
<
SweetRichtextFive
>
get
(
@RequestParam
()
String
manualId
,
@RequestParam
()
Integer
type
)
{
return
sweetRichtextFiveService
.
get
(
manualId
,
type
);
}
@PostMapping
(
"add"
)
@ApiOperation
(
"添加富文本"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"manualId"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"details"
,
value
=
"数量"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"local"
,
value
=
"经纬度 经度,维度,"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"picUrl"
,
value
=
"图片地址"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
()
String
manualId
,
@RequestParam
(
required
=
false
)
String
details
,
@RequestParam
(
required
=
false
)
String
local
,
@RequestParam
(
required
=
false
)
String
picUrl
,
@RequestParam
()
Integer
type
)
{
return
sweetRichtextFiveService
.
add
(
manualId
,
details
,
local
,
picUrl
,
type
);
}
@PostMapping
(
"change"
)
@ApiOperation
(
"修改富文本"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"manualId"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"details"
,
value
=
"数量"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"local"
,
value
=
"经纬度 经度,维度,"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"picUrl"
,
value
=
"图片地址"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
})
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
()
String
manualId
,
@RequestParam
(
required
=
false
)
String
details
,
@RequestParam
(
required
=
false
)
String
local
,
@RequestParam
(
required
=
false
)
String
picUrl
,
@RequestParam
()
Integer
type
)
{
return
sweetRichtextFiveService
.
change
(
manualId
,
details
,
local
,
picUrl
,
type
);
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/five/SweetManualArtistsFiveServiceImpl.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
impl
.
five
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.commons.lang.util.CollectionUtil
;
import
com.liquidnet.commons.lang.util.DateUtil
;
import
com.liquidnet.commons.lang.util.IDGenerator
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistListFiveDto
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsFive
;
import
com.liquidnet.service.sweet.mapper.SweetManualArtistsFiveMapper
;
import
com.liquidnet.service.sweet.mapper.SweetManualArtistsFiveMapper
;
import
com.liquidnet.service.sweet.service.five.ISweetManualArtistsFiveService
;
import
com.liquidnet.service.sweet.service.ISweetManualArtistsTFCService
;
import
com.liquidnet.service.sweet.utils.RedisFiveDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.time.LocalDateTime
;
import
java.util.HashMap
;
import
java.util.List
;
/**
* <p>
* 电子宣传手册艺人表 服务实现类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Service
public
class
SweetManualArtistsFiveServiceImpl
extends
ServiceImpl
<
SweetManualArtistsFiveMapper
,
SweetManualArtistsFive
>
implements
ISweetManualArtistsFiveService
{
@Autowired
private
SweetManualArtistsFiveMapper
sweetManualArtistsFiveMapper
;
@Autowired
private
RedisFiveDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
PageInfo
<
SweetManualArtistListFiveDto
>>
getList
(
Integer
page
,
Integer
size
,
String
manualId
)
{
PageInfo
<
SweetManualArtistListFiveDto
>
pageInfoTmp
;
try
{
PageHelper
.
startPage
(
page
,
size
);
HashMap
<
String
,
Object
>
map
=
CollectionUtil
.
mapStringObject
();
map
.
put
(
"manualId"
,
manualId
);
List
<
SweetManualArtistListFiveDto
>
voList
=
sweetManualArtistsFiveMapper
.
getManualList
(
map
);
pageInfoTmp
=
new
PageInfo
(
voList
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
ResponseDto
.
failure
();
}
return
ResponseDto
.
success
(
pageInfoTmp
);
}
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
artistId
,
String
stageId
,
String
performanceStart
,
String
performanceEnd
,
String
signatureStart
,
String
signatureEnd
)
{
try
{
SweetManualArtistsFive
sweetManualNotify
=
SweetManualArtistsFive
.
getNew
();
sweetManualNotify
.
setManualRelationId
(
IDGenerator
.
nextSnowId
());
sweetManualNotify
.
setManualId
(
manualId
);
sweetManualNotify
.
setStageId
(
stageId
);
sweetManualNotify
.
setArtistsId
(
artistId
);
sweetManualNotify
.
setPerformanceEnd
(
performanceEnd
!=
null
?
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
performanceEnd
)
:
null
);
sweetManualNotify
.
setPerformanceStart
(
performanceStart
!=
null
?
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
performanceStart
)
:
null
);
sweetManualNotify
.
setSignatureStart
(
signatureStart
!=
null
?
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
signatureStart
)
:
null
);
sweetManualNotify
.
setSignatureEnd
(
signatureEnd
!=
null
?
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
signatureEnd
)
:
null
);
sweetManualNotify
.
setCreatedAt
(
LocalDateTime
.
now
());
sweetManualArtistsFiveMapper
.
insert
(
sweetManualNotify
);
redisDataUtils
.
deleteTimeListRedisData
(
manualId
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
SweetManualArtistListFiveDto
>
details
(
String
manualRelationId
)
{
try
{
HashMap
<
String
,
Object
>
map
=
CollectionUtil
.
mapStringObject
();
map
.
put
(
"manualRelationId"
,
manualRelationId
);
SweetManualArtistListFiveDto
dto
=
sweetManualArtistsFiveMapper
.
getManualDetails
(
map
);
return
ResponseDto
.
success
(
dto
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
Boolean
>
change
(
String
manualRelationId
,
String
manualId
,
String
artistId
,
String
stageId
,
String
performanceStart
,
String
performanceEnd
,
String
signatureStart
,
String
signatureEnd
)
{
try
{
SweetManualArtistsFive
sweetManualNotify
=
SweetManualArtistsFive
.
getNew
();
sweetManualNotify
.
setStageId
(
stageId
);
sweetManualNotify
.
setArtistsId
(
artistId
);
sweetManualNotify
.
setPerformanceEnd
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
performanceEnd
));
sweetManualNotify
.
setPerformanceStart
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
performanceStart
));
sweetManualNotify
.
setSignatureStart
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
signatureStart
));
sweetManualNotify
.
setSignatureEnd
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
signatureEnd
));
sweetManualNotify
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualArtistsFiveMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualArtistsFive
.
class
).
eq
(
SweetManualArtistsFive:
:
getManualRelationId
,
manualRelationId
));
redisDataUtils
.
deleteTimeListRedisData
(
manualId
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
Boolean
>
delete
(
String
manualRelationId
,
String
manualId
)
{
try
{
SweetManualArtistsFive
sweetManualNotify
=
SweetManualArtistsFive
.
getNew
();
sweetManualNotify
.
setManualRelationId
(
IDGenerator
.
nextSnowId
());
sweetManualNotify
.
setStatus
(
0
);
sweetManualNotify
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualArtistsFiveMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualArtistsFive
.
class
).
eq
(
SweetManualArtistsFive:
:
getManualRelationId
,
manualRelationId
));
redisDataUtils
.
deleteTimeListRedisData
(
manualId
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/five/SweetManualFiveServiceImpl.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
impl
.
five
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.commons.lang.util.CollectionUtil
;
import
com.liquidnet.commons.lang.util.DateUtil
;
import
com.liquidnet.commons.lang.util.IDGenerator
;
import
com.liquidnet.service.base.ErrorMapping
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.dto.SweetManualFiveDto
;
import
com.liquidnet.service.sweet.entity.SweetManualFive
;
import
com.liquidnet.service.sweet.mapper.SweetManualFiveMapper
;
import
com.liquidnet.service.sweet.service.five.ISweetManualFiveService
;
import
com.liquidnet.service.sweet.utils.RedisFiveDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.time.LocalDateTime
;
import
java.util.HashMap
;
import
java.util.List
;
/**
* <p>
* 电子宣传手册表 服务实现类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Service
public
class
SweetManualFiveServiceImpl
extends
ServiceImpl
<
SweetManualFiveMapper
,
SweetManualFive
>
implements
ISweetManualFiveService
{
@Autowired
private
SweetManualFiveMapper
sweetManualFiveMapper
;
@Autowired
private
RedisFiveDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
PageInfo
<
SweetManualFiveDto
>>
getManualList
(
int
page
,
int
size
,
String
name
)
{
PageInfo
<
SweetManualFiveDto
>
pageInfoTmp
;
try
{
PageHelper
.
startPage
(
page
,
size
);
HashMap
<
String
,
Object
>
map
=
CollectionUtil
.
mapStringObject
();
map
.
put
(
"title"
,
name
);
List
<
SweetManualFiveDto
>
voList
=
sweetManualFiveMapper
.
getManualList
(
map
);
for
(
int
i
=
0
;
i
<
voList
.
size
();
i
++)
{
SweetManualFiveDto
vo
=
voList
.
get
(
i
);
if
(
vo
.
getStatus
()
>=
6
&&
vo
.
getStatus
()
!=
7
)
{
if
(
DateUtil
.
compareStrDay
(
vo
.
getTimeSell
(),
DateUtil
.
getNowTime
())
>
0
)
{
//未开始
vo
.
setStatus
(
9
);
}
else
if
(
DateUtil
.
compareStrDay
(
vo
.
getTimeStop
(),
DateUtil
.
getNowTime
())
<
0
)
{
//已结束
vo
.
setStatus
(
10
);
}
else
{
vo
.
setStatus
(
6
);
}
}
}
pageInfoTmp
=
new
PageInfo
(
voList
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
20104
));
}
return
ResponseDto
.
success
(
pageInfoTmp
);
}
@Override
public
ResponseDto
<
SweetManualFiveDto
>
details
(
String
manualId
)
{
SweetManualFiveDto
vo
;
try
{
HashMap
<
String
,
Object
>
map
=
CollectionUtil
.
mapStringObject
();
map
.
put
(
"manualId"
,
manualId
);
vo
=
sweetManualFiveMapper
.
getManualDetails
(
map
);
if
(
vo
.
getStatus
()
>=
6
&&
vo
.
getStatus
()
!=
7
)
{
if
(
DateUtil
.
compareStrDay
(
vo
.
getTimeSell
(),
DateUtil
.
getNowTime
())
>
0
)
{
//未开始
vo
.
setStatus
(
9
);
}
else
if
(
DateUtil
.
compareStrDay
(
vo
.
getTimeStop
(),
DateUtil
.
getNowTime
())
<
0
)
{
//已结束
vo
.
setStatus
(
10
);
}
else
{
vo
.
setStatus
(
6
);
}
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
20104
));
}
return
ResponseDto
.
success
(
vo
);
}
@Override
public
ResponseDto
<
Boolean
>
changeStatus
(
String
manualId
,
String
performancesId
,
Integer
status
)
{
try
{
int
count
=
sweetManualFiveMapper
.
selectCount
(
Wrappers
.
lambdaUpdate
(
SweetManualFive
.
class
).
eq
(
SweetManualFive:
:
getManualId
,
manualId
));
SweetManualFive
sweetManual
=
SweetManualFive
.
getNew
();
if
(
count
>
0
)
{
//修改
sweetManual
.
setStatus
(
status
);
sweetManual
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualFiveMapper
.
update
(
sweetManual
,
Wrappers
.
lambdaUpdate
(
SweetManualFive
.
class
).
eq
(
SweetManualFive:
:
getManualId
,
manualId
));
}
else
{
//创建
sweetManual
.
setManualId
(
IDGenerator
.
nextSnowId
());
sweetManual
.
setPerformanceId
(
performancesId
);
sweetManual
.
setStatus
(
status
);
sweetManual
.
setIsRelease
(
0
);
sweetManual
.
setCreatedAt
(
LocalDateTime
.
now
());
sweetManualFiveMapper
.
insert
(
sweetManual
);
}
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
redisDataUtils
.
deletePushListRedisData
();
return
ResponseDto
.
success
();
}
@Override
public
ResponseDto
<
Boolean
>
changeRelease
(
String
manualId
,
Integer
isRelease
)
{
try
{
SweetManualFive
sweetManual
=
SweetManualFive
.
getNew
();
sweetManual
.
setIsRelease
(
isRelease
);
sweetManual
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualFiveMapper
.
update
(
sweetManual
,
Wrappers
.
lambdaUpdate
(
SweetManualFive
.
class
).
eq
(
SweetManualFive:
:
getManualId
,
manualId
));
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
redisDataUtils
.
deletePushListRedisData
();
return
ResponseDto
.
success
();
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/five/SweetManualNotifyFiveServiceImpl.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
impl
.
five
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.commons.lang.util.IDGenerator
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyFive
;
import
com.liquidnet.service.sweet.mapper.SweetManualNotifyFiveMapper
;
import
com.liquidnet.service.sweet.service.five.ISweetManualNotifyFiveService
;
import
com.liquidnet.service.sweet.utils.RedisFiveDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.time.LocalDateTime
;
import
java.util.List
;
/**
* <p>
* 电子宣传手册通知表 服务实现类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Service
public
class
SweetManualNotifyFiveServiceImpl
extends
ServiceImpl
<
SweetManualNotifyFiveMapper
,
SweetManualNotifyFive
>
implements
ISweetManualNotifyFiveService
{
@Autowired
private
SweetManualNotifyFiveMapper
sweetManualNotifyFiveMapper
;
@Autowired
private
RedisFiveDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
PageInfo
<
SweetManualNotifyFive
>>
getList
(
Integer
page
,
Integer
size
,
String
title
,
String
manualId
)
{
PageInfo
<
SweetManualNotifyFive
>
pageInfo
=
null
;
try
{
PageHelper
.
startPage
(
page
,
size
);
List
<
SweetManualNotifyFive
>
data
;
if
(
title
!=
null
)
{
data
=
sweetManualNotifyFiveMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyFive
.
class
).
like
(
SweetManualNotifyFive:
:
getTitle
,
title
).
eq
(
SweetManualNotifyFive:
:
getManualId
,
manualId
).
eq
(
SweetManualNotifyFive:
:
getStatus
,
1
));
}
else
{
data
=
sweetManualNotifyFiveMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyFive
.
class
).
eq
(
SweetManualNotifyFive:
:
getManualId
,
manualId
).
eq
(
SweetManualNotifyFive:
:
getStatus
,
1
));
}
pageInfo
=
new
PageInfo
(
data
);
return
ResponseDto
.
success
(
pageInfo
);
}
catch
(
Exception
e
)
{
return
ResponseDto
.
success
(
pageInfo
);
}
}
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
title
,
String
content
)
{
try
{
SweetManualNotifyFive
sweetManualNotify
=
SweetManualNotifyFive
.
getNew
();
sweetManualNotify
.
setManualNotifyId
(
IDGenerator
.
nextSnowId
());
sweetManualNotify
.
setManualId
(
manualId
);
sweetManualNotify
.
setTitle
(
title
);
sweetManualNotify
.
setContent
(
content
);
sweetManualNotify
.
setCreatedAt
(
LocalDateTime
.
now
());
sweetManualNotifyFiveMapper
.
insert
(
sweetManualNotify
);
List
<
SweetManualNotifyFive
>
oldData
=
redisDataUtils
.
getNotifyRedisData
(
manualId
);
oldData
.
add
(
sweetManualNotify
);
redisDataUtils
.
setNotifyRedisData
(
manualId
,
oldData
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
SweetManualNotifyFive
>
details
(
String
manualNotifyId
)
{
try
{
return
ResponseDto
.
success
(
sweetManualNotifyFiveMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyFive
.
class
).
eq
(
SweetManualNotifyFive:
:
getManualNotifyId
,
manualNotifyId
).
eq
(
SweetManualNotifyFive:
:
getStatus
,
1
)));
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
Boolean
>
change
(
String
manualId
,
String
manualNotifyId
,
String
title
,
String
content
)
{
try
{
SweetManualNotifyFive
sweetManualNotify
=
SweetManualNotifyFive
.
getNew
();
sweetManualNotify
.
setTitle
(
title
);
sweetManualNotify
.
setContent
(
content
);
sweetManualNotify
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualNotifyFiveMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualNotifyFive
.
class
).
eq
(
SweetManualNotifyFive:
:
getManualNotifyId
,
manualNotifyId
));
List
<
SweetManualNotifyFive
>
oldData
=
redisDataUtils
.
getNotifyRedisData
(
manualId
);
for
(
SweetManualNotifyFive
item
:
oldData
)
{
if
(
item
.
getManualNotifyId
().
equalsIgnoreCase
(
manualNotifyId
))
{
item
.
setTitle
(
title
);
item
.
setContent
(
content
);
item
.
setUpdatedAt
(
LocalDateTime
.
now
());
}
}
redisDataUtils
.
setNotifyRedisData
(
manualId
,
oldData
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
Boolean
>
delete
(
String
manualNotifyId
)
{
try
{
SweetManualNotifyFive
sweetManualNotify
=
SweetManualNotifyFive
.
getNew
();
sweetManualNotify
.
setStatus
(
0
);
sweetManualNotify
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualNotifyFiveMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualNotifyFive
.
class
).
eq
(
SweetManualNotifyFive:
:
getManualNotifyId
,
manualNotifyId
));
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/five/SweetManualShopFiveServiceImpl.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
impl
.
five
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.liquidnet.commons.lang.util.IDGenerator
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualShopFive
;
import
com.liquidnet.service.sweet.mapper.SweetManualShopFiveMapper
;
import
com.liquidnet.service.sweet.service.five.ISweetManualShopFiveService
;
import
com.liquidnet.service.sweet.utils.RedisFiveDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* <p>
* 电子宣传手册商铺表 服务实现类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Service
public
class
SweetManualShopFiveServiceImpl
extends
ServiceImpl
<
SweetManualShopFiveMapper
,
SweetManualShopFive
>
implements
ISweetManualShopFiveService
{
@Autowired
private
SweetManualShopFiveMapper
sweetManualShopFiveMapper
;
@Autowired
private
RedisFiveDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
List
<
SweetManualShopFive
>>
getList
(
String
manualId
,
Integer
type
)
{
try
{
List
<
SweetManualShopFive
>
data
=
sweetManualShopFiveMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualShopFive
.
class
).
eq
(
SweetManualShopFive:
:
getManualId
,
manualId
).
eq
(
SweetManualShopFive:
:
getType
,
type
).
eq
(
SweetManualShopFive:
:
getStatus
,
1
));
return
ResponseDto
.
success
(
data
);
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
SweetManualShopFive
>
details
(
String
manualShopId
)
{
try
{
SweetManualShopFive
data
=
sweetManualShopFiveMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualShopFive
.
class
).
eq
(
SweetManualShopFive:
:
getManualShopId
,
manualShopId
).
eq
(
SweetManualShopFive:
:
getStatus
,
1
));
return
ResponseDto
.
success
(
data
);
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
title
,
String
picUrl
,
String
describe
,
Integer
type
,
Integer
isRecommend
,
Integer
sort
)
{
try
{
SweetManualShopFive
sweetManualShop
=
SweetManualShopFive
.
getNew
();
sweetManualShop
.
setManualShopId
(
IDGenerator
.
nextSnowId
());
sweetManualShop
.
setManualId
(
manualId
);
sweetManualShop
.
setTitle
(
title
);
sweetManualShop
.
setPicUrl
(
picUrl
);
sweetManualShop
.
setDescribes
(
describe
);
sweetManualShop
.
setType
(
type
);
sweetManualShop
.
setIsRecommend
(
isRecommend
);
sweetManualShop
.
setSort
(
sort
);
sweetManualShop
.
setStatus
(
1
);
sweetManualShopFiveMapper
.
insert
(
sweetManualShop
);
redisDataUtils
.
setManualShopRedisData
(
manualId
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
Boolean
>
change
(
String
manualShopId
,
String
manualId
,
String
title
,
String
picUrl
,
String
describe
,
Integer
type
,
Integer
isRecommend
,
Integer
sort
)
{
try
{
SweetManualShopFive
sweetManualShop
=
SweetManualShopFive
.
getNew
();
sweetManualShop
.
setTitle
(
title
);
sweetManualShop
.
setPicUrl
(
picUrl
);
sweetManualShop
.
setDescribes
(
describe
);
sweetManualShop
.
setType
(
type
);
sweetManualShop
.
setIsRecommend
(
isRecommend
);
sweetManualShop
.
setSort
(
sort
);
sweetManualShopFiveMapper
.
update
(
sweetManualShop
,
Wrappers
.
lambdaUpdate
(
SweetManualShopFive
.
class
).
eq
(
SweetManualShopFive:
:
getManualShopId
,
manualShopId
));
redisDataUtils
.
setManualShopRedisData
(
manualId
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
Boolean
>
delete
(
String
manualShopId
,
String
manualId
)
{
try
{
SweetManualShopFive
sweetManualShop
=
SweetManualShopFive
.
getNew
();
sweetManualShop
.
setStatus
(
0
);
sweetManualShopFiveMapper
.
update
(
sweetManualShop
,
Wrappers
.
lambdaUpdate
(
SweetManualShopFive
.
class
).
eq
(
SweetManualShopFive:
:
getManualShopId
,
manualShopId
));
redisDataUtils
.
setManualShopRedisData
(
manualId
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/five/SweetManualSortFiveServiceImpl.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
impl
.
five
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualSortFive
;
import
com.liquidnet.service.sweet.mapper.SweetManualSortFiveMapper
;
import
com.liquidnet.service.sweet.service.five.ISweetManualSortFiveService
;
import
com.liquidnet.service.sweet.utils.RedisFiveDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.time.LocalDateTime
;
/**
* <p>
* 电子宣传手册显示内容表 服务实现类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Service
public
class
SweetManualSortFiveServiceImpl
extends
ServiceImpl
<
SweetManualSortFiveMapper
,
SweetManualSortFive
>
implements
ISweetManualSortFiveService
{
@Autowired
private
SweetManualSortFiveMapper
sweetManualSortFiveMapper
;
@Autowired
private
RedisFiveDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
SweetManualSortFive
>
get
(
String
manualId
)
{
try
{
return
ResponseDto
.
success
(
sweetManualSortFiveMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualSortFive
.
class
).
eq
(
SweetManualSortFive:
:
getManualId
,
manualId
)));
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
content
)
{
try
{
int
count
=
sweetManualSortFiveMapper
.
selectCount
(
Wrappers
.
lambdaUpdate
(
SweetManualSortFive
.
class
).
eq
(
SweetManualSortFive:
:
getManualId
,
manualId
));
if
(
count
>
0
)
{
SweetManualSortFive
sweetManualSort
=
SweetManualSortFive
.
getNew
();
sweetManualSort
.
setManualId
(
manualId
);
sweetManualSort
.
setShowPosition
(
content
);
sweetManualSort
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualSortFiveMapper
.
update
(
sweetManualSort
,
Wrappers
.
lambdaUpdate
(
SweetManualSortFive
.
class
).
eq
(
SweetManualSortFive:
:
getManualId
,
manualId
));
}
else
{
SweetManualSortFive
sweetManualSort
=
SweetManualSortFive
.
getNew
();
sweetManualSort
.
setManualId
(
manualId
);
sweetManualSort
.
setShowPosition
(
content
);
sweetManualSort
.
setCreatedAt
(
LocalDateTime
.
now
());
sweetManualSortFiveMapper
.
insert
(
sweetManualSort
);
}
redisDataUtils
.
deleteSortRedisData
(
manualId
);
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
return
ResponseDto
.
success
();
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/five/SweetRichtextFiveServiceImpl.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
impl
.
five
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.liquidnet.commons.lang.util.IDGenerator
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetRichtextFive
;
import
com.liquidnet.service.sweet.mapper.SweetRichtextFiveMapper
;
import
com.liquidnet.service.sweet.service.five.ISweetRichtextFiveService
;
import
com.liquidnet.service.sweet.utils.RedisFiveDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.time.LocalDateTime
;
/**
* <p>
* 电子宣传手册富文本表 服务实现类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Service
public
class
SweetRichtextFiveServiceImpl
extends
ServiceImpl
<
SweetRichtextFiveMapper
,
SweetRichtextFive
>
implements
ISweetRichtextFiveService
{
@Autowired
private
SweetRichtextFiveMapper
sweetRichtextFiveMapper
;
@Autowired
private
RedisFiveDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
SweetRichtextFive
>
get
(
String
manualId
,
Integer
type
)
{
try
{
return
ResponseDto
.
success
(
sweetRichtextFiveMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetRichtextFive
.
class
).
eq
(
SweetRichtextFive:
:
getManualId
,
manualId
).
eq
(
SweetRichtextFive:
:
getType
,
type
)));
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
}
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
details
,
String
local
,
String
pirUrl
,
Integer
type
)
{
try
{
int
count
=
sweetRichtextFiveMapper
.
selectCount
(
Wrappers
.
lambdaQuery
(
SweetRichtextFive
.
class
).
eq
(
SweetRichtextFive:
:
getManualId
,
manualId
).
eq
(
SweetRichtextFive:
:
getType
,
type
));
if
(
count
>
0
){
return
ResponseDto
.
failure
(
"不能重复添加"
);
}
SweetRichtextFive
sweetRichtext
=
SweetRichtextFive
.
getNew
();
sweetRichtext
.
setRichtextId
(
IDGenerator
.
nextSnowId
());
sweetRichtext
.
setManualId
(
manualId
);
if
(
type
==
5
)
{
sweetRichtext
.
setLocal
(
local
);
sweetRichtext
.
setDetails
(
details
);
}
else
if
(
type
==
2
)
{
sweetRichtext
.
setPicUrl
(
pirUrl
);
}
else
{
sweetRichtext
.
setDetails
(
details
);
}
sweetRichtext
.
setType
(
type
);
sweetRichtext
.
setCreatedAt
(
LocalDateTime
.
now
());
sweetRichtextFiveMapper
.
insert
(
sweetRichtext
);
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
return
ResponseDto
.
success
();
}
@Override
public
ResponseDto
<
Boolean
>
change
(
String
manualId
,
String
details
,
String
local
,
String
pirUrl
,
Integer
type
)
{
try
{
SweetRichtextFive
sweetRichtext
=
SweetRichtextFive
.
getNew
();
sweetRichtext
.
setRichtextId
(
IDGenerator
.
nextSnowId
());
sweetRichtext
.
setManualId
(
manualId
);
sweetRichtext
.
setDetails
(
details
);
if
(
type
==
5
)
{
sweetRichtext
.
setLocal
(
local
);
}
else
if
(
type
==
2
)
{
sweetRichtext
.
setPicUrl
(
pirUrl
);
}
sweetRichtext
.
setType
(
type
);
sweetRichtext
.
setCreatedAt
(
LocalDateTime
.
now
());
sweetRichtextFiveMapper
.
update
(
sweetRichtext
,
Wrappers
.
lambdaUpdate
(
SweetRichtextFive
.
class
).
eq
(
SweetRichtextFive:
:
getManualId
,
manualId
).
eq
(
SweetRichtextFive:
:
getType
,
type
));
redisDataUtils
.
setRichTextRedisData
(
manualId
,
type
.
toString
(),
sweetRichtext
);
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
return
ResponseDto
.
success
();
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/five/SweetUserRelationFiveServiceImpl.java
0 → 100644
View file @
46e862aa
package
com
.
liquidnet
.
service
.
sweet
.
service
.
impl
.
five
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationFive
;
import
com.liquidnet.service.sweet.mapper.SweetUserRelationFiveMapper
;
import
com.liquidnet.service.sweet.service.five.ISweetUserRelationFiveService
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 用户 收藏/喜欢等状态 服务实现类
* </p>
*
* @author liquidnet
* @since 2021-08-09
*/
@Service
public
class
SweetUserRelationFiveServiceImpl
extends
ServiceImpl
<
SweetUserRelationFiveMapper
,
SweetUserRelationFive
>
implements
ISweetUserRelationFiveService
{
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/utils/ObjectUtil.java
View file @
46e862aa
...
@@ -4,6 +4,7 @@ import com.liquidnet.service.sweet.dto.*;
...
@@ -4,6 +4,7 @@ import com.liquidnet.service.sweet.dto.*;
import
com.liquidnet.service.sweet.dto.vo.IntegralActivityDrawVo
;
import
com.liquidnet.service.sweet.dto.vo.IntegralActivityDrawVo
;
import
com.liquidnet.service.sweet.dto.vo.IntegralActivityVo
;
import
com.liquidnet.service.sweet.dto.vo.IntegralActivityVo
;
import
com.liquidnet.service.sweet.entity.SweetManualShop
;
import
com.liquidnet.service.sweet.entity.SweetManualShop
;
import
com.liquidnet.service.sweet.entity.SweetManualShopFive
;
import
com.liquidnet.service.sweet.entity.SweetManualShopMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualShopMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualShopTfc
;
import
com.liquidnet.service.sweet.entity.SweetManualShopTfc
;
import
com.liquidnet.service.sweet.vo.SweetCItyVoteStatVo
;
import
com.liquidnet.service.sweet.vo.SweetCItyVoteStatVo
;
...
@@ -19,6 +20,10 @@ public class ObjectUtil {
...
@@ -19,6 +20,10 @@ public class ObjectUtil {
private
static
final
ArrayList
<
SweetManualArtistListMDSKDto
>
sweetManualArtistListMDSKDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualArtistListMDSKDto
>
sweetManualArtistListMDSKDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualShopMdsk
>
sweetManualShopMDSKList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualShopMdsk
>
sweetManualShopMDSKList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualAppletFiveDto
>
sweetManualAppletFiveDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualArtistListFiveDto
>
sweetManualArtistListFiveDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualShopFive
>
sweetManualShopFiveList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualAppletTFCDto
>
sweetManualAppletTFCDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualAppletTFCDto
>
sweetManualAppletTFCDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualArtistListTFCDto
>
sweetManualArtistListTFCDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualArtistListTFCDto
>
sweetManualArtistListTFCDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualShopTfc
>
sweetManualShopTFCList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualShopTfc
>
sweetManualShopTFCList
=
new
ArrayList
<>();
...
@@ -44,6 +49,10 @@ public class ObjectUtil {
...
@@ -44,6 +49,10 @@ public class ObjectUtil {
return
(
ArrayList
<
SweetManualAppletMDSKDto
>)
sweetManualAppletMDSKDtoList
.
clone
();
return
(
ArrayList
<
SweetManualAppletMDSKDto
>)
sweetManualAppletMDSKDtoList
.
clone
();
}
}
public
static
ArrayList
<
SweetManualAppletFiveDto
>
getSweetManualAppletFiveDtoList
()
{
return
(
ArrayList
<
SweetManualAppletFiveDto
>)
sweetManualAppletFiveDtoList
.
clone
();
}
public
static
ArrayList
<
SweetManualAppletTFCDto
>
getSweetManualAppletTFCDtoList
()
{
public
static
ArrayList
<
SweetManualAppletTFCDto
>
getSweetManualAppletTFCDtoList
()
{
return
(
ArrayList
<
SweetManualAppletTFCDto
>)
sweetManualAppletTFCDtoList
.
clone
();
return
(
ArrayList
<
SweetManualAppletTFCDto
>)
sweetManualAppletTFCDtoList
.
clone
();
}
}
...
@@ -64,6 +73,14 @@ public class ObjectUtil {
...
@@ -64,6 +73,14 @@ public class ObjectUtil {
return
(
ArrayList
<
SweetManualShopMdsk
>)
sweetManualShopMDSKList
.
clone
();
return
(
ArrayList
<
SweetManualShopMdsk
>)
sweetManualShopMDSKList
.
clone
();
}
}
public
static
ArrayList
<
SweetManualArtistListFiveDto
>
getSweetManualArtistListFiveDtoList
()
{
return
(
ArrayList
<
SweetManualArtistListFiveDto
>)
sweetManualArtistListFiveDtoList
.
clone
();
}
public
static
ArrayList
<
SweetManualShopFive
>
getSweetManualShopFiveList
()
{
return
(
ArrayList
<
SweetManualShopFive
>)
sweetManualShopFiveList
.
clone
();
}
public
static
ArrayList
<
SweetCItyVoteStatVo
>
getSweetCItyVoteStatVoList
()
{
public
static
ArrayList
<
SweetCItyVoteStatVo
>
getSweetCItyVoteStatVoList
()
{
return
(
ArrayList
<
SweetCItyVoteStatVo
>)
sweetCItyVoteStatVoList
.
clone
();
return
(
ArrayList
<
SweetCItyVoteStatVo
>)
sweetCItyVoteStatVoList
.
clone
();
}
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/utils/RedisFiveDataUtils.java
0 → 100644
View file @
46e862aa
This diff is collapsed.
Click to expand it.
liquidnet-bus-service/liquidnet-service-sweet/src/main/resources/sqlmap.properties
View file @
46e862aa
This diff is collapsed.
Click to expand it.
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