记得上下班打卡 | 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
56632e63
Commit
56632e63
authored
Dec 16, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 tfc
parent
a9f4d981
Changes
38
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
191 additions
and
208 deletions
+191
-208
ISweetManualArtistsTFCService.java
.../service/sweet/service/ISweetManualArtistsTFCService.java
+2
-4
ISweetManualNotifyTFCService.java
...t/service/sweet/service/ISweetManualNotifyTFCService.java
+4
-5
ISweetManualShopTFCService.java
...net/service/sweet/service/ISweetManualShopTFCService.java
+4
-5
ISweetManualSortTFCService.java
...net/service/sweet/service/ISweetManualSortTFCService.java
+3
-4
ISweetManualTFCService.java
...quidnet/service/sweet/service/ISweetManualTFCService.java
+2
-4
ISweetRichtextTFCService.java
...idnet/service/sweet/service/ISweetRichtextTFCService.java
+3
-4
ISweetUserRelationTFCService.java
...t/service/sweet/service/ISweetUserRelationTFCService.java
+2
-3
SweetManualShopTFCAllVo.java
...m/liquidnet/service/sweet/vo/SweetManualShopTFCAllVo.java
+4
-5
SweetManualArtistsTfc.java
...liquidnet/service/sweet/entity/SweetManualArtistsTfc.java
+5
-5
SweetManualNotifyTfc.java
.../liquidnet/service/sweet/entity/SweetManualNotifyTfc.java
+5
-5
SweetManualShopTfc.java
...om/liquidnet/service/sweet/entity/SweetManualShopTfc.java
+5
-5
SweetManualSortTfc.java
...om/liquidnet/service/sweet/entity/SweetManualSortTfc.java
+5
-5
SweetManualTfc.java
...va/com/liquidnet/service/sweet/entity/SweetManualTfc.java
+5
-5
SweetRichtextTfc.java
.../com/liquidnet/service/sweet/entity/SweetRichtextTfc.java
+5
-5
SweetUserRelationTfc.java
.../liquidnet/service/sweet/entity/SweetUserRelationTfc.java
+1
-1
SweetManualArtistsTfcMapper.java
...net/service/sweet/mapper/SweetManualArtistsTfcMapper.java
+2
-2
SweetManualNotifyTfcMapper.java
...dnet/service/sweet/mapper/SweetManualNotifyTfcMapper.java
+2
-3
SweetManualShopTfcMapper.java
...uidnet/service/sweet/mapper/SweetManualShopTfcMapper.java
+2
-3
SweetManualSortTfcMapper.java
...uidnet/service/sweet/mapper/SweetManualSortTfcMapper.java
+2
-3
SweetManualTfcMapper.java
.../liquidnet/service/sweet/mapper/SweetManualTfcMapper.java
+2
-5
SweetRichtextTfcMapper.java
...iquidnet/service/sweet/mapper/SweetRichtextTfcMapper.java
+2
-3
SweetUserRelationTfcMapper.java
...dnet/service/sweet/mapper/SweetUserRelationTfcMapper.java
+2
-3
SweetManualArtistsTFCMapper.xml
...dnet.service.sweet.mapper/SweetManualArtistsTFCMapper.xml
+1
-1
SweetManualTFCMapper.xml
...m.liquidnet.service.sweet.mapper/SweetManualTFCMapper.xml
+1
-1
SweetAppletTFCController.java
...et/service/sweet/controller/SweetAppletTFCController.java
+7
-7
SweetManualNotifyTFCController.java
...vice/sweet/controller/SweetManualNotifyTFCController.java
+3
-3
SweetManualShopTFCController.java
...ervice/sweet/controller/SweetManualShopTFCController.java
+3
-3
SweetManualSortTFCController.java
...ervice/sweet/controller/SweetManualSortTFCController.java
+2
-2
SweetRichtextTFCController.java
.../service/sweet/controller/SweetRichtextTFCController.java
+2
-2
SweetManualArtistsTFCServiceImpl.java
.../sweet/service/impl/SweetManualArtistsTFCServiceImpl.java
+9
-9
SweetManualNotifyTFCServiceImpl.java
...e/sweet/service/impl/SweetManualNotifyTFCServiceImpl.java
+19
-19
SweetManualShopTFCServiceImpl.java
...ice/sweet/service/impl/SweetManualShopTFCServiceImpl.java
+13
-13
SweetManualSortTFCServiceImpl.java
...ice/sweet/service/impl/SweetManualSortTFCServiceImpl.java
+10
-10
SweetManualTFCServiceImpl.java
...service/sweet/service/impl/SweetManualTFCServiceImpl.java
+10
-9
SweetRichtextTFCServiceImpl.java
...rvice/sweet/service/impl/SweetRichtextTFCServiceImpl.java
+10
-10
SweetUserRelationTFCServiceImpl.java
...e/sweet/service/impl/SweetUserRelationTFCServiceImpl.java
+3
-3
ObjectUtil.java
...in/java/com/liquidnet/service/sweet/utils/ObjectUtil.java
+4
-4
RedisTFCDataUtils.java
.../com/liquidnet/service/sweet/utils/RedisTFCDataUtils.java
+25
-25
No files found.
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/ISweetManualArtistsTFCService.java
View file @
56632e63
...
...
@@ -3,10 +3,8 @@ package com.liquidnet.service.sweet.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistListMDSKDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistListTFCDto
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsTfc
;
/**
* <p>
...
...
@@ -16,7 +14,7 @@ import com.liquidnet.service.sweet.entity.SweetManualArtistsTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualArtistsTFCService
extends
IService
<
SweetManualArtistsT
FC
>
{
public
interface
ISweetManualArtistsTFCService
extends
IService
<
SweetManualArtistsT
fc
>
{
ResponseDto
<
PageInfo
<
SweetManualArtistListTFCDto
>>
getList
(
Integer
page
,
Integer
size
,
String
manualId
);
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
artistId
,
String
stageId
,
String
performanceStart
,
String
performanceEnd
,
String
signatureStart
,
String
signatureEnd
);
...
...
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/ISweetManualNotifyTFCService.java
View file @
56632e63
...
...
@@ -3,8 +3,7 @@ package com.liquidnet.service.sweet.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyTfc
;
/**
* <p>
...
...
@@ -14,12 +13,12 @@ import com.liquidnet.service.sweet.entity.SweetManualNotifyTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualNotifyTFCService
extends
IService
<
SweetManualNotifyT
FC
>
{
ResponseDto
<
PageInfo
<
SweetManualNotifyT
FC
>>
getList
(
Integer
page
,
Integer
size
,
String
title
,
String
manualId
);
public
interface
ISweetManualNotifyTFCService
extends
IService
<
SweetManualNotifyT
fc
>
{
ResponseDto
<
PageInfo
<
SweetManualNotifyT
fc
>>
getList
(
Integer
page
,
Integer
size
,
String
title
,
String
manualId
);
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
title
,
String
content
);
ResponseDto
<
SweetManualNotifyT
FC
>
details
(
String
manualId
);
ResponseDto
<
SweetManualNotifyT
fc
>
details
(
String
manualId
);
ResponseDto
<
Boolean
>
change
(
String
manualId
,
String
manualNotifyId
,
String
title
,
String
content
);
...
...
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/ISweetManualShopTFCService.java
View file @
56632e63
...
...
@@ -2,8 +2,7 @@ package com.liquidnet.service.sweet.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualShopMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualShopTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualShopTfc
;
import
java.util.List
;
...
...
@@ -15,10 +14,10 @@ import java.util.List;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualShopTFCService
extends
IService
<
SweetManualShopT
FC
>
{
ResponseDto
<
List
<
SweetManualShopT
FC
>>
getList
(
String
manualId
,
Integer
type
);
public
interface
ISweetManualShopTFCService
extends
IService
<
SweetManualShopT
fc
>
{
ResponseDto
<
List
<
SweetManualShopT
fc
>>
getList
(
String
manualId
,
Integer
type
);
ResponseDto
<
SweetManualShopT
FC
>
details
(
String
manualShopId
);
ResponseDto
<
SweetManualShopT
fc
>
details
(
String
manualShopId
);
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
title
,
String
picUrl
,
String
describe
,
Integer
type
,
Integer
isRecommend
,
Integer
sort
);
...
...
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/ISweetManualSortTFCService.java
View file @
56632e63
...
...
@@ -2,8 +2,7 @@ package com.liquidnet.service.sweet.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualSortMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualSortTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualSortTfc
;
/**
* <p>
...
...
@@ -13,8 +12,8 @@ import com.liquidnet.service.sweet.entity.SweetManualSortTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualSortTFCService
extends
IService
<
SweetManualSortT
FC
>
{
ResponseDto
<
SweetManualSortT
FC
>
get
(
String
manualId
);
public
interface
ISweetManualSortTFCService
extends
IService
<
SweetManualSortT
fc
>
{
ResponseDto
<
SweetManualSortT
fc
>
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/ISweetManualTFCService.java
View file @
56632e63
...
...
@@ -3,10 +3,8 @@ package com.liquidnet.service.sweet.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.dto.SweetManualMDSKDto
;
import
com.liquidnet.service.sweet.dto.SweetManualTFCDto
;
import
com.liquidnet.service.sweet.entity.SweetManualMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualTfc
;
/**
* <p>
...
...
@@ -16,7 +14,7 @@ import com.liquidnet.service.sweet.entity.SweetManualTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetManualTFCService
extends
IService
<
SweetManualT
FC
>
{
public
interface
ISweetManualTFCService
extends
IService
<
SweetManualT
fc
>
{
ResponseDto
<
PageInfo
<
SweetManualTFCDto
>>
getManualList
(
int
page
,
int
size
,
String
name
);
...
...
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/ISweetRichtextTFCService.java
View file @
56632e63
...
...
@@ -2,8 +2,7 @@ package com.liquidnet.service.sweet.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetRichtextMdsk
;
import
com.liquidnet.service.sweet.entity.SweetRichtextTFC
;
import
com.liquidnet.service.sweet.entity.SweetRichtextTfc
;
/**
* <p>
...
...
@@ -13,8 +12,8 @@ import com.liquidnet.service.sweet.entity.SweetRichtextTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetRichtextTFCService
extends
IService
<
SweetRichtextT
FC
>
{
ResponseDto
<
SweetRichtextT
FC
>
get
(
String
manualId
,
Integer
type
);
public
interface
ISweetRichtextTFCService
extends
IService
<
SweetRichtextT
fc
>
{
ResponseDto
<
SweetRichtextT
fc
>
get
(
String
manualId
,
Integer
type
);
ResponseDto
<
Boolean
>
add
(
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/ISweetUserRelationTFCService.java
View file @
56632e63
package
com
.
liquidnet
.
service
.
sweet
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationMdsk
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationTFC
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationTfc
;
/**
* <p>
...
...
@@ -12,6 +11,6 @@ import com.liquidnet.service.sweet.entity.SweetUserRelationTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
ISweetUserRelationTFCService
extends
IService
<
SweetUserRelationT
FC
>
{
public
interface
ISweetUserRelationTFCService
extends
IService
<
SweetUserRelationT
fc
>
{
}
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/vo/SweetManualShopTFCAllVo.java
View file @
56632e63
package
com
.
liquidnet
.
service
.
sweet
.
vo
;
import
com.liquidnet.service.sweet.entity.SweetManualShopMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualShopTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualShopTfc
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
@@ -13,11 +12,11 @@ import java.util.List;
@ApiModel
public
class
SweetManualShopTFCAllVo
implements
Serializable
,
Cloneable
{
@ApiModelProperty
(
"推荐"
)
private
List
<
SweetManualShopT
FC
>
recommend
;
private
List
<
SweetManualShopT
fc
>
recommend
;
@ApiModelProperty
(
"吃喝"
)
private
List
<
SweetManualShopT
FC
>
eat
;
private
List
<
SweetManualShopT
fc
>
eat
;
@ApiModelProperty
(
"玩乐"
)
private
List
<
SweetManualShopT
FC
>
play
;
private
List
<
SweetManualShopT
fc
>
play
;
private
static
final
SweetManualShopTFCAllVo
obj
=
new
SweetManualShopTFCAllVo
();
public
static
SweetManualShopTFCAllVo
getNew
()
{
...
...
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualArtistsT
FC
.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualArtistsT
fc
.java
View file @
56632e63
...
...
@@ -18,7 +18,7 @@ import java.time.LocalDateTime;
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualArtistsT
FC
implements
Serializable
,
Cloneable
{
public
class
SweetManualArtistsT
fc
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -80,12 +80,12 @@ public class SweetManualArtistsTFC implements Serializable ,Cloneable{
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualArtistsT
FC
obj
=
new
SweetManualArtistsTFC
();
public
static
SweetManualArtistsT
FC
getNew
()
{
private
static
final
SweetManualArtistsT
fc
obj
=
new
SweetManualArtistsTfc
();
public
static
SweetManualArtistsT
fc
getNew
()
{
try
{
return
(
SweetManualArtistsT
FC
)
obj
.
clone
();
return
(
SweetManualArtistsT
fc
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualArtistsT
FC
();
return
new
SweetManualArtistsT
fc
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualNotifyT
FC
.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualNotifyT
fc
.java
View file @
56632e63
...
...
@@ -18,7 +18,7 @@ import java.time.LocalDateTime;
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualNotifyT
FC
implements
Serializable
,
Cloneable
{
public
class
SweetManualNotifyT
fc
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -60,12 +60,12 @@ public class SweetManualNotifyTFC implements Serializable ,Cloneable{
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualNotifyT
FC
obj
=
new
SweetManualNotifyTFC
();
public
static
SweetManualNotifyT
FC
getNew
()
{
private
static
final
SweetManualNotifyT
fc
obj
=
new
SweetManualNotifyTfc
();
public
static
SweetManualNotifyT
fc
getNew
()
{
try
{
return
(
SweetManualNotifyT
FC
)
obj
.
clone
();
return
(
SweetManualNotifyT
fc
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualNotifyT
FC
();
return
new
SweetManualNotifyT
fc
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualShopT
FC
.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualShopT
fc
.java
View file @
56632e63
...
...
@@ -18,7 +18,7 @@ import java.time.LocalDateTime;
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualShopT
FC
implements
Serializable
,
Cloneable
{
public
class
SweetManualShopT
fc
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -80,12 +80,12 @@ public class SweetManualShopTFC implements Serializable,Cloneable {
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualShopT
FC
obj
=
new
SweetManualShopTFC
();
public
static
SweetManualShopT
FC
getNew
()
{
private
static
final
SweetManualShopT
fc
obj
=
new
SweetManualShopTfc
();
public
static
SweetManualShopT
fc
getNew
()
{
try
{
return
(
SweetManualShopT
FC
)
obj
.
clone
();
return
(
SweetManualShopT
fc
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualShopT
FC
();
return
new
SweetManualShopT
fc
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualSortT
FC
.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualSortT
fc
.java
View file @
56632e63
...
...
@@ -18,7 +18,7 @@ import java.time.LocalDateTime;
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualSortT
FC
implements
Serializable
,
Cloneable
{
public
class
SweetManualSortT
fc
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -45,12 +45,12 @@ public class SweetManualSortTFC implements Serializable,Cloneable {
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualSortT
FC
obj
=
new
SweetManualSortTFC
();
public
static
SweetManualSortT
FC
getNew
()
{
private
static
final
SweetManualSortT
fc
obj
=
new
SweetManualSortTfc
();
public
static
SweetManualSortT
fc
getNew
()
{
try
{
return
(
SweetManualSortT
FC
)
obj
.
clone
();
return
(
SweetManualSortT
fc
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualSortT
FC
();
return
new
SweetManualSortT
fc
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualT
FC
.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetManualT
fc
.java
View file @
56632e63
...
...
@@ -18,7 +18,7 @@ import java.time.LocalDateTime;
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetManualT
FC
implements
Serializable
,
Cloneable
{
public
class
SweetManualT
fc
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -55,12 +55,12 @@ public class SweetManualTFC implements Serializable,Cloneable {
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetManualT
FC
obj
=
new
SweetManualTFC
();
public
static
SweetManualT
FC
getNew
()
{
private
static
final
SweetManualT
fc
obj
=
new
SweetManualTfc
();
public
static
SweetManualT
fc
getNew
()
{
try
{
return
(
SweetManualT
FC
)
obj
.
clone
();
return
(
SweetManualT
fc
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetManualT
FC
();
return
new
SweetManualT
fc
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetRichtextT
FC
.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetRichtextT
fc
.java
View file @
56632e63
...
...
@@ -18,7 +18,7 @@ import java.time.LocalDateTime;
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetRichtextT
FC
implements
Serializable
,
Cloneable
{
public
class
SweetRichtextT
fc
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -70,12 +70,12 @@ public class SweetRichtextTFC implements Serializable ,Cloneable{
*/
private
LocalDateTime
updatedAt
;
private
static
final
SweetRichtextT
FC
obj
=
new
SweetRichtextTFC
();
public
static
SweetRichtextT
FC
getNew
()
{
private
static
final
SweetRichtextT
fc
obj
=
new
SweetRichtextTfc
();
public
static
SweetRichtextT
fc
getNew
()
{
try
{
return
(
SweetRichtextT
FC
)
obj
.
clone
();
return
(
SweetRichtextT
fc
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
SweetRichtextT
FC
();
return
new
SweetRichtextT
fc
();
}
}
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetUserRelationT
FC
.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetUserRelationT
fc
.java
View file @
56632e63
...
...
@@ -18,7 +18,7 @@ import java.time.LocalDateTime;
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetUserRelationT
FC
implements
Serializable
{
public
class
SweetUserRelationT
fc
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualArtistsT
FC
Mapper.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualArtistsT
fc
Mapper.java
View file @
56632e63
...
...
@@ -3,7 +3,7 @@ package com.liquidnet.service.sweet.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistListTFCDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistStageListTFCDto
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsT
FC
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsT
fc
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -16,7 +16,7 @@ import java.util.Map;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualArtistsT
FCMapper
extends
BaseMapper
<
SweetManualArtistsTFC
>
{
public
interface
SweetManualArtistsT
fcMapper
extends
BaseMapper
<
SweetManualArtistsTfc
>
{
List
<
SweetManualArtistListTFCDto
>
getManualList
(
Map
<
String
,
Object
>
map
);
...
...
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualNotifyT
FC
Mapper.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualNotifyT
fc
Mapper.java
View file @
56632e63
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyTfc
;
/**
* <p>
...
...
@@ -12,6 +11,6 @@ import com.liquidnet.service.sweet.entity.SweetManualNotifyTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualNotifyT
FCMapper
extends
BaseMapper
<
SweetManualNotifyTFC
>
{
public
interface
SweetManualNotifyT
fcMapper
extends
BaseMapper
<
SweetManualNotifyTfc
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualShopT
FC
Mapper.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualShopT
fc
Mapper.java
View file @
56632e63
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetManualShopMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualShopTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualShopTfc
;
/**
* <p>
...
...
@@ -12,6 +11,6 @@ import com.liquidnet.service.sweet.entity.SweetManualShopTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualShopT
FCMapper
extends
BaseMapper
<
SweetManualShopTFC
>
{
public
interface
SweetManualShopT
fcMapper
extends
BaseMapper
<
SweetManualShopTfc
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualSortT
FC
Mapper.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualSortT
fc
Mapper.java
View file @
56632e63
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetManualSortMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualSortTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualSortTfc
;
/**
* <p>
...
...
@@ -12,6 +11,6 @@ import com.liquidnet.service.sweet.entity.SweetManualSortTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualSortT
FCMapper
extends
BaseMapper
<
SweetManualSortTFC
>
{
public
interface
SweetManualSortT
fcMapper
extends
BaseMapper
<
SweetManualSortTfc
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualT
FC
Mapper.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetManualT
fc
Mapper.java
View file @
56632e63
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.dto.SweetManualAppletMDSKDto
;
import
com.liquidnet.service.sweet.dto.SweetManualAppletTFCDto
;
import
com.liquidnet.service.sweet.dto.SweetManualMDSKDto
;
import
com.liquidnet.service.sweet.dto.SweetManualTFCDto
;
import
com.liquidnet.service.sweet.entity.SweetManualMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualTFC
;
import
com.liquidnet.service.sweet.entity.SweetManualTfc
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -19,7 +16,7 @@ import java.util.Map;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetManualT
FCMapper
extends
BaseMapper
<
SweetManualTFC
>
{
public
interface
SweetManualT
fcMapper
extends
BaseMapper
<
SweetManualTfc
>
{
List
<
SweetManualTFCDto
>
getManualList
(
Map
<
String
,
Object
>
map
);
...
...
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetRichtextT
FC
Mapper.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetRichtextT
fc
Mapper.java
View file @
56632e63
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetRichtextMdsk
;
import
com.liquidnet.service.sweet.entity.SweetRichtextTFC
;
import
com.liquidnet.service.sweet.entity.SweetRichtextTfc
;
/**
* <p>
...
...
@@ -12,6 +11,6 @@ import com.liquidnet.service.sweet.entity.SweetRichtextTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetRichtextT
FCMapper
extends
BaseMapper
<
SweetRichtextTFC
>
{
public
interface
SweetRichtextT
fcMapper
extends
BaseMapper
<
SweetRichtextTfc
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetUserRelationT
FC
Mapper.java
→
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetUserRelationT
fc
Mapper.java
View file @
56632e63
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationMdsk
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationTFC
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationTfc
;
/**
* <p>
...
...
@@ -12,6 +11,6 @@ import com.liquidnet.service.sweet.entity.SweetUserRelationTFC;
* @author liquidnet
* @since 2021-08-09
*/
public
interface
SweetUserRelationT
FCMapper
extends
BaseMapper
<
SweetUserRelationTFC
>
{
public
interface
SweetUserRelationT
fcMapper
extends
BaseMapper
<
SweetUserRelationTfc
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetManualArtistsTFCMapper.xml
View file @
56632e63
<?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.SweetManualArtistsT
FC
Mapper"
>
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetManualArtistsT
fc
Mapper"
>
<resultMap
id=
"getManualListResult"
type=
"com.liquidnet.service.sweet.dto.SweetManualArtistListTFCDto"
>
<result
column=
"manual_relation_id"
property=
"manualRelationId"
/>
...
...
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetManualTFCMapper.xml
View file @
56632e63
<?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.SweetManualT
FC
Mapper"
>
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetManualT
fc
Mapper"
>
<resultMap
id=
"partnerPerformanceListResult"
type=
"com.liquidnet.service.sweet.dto.SweetManualTFCDto"
>
<result
column=
"manual_id"
property=
"manualId"
/>
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetAppletTFCController.java
View file @
56632e63
...
...
@@ -57,7 +57,7 @@ public class SweetAppletTFCController {
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
})
public
ResponseDto
<
List
<
SweetManualNotifyT
FC
>>
notify
(
@RequestParam
()
String
manualId
)
{
public
ResponseDto
<
List
<
SweetManualNotifyT
fc
>>
notify
(
@RequestParam
()
String
manualId
)
{
return
ResponseDto
.
success
(
redisDataUtils
.
getNotifyRedisData
(
manualId
));
}
...
...
@@ -182,7 +182,7 @@ public class SweetAppletTFCController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
})
public
ResponseDto
<
SweetRichtextT
FC
>
richText
(
@RequestParam
()
String
manualId
,
public
ResponseDto
<
SweetRichtextT
fc
>
richText
(
@RequestParam
()
String
manualId
,
@RequestParam
()
String
type
)
{
return
ResponseDto
.
success
(
redisDataUtils
.
getRichTextRedisData
(
manualId
,
type
));
}
...
...
@@ -296,14 +296,14 @@ public class SweetAppletTFCController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"artistsId"
,
value
=
"艺人id"
,
required
=
true
)
})
public
ResponseDto
<
SweetManualShopTFCAllVo
>
manualShop
(
@RequestParam
String
manualId
)
{
List
<
SweetManualShopT
FC
>
shopList
=
redisDataUtils
.
getManualShopRedisData
(
manualId
);
List
<
SweetManualShopT
fc
>
shopList
=
redisDataUtils
.
getManualShopRedisData
(
manualId
);
List
<
SweetManualShopT
FC
>
recommend
=
ObjectUtil
.
getSweetManualShopTFCList
();
List
<
SweetManualShopT
FC
>
eat
=
ObjectUtil
.
getSweetManualShopTFCList
();
List
<
SweetManualShopT
FC
>
play
=
ObjectUtil
.
getSweetManualShopTFCList
();
List
<
SweetManualShopT
fc
>
recommend
=
ObjectUtil
.
getSweetManualShopTFCList
();
List
<
SweetManualShopT
fc
>
eat
=
ObjectUtil
.
getSweetManualShopTFCList
();
List
<
SweetManualShopT
fc
>
play
=
ObjectUtil
.
getSweetManualShopTFCList
();
SweetManualShopTFCAllVo
vo
=
SweetManualShopTFCAllVo
.
getNew
();
for
(
SweetManualShopT
FC
item
:
shopList
)
{
for
(
SweetManualShopT
fc
item
:
shopList
)
{
if
(
item
.
getIsRecommend
().
equals
(
1
))
{
recommend
.
add
(
item
);
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetManualNotifyTFCController.java
View file @
56632e63
...
...
@@ -3,7 +3,7 @@ package com.liquidnet.service.sweet.controller;
import
com.github.pagehelper.PageInfo
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyT
FC
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyT
fc
;
import
com.liquidnet.service.sweet.service.ISweetManualNotifyTFCService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
...
...
@@ -36,7 +36,7 @@ public class SweetManualNotifyTFCController {
@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
<
SweetManualNotifyT
FC
>>
getList
(
@RequestParam
()
Integer
page
,
public
ResponseDto
<
PageInfo
<
SweetManualNotifyT
fc
>>
getList
(
@RequestParam
()
Integer
page
,
@RequestParam
()
Integer
size
,
@RequestParam
(
required
=
false
)
String
name
,
@RequestParam
()
String
manualId
)
{
...
...
@@ -61,7 +61,7 @@ public class SweetManualNotifyTFCController {
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualNotifyId"
,
value
=
"通知id"
,
required
=
true
),
})
public
ResponseDto
<
SweetManualNotifyT
FC
>
detail
(
@RequestParam
()
String
manualNotifyId
)
{
public
ResponseDto
<
SweetManualNotifyT
fc
>
detail
(
@RequestParam
()
String
manualNotifyId
)
{
return
sweetManualNotifyTFCService
.
details
(
manualNotifyId
);
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetManualShopTFCController.java
View file @
56632e63
...
...
@@ -2,7 +2,7 @@ package com.liquidnet.service.sweet.controller;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualShopT
FC
;
import
com.liquidnet.service.sweet.entity.SweetManualShopT
fc
;
import
com.liquidnet.service.sweet.service.ISweetManualShopTFCService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
...
...
@@ -35,7 +35,7 @@ public class SweetManualShopTFCController {
@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
<
SweetManualShopT
FC
>>
getList
(
@RequestParam
String
manualId
,
public
ResponseDto
<
List
<
SweetManualShopT
fc
>>
getList
(
@RequestParam
String
manualId
,
@RequestParam
Integer
type
)
{
return
sweetManualShopTFCService
.
getList
(
manualId
,
type
);
}
...
...
@@ -45,7 +45,7 @@ public class SweetManualShopTFCController {
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualShopId"
,
value
=
"商铺id"
,
required
=
true
),
})
public
ResponseDto
<
SweetManualShopT
FC
>
details
(
@RequestParam
String
manualShopId
)
{
public
ResponseDto
<
SweetManualShopT
fc
>
details
(
@RequestParam
String
manualShopId
)
{
return
sweetManualShopTFCService
.
details
(
manualShopId
);
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetManualSortTFCController.java
View file @
56632e63
...
...
@@ -2,7 +2,7 @@ package com.liquidnet.service.sweet.controller;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetManualSortT
FC
;
import
com.liquidnet.service.sweet.entity.SweetManualSortT
fc
;
import
com.liquidnet.service.sweet.service.ISweetManualSortTFCService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
...
...
@@ -44,7 +44,7 @@ public class SweetManualSortTFCController {
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
)
})
public
ResponseDto
<
SweetManualSortT
FC
>
changeStatus
(
@RequestParam
()
String
manualId
)
{
public
ResponseDto
<
SweetManualSortT
fc
>
changeStatus
(
@RequestParam
()
String
manualId
)
{
return
sweetManualSortTFCService
.
get
(
manualId
);
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetRichtextTFCController.java
View file @
56632e63
...
...
@@ -2,7 +2,7 @@ package com.liquidnet.service.sweet.controller;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.sweet.entity.SweetRichtextT
FC
;
import
com.liquidnet.service.sweet.entity.SweetRichtextT
fc
;
import
com.liquidnet.service.sweet.service.ISweetRichtextTFCService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
...
...
@@ -33,7 +33,7 @@ public class SweetRichtextTFCController {
@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
<
SweetRichtextT
FC
>
get
(
@RequestParam
()
String
manualId
,
public
ResponseDto
<
SweetRichtextT
fc
>
get
(
@RequestParam
()
String
manualId
,
@RequestParam
()
Integer
type
)
{
return
sweetRichtextTFCService
.
get
(
manualId
,
type
);
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetManualArtistsTFCServiceImpl.java
View file @
56632e63
...
...
@@ -9,8 +9,8 @@ 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.SweetManualArtistListTFCDto
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsT
FC
;
import
com.liquidnet.service.sweet.mapper.SweetManualArtistsT
FC
Mapper
;
import
com.liquidnet.service.sweet.entity.SweetManualArtistsT
fc
;
import
com.liquidnet.service.sweet.mapper.SweetManualArtistsT
fc
Mapper
;
import
com.liquidnet.service.sweet.service.ISweetManualArtistsTFCService
;
import
com.liquidnet.service.sweet.utils.RedisTFCDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -29,9 +29,9 @@ import java.util.List;
* @since 2021-08-09
*/
@Service
public
class
SweetManualArtistsTFCServiceImpl
extends
ServiceImpl
<
SweetManualArtistsT
FCMapper
,
SweetManualArtistsTFC
>
implements
ISweetManualArtistsTFCService
{
public
class
SweetManualArtistsTFCServiceImpl
extends
ServiceImpl
<
SweetManualArtistsT
fcMapper
,
SweetManualArtistsTfc
>
implements
ISweetManualArtistsTFCService
{
@Autowired
private
SweetManualArtistsT
FC
Mapper
sweetManualArtistsTFCMapper
;
private
SweetManualArtistsT
fc
Mapper
sweetManualArtistsTFCMapper
;
@Autowired
private
RedisTFCDataUtils
redisDataUtils
;
...
...
@@ -54,7 +54,7 @@ public class SweetManualArtistsTFCServiceImpl extends ServiceImpl<SweetManualArt
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
artistId
,
String
stageId
,
String
performanceStart
,
String
performanceEnd
,
String
signatureStart
,
String
signatureEnd
)
{
try
{
SweetManualArtistsT
FC
sweetManualNotify
=
SweetManualArtistsTFC
.
getNew
();
SweetManualArtistsT
fc
sweetManualNotify
=
SweetManualArtistsTfc
.
getNew
();
sweetManualNotify
.
setManualRelationId
(
IDGenerator
.
nextSnowId
());
sweetManualNotify
.
setManualId
(
manualId
);
sweetManualNotify
.
setStageId
(
stageId
);
...
...
@@ -89,7 +89,7 @@ public class SweetManualArtistsTFCServiceImpl extends ServiceImpl<SweetManualArt
@Override
public
ResponseDto
<
Boolean
>
change
(
String
manualRelationId
,
String
manualId
,
String
artistId
,
String
stageId
,
String
performanceStart
,
String
performanceEnd
,
String
signatureStart
,
String
signatureEnd
)
{
try
{
SweetManualArtistsT
FC
sweetManualNotify
=
SweetManualArtistsTFC
.
getNew
();
SweetManualArtistsT
fc
sweetManualNotify
=
SweetManualArtistsTfc
.
getNew
();
sweetManualNotify
.
setStageId
(
stageId
);
sweetManualNotify
.
setArtistsId
(
artistId
);
sweetManualNotify
.
setPerformanceEnd
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
performanceEnd
));
...
...
@@ -97,7 +97,7 @@ public class SweetManualArtistsTFCServiceImpl extends ServiceImpl<SweetManualArt
sweetManualNotify
.
setSignatureStart
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
signatureStart
));
sweetManualNotify
.
setSignatureEnd
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse
(
signatureEnd
));
sweetManualNotify
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualArtistsTFCMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualArtistsT
FC
.
class
).
eq
(
SweetManualArtistsTFC
:
:
getManualRelationId
,
manualRelationId
));
sweetManualArtistsTFCMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualArtistsT
fc
.
class
).
eq
(
SweetManualArtistsTfc
:
:
getManualRelationId
,
manualRelationId
));
redisDataUtils
.
deleteTimeListRedisData
(
manualId
);
return
ResponseDto
.
success
();
...
...
@@ -109,11 +109,11 @@ public class SweetManualArtistsTFCServiceImpl extends ServiceImpl<SweetManualArt
@Override
public
ResponseDto
<
Boolean
>
delete
(
String
manualRelationId
,
String
manualId
)
{
try
{
SweetManualArtistsT
FC
sweetManualNotify
=
SweetManualArtistsTFC
.
getNew
();
SweetManualArtistsT
fc
sweetManualNotify
=
SweetManualArtistsTfc
.
getNew
();
sweetManualNotify
.
setManualRelationId
(
IDGenerator
.
nextSnowId
());
sweetManualNotify
.
setStatus
(
0
);
sweetManualNotify
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualArtistsTFCMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualArtistsT
FC
.
class
).
eq
(
SweetManualArtistsTFC
:
:
getManualRelationId
,
manualRelationId
));
sweetManualArtistsTFCMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualArtistsT
fc
.
class
).
eq
(
SweetManualArtistsTfc
:
:
getManualRelationId
,
manualRelationId
));
redisDataUtils
.
deleteTimeListRedisData
(
manualId
);
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetManualNotifyTFCServiceImpl.java
View file @
56632e63
...
...
@@ -6,8 +6,8 @@ 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.SweetManualNotifyT
FC
;
import
com.liquidnet.service.sweet.mapper.SweetManualNotifyT
FC
Mapper
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyT
fc
;
import
com.liquidnet.service.sweet.mapper.SweetManualNotifyT
fc
Mapper
;
import
com.liquidnet.service.sweet.service.ISweetManualNotifyTFCService
;
import
com.liquidnet.service.sweet.utils.RedisTFCDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -25,23 +25,23 @@ import java.util.List;
* @since 2021-08-09
*/
@Service
public
class
SweetManualNotifyTFCServiceImpl
extends
ServiceImpl
<
SweetManualNotifyT
FCMapper
,
SweetManualNotifyTFC
>
implements
ISweetManualNotifyTFCService
{
public
class
SweetManualNotifyTFCServiceImpl
extends
ServiceImpl
<
SweetManualNotifyT
fcMapper
,
SweetManualNotifyTfc
>
implements
ISweetManualNotifyTFCService
{
@Autowired
private
SweetManualNotifyT
FC
Mapper
sweetManualNotifyTFCMapper
;
private
SweetManualNotifyT
fc
Mapper
sweetManualNotifyTFCMapper
;
@Autowired
private
RedisTFCDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
PageInfo
<
SweetManualNotifyT
FC
>>
getList
(
Integer
page
,
Integer
size
,
String
title
,
String
manualId
)
{
PageInfo
<
SweetManualNotifyT
FC
>
pageInfo
=
null
;
public
ResponseDto
<
PageInfo
<
SweetManualNotifyT
fc
>>
getList
(
Integer
page
,
Integer
size
,
String
title
,
String
manualId
)
{
PageInfo
<
SweetManualNotifyT
fc
>
pageInfo
=
null
;
try
{
PageHelper
.
startPage
(
page
,
size
);
List
<
SweetManualNotifyT
FC
>
data
;
List
<
SweetManualNotifyT
fc
>
data
;
if
(
title
!=
null
)
{
data
=
sweetManualNotifyTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyT
FC
.
class
).
like
(
SweetManualNotifyTFC:
:
getTitle
,
title
).
eq
(
SweetManualNotifyTFC:
:
getManualId
,
manualId
).
eq
(
SweetManualNotifyTFC
:
:
getStatus
,
1
));
data
=
sweetManualNotifyTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyT
fc
.
class
).
like
(
SweetManualNotifyTfc:
:
getTitle
,
title
).
eq
(
SweetManualNotifyTfc:
:
getManualId
,
manualId
).
eq
(
SweetManualNotifyTfc
:
:
getStatus
,
1
));
}
else
{
data
=
sweetManualNotifyTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyT
FC
.
class
).
eq
(
SweetManualNotifyTFC:
:
getManualId
,
manualId
).
eq
(
SweetManualNotifyTFC
:
:
getStatus
,
1
));
data
=
sweetManualNotifyTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyT
fc
.
class
).
eq
(
SweetManualNotifyTfc:
:
getManualId
,
manualId
).
eq
(
SweetManualNotifyTfc
:
:
getStatus
,
1
));
}
pageInfo
=
new
PageInfo
(
data
);
return
ResponseDto
.
success
(
pageInfo
);
...
...
@@ -53,7 +53,7 @@ public class SweetManualNotifyTFCServiceImpl extends ServiceImpl<SweetManualNoti
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
title
,
String
content
)
{
try
{
SweetManualNotifyT
FC
sweetManualNotify
=
SweetManualNotifyTFC
.
getNew
();
SweetManualNotifyT
fc
sweetManualNotify
=
SweetManualNotifyTfc
.
getNew
();
sweetManualNotify
.
setManualNotifyId
(
IDGenerator
.
nextSnowId
());
sweetManualNotify
.
setManualId
(
manualId
);
sweetManualNotify
.
setTitle
(
title
);
...
...
@@ -61,7 +61,7 @@ public class SweetManualNotifyTFCServiceImpl extends ServiceImpl<SweetManualNoti
sweetManualNotify
.
setCreatedAt
(
LocalDateTime
.
now
());
sweetManualNotifyTFCMapper
.
insert
(
sweetManualNotify
);
List
<
SweetManualNotifyT
FC
>
oldData
=
redisDataUtils
.
getNotifyRedisData
(
manualId
);
List
<
SweetManualNotifyT
fc
>
oldData
=
redisDataUtils
.
getNotifyRedisData
(
manualId
);
oldData
.
add
(
sweetManualNotify
);
redisDataUtils
.
setNotifyRedisData
(
manualId
,
oldData
);
...
...
@@ -72,9 +72,9 @@ public class SweetManualNotifyTFCServiceImpl extends ServiceImpl<SweetManualNoti
}
@Override
public
ResponseDto
<
SweetManualNotifyT
FC
>
details
(
String
manualNotifyId
)
{
public
ResponseDto
<
SweetManualNotifyT
fc
>
details
(
String
manualNotifyId
)
{
try
{
return
ResponseDto
.
success
(
sweetManualNotifyTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyT
FC
.
class
).
eq
(
SweetManualNotifyTFC:
:
getManualNotifyId
,
manualNotifyId
).
eq
(
SweetManualNotifyTFC
:
:
getStatus
,
1
)));
return
ResponseDto
.
success
(
sweetManualNotifyTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyT
fc
.
class
).
eq
(
SweetManualNotifyTfc:
:
getManualNotifyId
,
manualNotifyId
).
eq
(
SweetManualNotifyTfc
:
:
getStatus
,
1
)));
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
...
...
@@ -83,14 +83,14 @@ public class SweetManualNotifyTFCServiceImpl extends ServiceImpl<SweetManualNoti
@Override
public
ResponseDto
<
Boolean
>
change
(
String
manualId
,
String
manualNotifyId
,
String
title
,
String
content
)
{
try
{
SweetManualNotifyT
FC
sweetManualNotify
=
SweetManualNotifyTFC
.
getNew
();
SweetManualNotifyT
fc
sweetManualNotify
=
SweetManualNotifyTfc
.
getNew
();
sweetManualNotify
.
setTitle
(
title
);
sweetManualNotify
.
setContent
(
content
);
sweetManualNotify
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualNotifyTFCMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualNotifyT
FC
.
class
).
eq
(
SweetManualNotifyTFC
:
:
getManualNotifyId
,
manualNotifyId
));
sweetManualNotifyTFCMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualNotifyT
fc
.
class
).
eq
(
SweetManualNotifyTfc
:
:
getManualNotifyId
,
manualNotifyId
));
List
<
SweetManualNotifyT
FC
>
oldData
=
redisDataUtils
.
getNotifyRedisData
(
manualId
);
for
(
SweetManualNotifyT
FC
item
:
oldData
)
{
List
<
SweetManualNotifyT
fc
>
oldData
=
redisDataUtils
.
getNotifyRedisData
(
manualId
);
for
(
SweetManualNotifyT
fc
item
:
oldData
)
{
if
(
item
.
getManualNotifyId
().
equalsIgnoreCase
(
manualNotifyId
))
{
item
.
setTitle
(
title
);
item
.
setContent
(
content
);
...
...
@@ -108,10 +108,10 @@ public class SweetManualNotifyTFCServiceImpl extends ServiceImpl<SweetManualNoti
@Override
public
ResponseDto
<
Boolean
>
delete
(
String
manualNotifyId
)
{
try
{
SweetManualNotifyT
FC
sweetManualNotify
=
SweetManualNotifyTFC
.
getNew
();
SweetManualNotifyT
fc
sweetManualNotify
=
SweetManualNotifyTfc
.
getNew
();
sweetManualNotify
.
setStatus
(
0
);
sweetManualNotify
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualNotifyTFCMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualNotifyT
FC
.
class
).
eq
(
SweetManualNotifyTFC
:
:
getManualNotifyId
,
manualNotifyId
));
sweetManualNotifyTFCMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualNotifyT
fc
.
class
).
eq
(
SweetManualNotifyTfc
:
:
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/SweetManualShopTFCServiceImpl.java
View file @
56632e63
...
...
@@ -4,8 +4,8 @@ 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.SweetManualShopT
FC
;
import
com.liquidnet.service.sweet.mapper.SweetManualShopT
FC
Mapper
;
import
com.liquidnet.service.sweet.entity.SweetManualShopT
fc
;
import
com.liquidnet.service.sweet.mapper.SweetManualShopT
fc
Mapper
;
import
com.liquidnet.service.sweet.service.ISweetManualShopTFCService
;
import
com.liquidnet.service.sweet.utils.RedisTFCDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -22,17 +22,17 @@ import java.util.List;
* @since 2021-08-09
*/
@Service
public
class
SweetManualShopTFCServiceImpl
extends
ServiceImpl
<
SweetManualShopT
FCMapper
,
SweetManualShopTFC
>
implements
ISweetManualShopTFCService
{
public
class
SweetManualShopTFCServiceImpl
extends
ServiceImpl
<
SweetManualShopT
fcMapper
,
SweetManualShopTfc
>
implements
ISweetManualShopTFCService
{
@Autowired
private
SweetManualShopT
FC
Mapper
sweetManualShopTFCMapper
;
private
SweetManualShopT
fc
Mapper
sweetManualShopTFCMapper
;
@Autowired
private
RedisTFCDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
List
<
SweetManualShopT
FC
>>
getList
(
String
manualId
,
Integer
type
)
{
public
ResponseDto
<
List
<
SweetManualShopT
fc
>>
getList
(
String
manualId
,
Integer
type
)
{
try
{
List
<
SweetManualShopT
FC
>
data
=
sweetManualShopTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualShopTFC
.
class
).
eq
(
SweetManualShopTFC:
:
getManualId
,
manualId
).
eq
(
SweetManualShopTFC:
:
getType
,
type
).
eq
(
SweetManualShopTFC
:
:
getStatus
,
1
));
List
<
SweetManualShopT
fc
>
data
=
sweetManualShopTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualShopTfc
.
class
).
eq
(
SweetManualShopTfc:
:
getManualId
,
manualId
).
eq
(
SweetManualShopTfc:
:
getType
,
type
).
eq
(
SweetManualShopTfc
:
:
getStatus
,
1
));
return
ResponseDto
.
success
(
data
);
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
...
...
@@ -40,9 +40,9 @@ public class SweetManualShopTFCServiceImpl extends ServiceImpl<SweetManualShopTF
}
@Override
public
ResponseDto
<
SweetManualShopT
FC
>
details
(
String
manualShopId
)
{
public
ResponseDto
<
SweetManualShopT
fc
>
details
(
String
manualShopId
)
{
try
{
SweetManualShopT
FC
data
=
sweetManualShopTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualShopTFC
.
class
).
eq
(
SweetManualShopTFC:
:
getManualShopId
,
manualShopId
).
eq
(
SweetManualShopTFC
:
:
getStatus
,
1
));
SweetManualShopT
fc
data
=
sweetManualShopTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualShopTfc
.
class
).
eq
(
SweetManualShopTfc:
:
getManualShopId
,
manualShopId
).
eq
(
SweetManualShopTfc
:
:
getStatus
,
1
));
return
ResponseDto
.
success
(
data
);
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
...
...
@@ -52,7 +52,7 @@ public class SweetManualShopTFCServiceImpl extends ServiceImpl<SweetManualShopTF
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
title
,
String
picUrl
,
String
describe
,
Integer
type
,
Integer
isRecommend
,
Integer
sort
)
{
try
{
SweetManualShopT
FC
sweetManualShop
=
SweetManualShopTFC
.
getNew
();
SweetManualShopT
fc
sweetManualShop
=
SweetManualShopTfc
.
getNew
();
sweetManualShop
.
setManualShopId
(
IDGenerator
.
nextSnowId
());
sweetManualShop
.
setManualId
(
manualId
);
sweetManualShop
.
setTitle
(
title
);
...
...
@@ -74,14 +74,14 @@ public class SweetManualShopTFCServiceImpl extends ServiceImpl<SweetManualShopTF
@Override
public
ResponseDto
<
Boolean
>
change
(
String
manualShopId
,
String
manualId
,
String
title
,
String
picUrl
,
String
describe
,
Integer
type
,
Integer
isRecommend
,
Integer
sort
)
{
try
{
SweetManualShopT
FC
sweetManualShop
=
SweetManualShopTFC
.
getNew
();
SweetManualShopT
fc
sweetManualShop
=
SweetManualShopTfc
.
getNew
();
sweetManualShop
.
setTitle
(
title
);
sweetManualShop
.
setPicUrl
(
picUrl
);
sweetManualShop
.
setDescribes
(
describe
);
sweetManualShop
.
setType
(
type
);
sweetManualShop
.
setIsRecommend
(
isRecommend
);
sweetManualShop
.
setSort
(
sort
);
sweetManualShopTFCMapper
.
update
(
sweetManualShop
,
Wrappers
.
lambdaUpdate
(
SweetManualShopT
FC
.
class
).
eq
(
SweetManualShopTFC
:
:
getManualShopId
,
manualShopId
));
sweetManualShopTFCMapper
.
update
(
sweetManualShop
,
Wrappers
.
lambdaUpdate
(
SweetManualShopT
fc
.
class
).
eq
(
SweetManualShopTfc
:
:
getManualShopId
,
manualShopId
));
redisDataUtils
.
setManualShopRedisData
(
manualId
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
...
...
@@ -92,9 +92,9 @@ public class SweetManualShopTFCServiceImpl extends ServiceImpl<SweetManualShopTF
@Override
public
ResponseDto
<
Boolean
>
delete
(
String
manualShopId
,
String
manualId
)
{
try
{
SweetManualShopT
FC
sweetManualShop
=
SweetManualShopTFC
.
getNew
();
SweetManualShopT
fc
sweetManualShop
=
SweetManualShopTfc
.
getNew
();
sweetManualShop
.
setStatus
(
0
);
sweetManualShopTFCMapper
.
update
(
sweetManualShop
,
Wrappers
.
lambdaUpdate
(
SweetManualShopT
FC
.
class
).
eq
(
SweetManualShopTFC
:
:
getManualShopId
,
manualShopId
));
sweetManualShopTFCMapper
.
update
(
sweetManualShop
,
Wrappers
.
lambdaUpdate
(
SweetManualShopT
fc
.
class
).
eq
(
SweetManualShopTfc
:
:
getManualShopId
,
manualShopId
));
redisDataUtils
.
setManualShopRedisData
(
manualId
);
return
ResponseDto
.
success
();
}
catch
(
Exception
e
)
{
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetManualSortTFCServiceImpl.java
View file @
56632e63
...
...
@@ -3,8 +3,8 @@ package com.liquidnet.service.sweet.service.impl;
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.SweetManualSortT
FC
;
import
com.liquidnet.service.sweet.mapper.SweetManualSortT
FC
Mapper
;
import
com.liquidnet.service.sweet.entity.SweetManualSortT
fc
;
import
com.liquidnet.service.sweet.mapper.SweetManualSortT
fc
Mapper
;
import
com.liquidnet.service.sweet.service.ISweetManualSortTFCService
;
import
com.liquidnet.service.sweet.utils.RedisTFCDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -21,17 +21,17 @@ import java.time.LocalDateTime;
* @since 2021-08-09
*/
@Service
public
class
SweetManualSortTFCServiceImpl
extends
ServiceImpl
<
SweetManualSortT
FCMapper
,
SweetManualSortTFC
>
implements
ISweetManualSortTFCService
{
public
class
SweetManualSortTFCServiceImpl
extends
ServiceImpl
<
SweetManualSortT
fcMapper
,
SweetManualSortTfc
>
implements
ISweetManualSortTFCService
{
@Autowired
private
SweetManualSortT
FC
Mapper
sweetManualSortTFCMapper
;
private
SweetManualSortT
fc
Mapper
sweetManualSortTFCMapper
;
@Autowired
private
RedisTFCDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
SweetManualSortT
FC
>
get
(
String
manualId
)
{
public
ResponseDto
<
SweetManualSortT
fc
>
get
(
String
manualId
)
{
try
{
return
ResponseDto
.
success
(
sweetManualSortTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualSortT
FC
.
class
).
eq
(
SweetManualSortTFC
:
:
getManualId
,
manualId
)));
return
ResponseDto
.
success
(
sweetManualSortTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualSortT
fc
.
class
).
eq
(
SweetManualSortTfc
:
:
getManualId
,
manualId
)));
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
...
...
@@ -40,15 +40,15 @@ public class SweetManualSortTFCServiceImpl extends ServiceImpl<SweetManualSortTF
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
content
)
{
try
{
int
count
=
sweetManualSortTFCMapper
.
selectCount
(
Wrappers
.
lambdaUpdate
(
SweetManualSortT
FC
.
class
).
eq
(
SweetManualSortTFC
:
:
getManualId
,
manualId
));
int
count
=
sweetManualSortTFCMapper
.
selectCount
(
Wrappers
.
lambdaUpdate
(
SweetManualSortT
fc
.
class
).
eq
(
SweetManualSortTfc
:
:
getManualId
,
manualId
));
if
(
count
>
0
)
{
SweetManualSortT
FC
sweetManualSort
=
SweetManualSortTFC
.
getNew
();
SweetManualSortT
fc
sweetManualSort
=
SweetManualSortTfc
.
getNew
();
sweetManualSort
.
setManualId
(
manualId
);
sweetManualSort
.
setShowPosition
(
content
);
sweetManualSort
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualSortTFCMapper
.
update
(
sweetManualSort
,
Wrappers
.
lambdaUpdate
(
SweetManualSortT
FC
.
class
).
eq
(
SweetManualSortTFC
:
:
getManualId
,
manualId
));
sweetManualSortTFCMapper
.
update
(
sweetManualSort
,
Wrappers
.
lambdaUpdate
(
SweetManualSortT
fc
.
class
).
eq
(
SweetManualSortTfc
:
:
getManualId
,
manualId
));
}
else
{
SweetManualSortT
FC
sweetManualSort
=
SweetManualSortTFC
.
getNew
();
SweetManualSortT
fc
sweetManualSort
=
SweetManualSortTfc
.
getNew
();
sweetManualSort
.
setManualId
(
manualId
);
sweetManualSort
.
setShowPosition
(
content
);
sweetManualSort
.
setCreatedAt
(
LocalDateTime
.
now
());
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetManualTFCServiceImpl.java
View file @
56632e63
...
...
@@ -10,8 +10,8 @@ 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.SweetManualTFCDto
;
import
com.liquidnet.service.sweet.entity.SweetManualT
FC
;
import
com.liquidnet.service.sweet.mapper.SweetManualT
FC
Mapper
;
import
com.liquidnet.service.sweet.entity.SweetManualT
fc
;
import
com.liquidnet.service.sweet.mapper.SweetManualT
fc
Mapper
;
import
com.liquidnet.service.sweet.service.ISweetManualTFCService
;
import
com.liquidnet.service.sweet.utils.RedisTFCDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -30,10 +30,10 @@ import java.util.List;
* @since 2021-08-09
*/
@Service
public
class
SweetManualTFCServiceImpl
extends
ServiceImpl
<
SweetManualT
FCMapper
,
SweetManualTFC
>
implements
ISweetManualTFCService
{
public
class
SweetManualTFCServiceImpl
extends
ServiceImpl
<
SweetManualT
fcMapper
,
SweetManualTfc
>
implements
ISweetManualTFCService
{
@Autowired
private
SweetManualT
FC
Mapper
sweetManualTFCMapper
;
private
SweetManualT
fc
Mapper
sweetManualTFCMapper
;
@Autowired
private
RedisTFCDataUtils
redisDataUtils
;
...
...
@@ -91,12 +91,12 @@ public class SweetManualTFCServiceImpl extends ServiceImpl<SweetManualTFCMapper,
@Override
public
ResponseDto
<
Boolean
>
changeStatus
(
String
manualId
,
String
performancesId
,
Integer
status
)
{
try
{
int
count
=
sweetManualTFCMapper
.
selectCount
(
Wrappers
.
lambdaUpdate
(
SweetManualT
FC
.
class
).
eq
(
SweetManualTFC
:
:
getManualId
,
manualId
));
SweetManualT
FC
sweetManual
=
SweetManualTFC
.
getNew
();
int
count
=
sweetManualTFCMapper
.
selectCount
(
Wrappers
.
lambdaUpdate
(
SweetManualT
fc
.
class
).
eq
(
SweetManualTfc
:
:
getManualId
,
manualId
));
SweetManualT
fc
sweetManual
=
SweetManualTfc
.
getNew
();
if
(
count
>
0
)
{
//修改
sweetManual
.
setStatus
(
status
);
sweetManual
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualTFCMapper
.
update
(
sweetManual
,
Wrappers
.
lambdaUpdate
(
SweetManualT
FC
.
class
).
eq
(
SweetManualTFC
:
:
getManualId
,
manualId
));
sweetManualTFCMapper
.
update
(
sweetManual
,
Wrappers
.
lambdaUpdate
(
SweetManualT
fc
.
class
).
eq
(
SweetManualTfc
:
:
getManualId
,
manualId
));
}
else
{
//创建
sweetManual
.
setManualId
(
IDGenerator
.
nextSnowId
());
sweetManual
.
setPerformanceId
(
performancesId
);
...
...
@@ -106,6 +106,7 @@ public class SweetManualTFCServiceImpl extends ServiceImpl<SweetManualTFCMapper,
sweetManualTFCMapper
.
insert
(
sweetManual
);
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
ResponseDto
.
failure
();
}
redisDataUtils
.
deletePushListRedisData
();
...
...
@@ -115,10 +116,10 @@ public class SweetManualTFCServiceImpl extends ServiceImpl<SweetManualTFCMapper,
@Override
public
ResponseDto
<
Boolean
>
changeRelease
(
String
manualId
,
Integer
isRelease
)
{
try
{
SweetManualT
FC
sweetManual
=
SweetManualTFC
.
getNew
();
SweetManualT
fc
sweetManual
=
SweetManualTfc
.
getNew
();
sweetManual
.
setIsRelease
(
isRelease
);
sweetManual
.
setUpdatedAt
(
LocalDateTime
.
now
());
sweetManualTFCMapper
.
update
(
sweetManual
,
Wrappers
.
lambdaUpdate
(
SweetManualT
FC
.
class
).
eq
(
SweetManualTFC
:
:
getManualId
,
manualId
));
sweetManualTFCMapper
.
update
(
sweetManual
,
Wrappers
.
lambdaUpdate
(
SweetManualT
fc
.
class
).
eq
(
SweetManualTfc
:
:
getManualId
,
manualId
));
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetRichtextTFCServiceImpl.java
View file @
56632e63
...
...
@@ -4,8 +4,8 @@ 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.SweetRichtextT
FC
;
import
com.liquidnet.service.sweet.mapper.SweetRichtextT
FC
Mapper
;
import
com.liquidnet.service.sweet.entity.SweetRichtextT
fc
;
import
com.liquidnet.service.sweet.mapper.SweetRichtextT
fc
Mapper
;
import
com.liquidnet.service.sweet.service.ISweetRichtextTFCService
;
import
com.liquidnet.service.sweet.utils.RedisTFCDataUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -22,17 +22,17 @@ import java.time.LocalDateTime;
* @since 2021-08-09
*/
@Service
public
class
SweetRichtextTFCServiceImpl
extends
ServiceImpl
<
SweetRichtextT
FCMapper
,
SweetRichtextTFC
>
implements
ISweetRichtextTFCService
{
public
class
SweetRichtextTFCServiceImpl
extends
ServiceImpl
<
SweetRichtextT
fcMapper
,
SweetRichtextTfc
>
implements
ISweetRichtextTFCService
{
@Autowired
private
SweetRichtextT
FC
Mapper
sweetRichtextTFCMapper
;
private
SweetRichtextT
fc
Mapper
sweetRichtextTFCMapper
;
@Autowired
private
RedisTFCDataUtils
redisDataUtils
;
@Override
public
ResponseDto
<
SweetRichtextT
FC
>
get
(
String
manualId
,
Integer
type
)
{
public
ResponseDto
<
SweetRichtextT
fc
>
get
(
String
manualId
,
Integer
type
)
{
try
{
return
ResponseDto
.
success
(
sweetRichtextTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetRichtextT
FC
.
class
).
eq
(
SweetRichtextTFC:
:
getManualId
,
manualId
).
eq
(
SweetRichtextTFC
:
:
getType
,
type
)));
return
ResponseDto
.
success
(
sweetRichtextTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetRichtextT
fc
.
class
).
eq
(
SweetRichtextTfc:
:
getManualId
,
manualId
).
eq
(
SweetRichtextTfc
:
:
getType
,
type
)));
}
catch
(
Exception
e
)
{
return
ResponseDto
.
failure
();
}
...
...
@@ -41,11 +41,11 @@ public class SweetRichtextTFCServiceImpl extends ServiceImpl<SweetRichtextTFCMap
@Override
public
ResponseDto
<
Boolean
>
add
(
String
manualId
,
String
details
,
String
local
,
String
pirUrl
,
Integer
type
)
{
try
{
int
count
=
sweetRichtextTFCMapper
.
selectCount
(
Wrappers
.
lambdaQuery
(
SweetRichtextT
FC
.
class
).
eq
(
SweetRichtextTFC:
:
getManualId
,
manualId
).
eq
(
SweetRichtextTFC
:
:
getType
,
type
));
int
count
=
sweetRichtextTFCMapper
.
selectCount
(
Wrappers
.
lambdaQuery
(
SweetRichtextT
fc
.
class
).
eq
(
SweetRichtextTfc:
:
getManualId
,
manualId
).
eq
(
SweetRichtextTfc
:
:
getType
,
type
));
if
(
count
>
0
){
return
ResponseDto
.
failure
(
"不能重复添加"
);
}
SweetRichtextT
FC
sweetRichtext
=
SweetRichtextTFC
.
getNew
();
SweetRichtextT
fc
sweetRichtext
=
SweetRichtextTfc
.
getNew
();
sweetRichtext
.
setRichtextId
(
IDGenerator
.
nextSnowId
());
sweetRichtext
.
setManualId
(
manualId
);
if
(
type
==
5
)
{
...
...
@@ -68,7 +68,7 @@ public class SweetRichtextTFCServiceImpl extends ServiceImpl<SweetRichtextTFCMap
@Override
public
ResponseDto
<
Boolean
>
change
(
String
manualId
,
String
details
,
String
local
,
String
pirUrl
,
Integer
type
)
{
try
{
SweetRichtextT
FC
sweetRichtext
=
SweetRichtextTFC
.
getNew
();
SweetRichtextT
fc
sweetRichtext
=
SweetRichtextTfc
.
getNew
();
sweetRichtext
.
setRichtextId
(
IDGenerator
.
nextSnowId
());
sweetRichtext
.
setManualId
(
manualId
);
sweetRichtext
.
setDetails
(
details
);
...
...
@@ -79,7 +79,7 @@ public class SweetRichtextTFCServiceImpl extends ServiceImpl<SweetRichtextTFCMap
}
sweetRichtext
.
setType
(
type
);
sweetRichtext
.
setCreatedAt
(
LocalDateTime
.
now
());
sweetRichtextTFCMapper
.
update
(
sweetRichtext
,
Wrappers
.
lambdaUpdate
(
SweetRichtextT
FC
.
class
).
eq
(
SweetRichtextTFC:
:
getManualId
,
manualId
).
eq
(
SweetRichtextTFC
:
:
getType
,
type
));
sweetRichtextTFCMapper
.
update
(
sweetRichtext
,
Wrappers
.
lambdaUpdate
(
SweetRichtextT
fc
.
class
).
eq
(
SweetRichtextTfc:
:
getManualId
,
manualId
).
eq
(
SweetRichtextTfc
:
:
getType
,
type
));
redisDataUtils
.
setRichTextRedisData
(
manualId
,
type
.
toString
(),
sweetRichtext
);
}
catch
(
Exception
e
)
{
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetUserRelationTFCServiceImpl.java
View file @
56632e63
package
com
.
liquidnet
.
service
.
sweet
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationT
FC
;
import
com.liquidnet.service.sweet.mapper.SweetUserRelationT
FC
Mapper
;
import
com.liquidnet.service.sweet.entity.SweetUserRelationT
fc
;
import
com.liquidnet.service.sweet.mapper.SweetUserRelationT
fc
Mapper
;
import
com.liquidnet.service.sweet.service.ISweetUserRelationTFCService
;
import
org.springframework.stereotype.Service
;
...
...
@@ -15,6 +15,6 @@ import org.springframework.stereotype.Service;
* @since 2021-08-09
*/
@Service
public
class
SweetUserRelationTFCServiceImpl
extends
ServiceImpl
<
SweetUserRelationT
FCMapper
,
SweetUserRelationTFC
>
implements
ISweetUserRelationTFCService
{
public
class
SweetUserRelationTFCServiceImpl
extends
ServiceImpl
<
SweetUserRelationT
fcMapper
,
SweetUserRelationTfc
>
implements
ISweetUserRelationTFCService
{
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/utils/ObjectUtil.java
View file @
56632e63
...
...
@@ -4,7 +4,7 @@ import com.liquidnet.service.sweet.dto.*;
import
com.liquidnet.service.sweet.dto.vo.IntegralActivityVo
;
import
com.liquidnet.service.sweet.entity.SweetManualShop
;
import
com.liquidnet.service.sweet.entity.SweetManualShopMdsk
;
import
com.liquidnet.service.sweet.entity.SweetManualShopT
FC
;
import
com.liquidnet.service.sweet.entity.SweetManualShopT
fc
;
import
com.liquidnet.service.sweet.vo.SweetCItyVoteStatVo
;
import
java.util.ArrayList
;
...
...
@@ -20,7 +20,7 @@ public class ObjectUtil {
private
static
final
ArrayList
<
SweetManualAppletTFCDto
>
sweetManualAppletTFCDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualArtistListTFCDto
>
sweetManualArtistListTFCDtoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualShopT
FC
>
sweetManualShopTFCList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetManualShopT
fc
>
sweetManualShopTFCList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
SweetCItyVoteStatVo
>
sweetCItyVoteStatVoList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
IntegralActivityVo
>
sweetIntegralActivityVoList
=
new
ArrayList
<>();
...
...
@@ -50,8 +50,8 @@ public class ObjectUtil {
return
(
ArrayList
<
SweetManualArtistListTFCDto
>)
sweetManualArtistListTFCDtoList
.
clone
();
}
public
static
ArrayList
<
SweetManualShopT
FC
>
getSweetManualShopTFCList
()
{
return
(
ArrayList
<
SweetManualShopT
FC
>)
sweetManualShopTFCList
.
clone
();
public
static
ArrayList
<
SweetManualShopT
fc
>
getSweetManualShopTFCList
()
{
return
(
ArrayList
<
SweetManualShopT
fc
>)
sweetManualShopTFCList
.
clone
();
}
public
static
ArrayList
<
SweetManualArtistListMDSKDto
>
getSweetManualArtistListMDSKDtoList
()
{
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/utils/RedisTFCDataUtils.java
View file @
56632e63
...
...
@@ -12,10 +12,10 @@ import com.liquidnet.service.sweet.dto.SweetManualAppletTFCDto;
import
com.liquidnet.service.sweet.dto.SweetManualArtistList2TFCDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistListTFCDto
;
import
com.liquidnet.service.sweet.dto.SweetManualArtistStageListTFCDto
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyT
FC
;
import
com.liquidnet.service.sweet.entity.SweetManualShopT
FC
;
import
com.liquidnet.service.sweet.entity.SweetManualSortT
FC
;
import
com.liquidnet.service.sweet.entity.SweetRichtextT
FC
;
import
com.liquidnet.service.sweet.entity.SweetManualNotifyT
fc
;
import
com.liquidnet.service.sweet.entity.SweetManualShopT
fc
;
import
com.liquidnet.service.sweet.entity.SweetManualSortT
fc
;
import
com.liquidnet.service.sweet.entity.SweetRichtextT
fc
;
import
com.liquidnet.service.sweet.mapper.*
;
import
com.liquidnet.service.sweet.vo.SweetArtistsRelationVo
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -33,17 +33,17 @@ public class RedisTFCDataUtils {
private
QueueUtils
queueUtils
;
@Autowired
private
SweetManualT
FC
Mapper
sweetManualTFCMapper
;
private
SweetManualT
fc
Mapper
sweetManualTFCMapper
;
@Autowired
private
SweetManualArtistsT
FC
Mapper
sweetManualArtistsTFCMapper
;
private
SweetManualArtistsT
fc
Mapper
sweetManualArtistsTFCMapper
;
@Autowired
private
SweetRichtextT
FC
Mapper
sweetRichtextTFCMapper
;
private
SweetRichtextT
fc
Mapper
sweetRichtextTFCMapper
;
@Autowired
private
SweetManualSortT
FC
Mapper
sweetManualSortTFCMapper
;
private
SweetManualSortT
fc
Mapper
sweetManualSortTFCMapper
;
@Autowired
private
SweetManualNotifyT
FC
Mapper
sweetManualNotifyTFCMapper
;
private
SweetManualNotifyT
fc
Mapper
sweetManualNotifyTFCMapper
;
@Autowired
private
SweetManualShopT
FC
Mapper
sweetManualShopTFCMapper
;
private
SweetManualShopT
fc
Mapper
sweetManualShopTFCMapper
;
public
List
<
SweetManualAppletTFCDto
>
setPushList
()
{
...
...
@@ -125,32 +125,32 @@ public class RedisTFCDataUtils {
}
}
public
SweetRichtextT
FC
setRichTextRedisData
(
String
manualId
,
String
type
,
SweetRichtextTFC
content
)
{
public
SweetRichtextT
fc
setRichTextRedisData
(
String
manualId
,
String
type
,
SweetRichtextTfc
content
)
{
String
redisKey
=
SweetConstant
.
REDIS_KEY_SWEET_TFC_MANUAL_RICH_TEXT
.
concat
(
manualId
).
concat
(
":type:"
+
type
);
SweetRichtextT
FC
sweetRichtext
;
SweetRichtextT
fc
sweetRichtext
;
if
(
content
!=
null
)
{
sweetRichtext
=
content
;
}
else
{
sweetRichtext
=
sweetRichtextTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetRichtextT
FC
.
class
).
eq
(
SweetRichtextTFC:
:
getManualId
,
manualId
).
eq
(
SweetRichtextTFC
:
:
getType
,
type
));
sweetRichtext
=
sweetRichtextTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetRichtextT
fc
.
class
).
eq
(
SweetRichtextTfc:
:
getManualId
,
manualId
).
eq
(
SweetRichtextTfc
:
:
getType
,
type
));
}
redisUtil
.
set
(
redisKey
,
sweetRichtext
);
return
sweetRichtext
;
}
//获取富文本详情
public
SweetRichtextT
FC
getRichTextRedisData
(
String
manualId
,
String
type
)
{
public
SweetRichtextT
fc
getRichTextRedisData
(
String
manualId
,
String
type
)
{
String
redisKey
=
SweetConstant
.
REDIS_KEY_SWEET_TFC_MANUAL_RICH_TEXT
.
concat
(
manualId
).
concat
(
":type:"
+
type
);
Object
obj
=
redisUtil
.
get
(
redisKey
);
if
(
obj
==
null
)
{
return
setRichTextRedisData
(
manualId
,
type
,
null
);
}
else
{
return
(
SweetRichtextT
FC
)
obj
;
return
(
SweetRichtextT
fc
)
obj
;
}
}
public
List
<
String
>
setTagRedisData
(
String
manualId
)
{
String
redisKey
=
SweetConstant
.
REDIS_KEY_SWEET_TFC_MANUAL_SORT
.
concat
(
manualId
);
SweetManualSortT
FC
data
=
sweetManualSortTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualSortTFC
.
class
).
eq
(
SweetManualSortTFC
:
:
getManualId
,
manualId
));
SweetManualSortT
fc
data
=
sweetManualSortTFCMapper
.
selectOne
(
Wrappers
.
lambdaQuery
(
SweetManualSortTfc
.
class
).
eq
(
SweetManualSortTfc
:
:
getManualId
,
manualId
));
String
[]
arrays
=
data
.
getShowPosition
().
split
(
","
);
List
<
String
>
returnData
=
new
ArrayList
<>();
for
(
String
item
:
arrays
)
{
...
...
@@ -172,26 +172,26 @@ public class RedisTFCDataUtils {
}
}
public
List
<
SweetManualNotifyT
FC
>
setNotifyRedisData
(
String
manualId
,
List
<
SweetManualNotifyTFC
>
content
)
{
public
List
<
SweetManualNotifyT
fc
>
setNotifyRedisData
(
String
manualId
,
List
<
SweetManualNotifyTfc
>
content
)
{
String
redisKey
=
SweetConstant
.
REDIS_KEY_SWEET_TFC_MANUAL_NOTIFY_LIST
.
concat
(
manualId
);
List
<
SweetManualNotifyT
FC
>
data
;
List
<
SweetManualNotifyT
fc
>
data
;
if
(
content
!=
null
)
{
data
=
content
;
}
else
{
data
=
sweetManualNotifyTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyT
FC
.
class
).
eq
(
SweetManualNotifyTFC:
:
getManualId
,
manualId
).
eq
(
SweetManualNotifyTFC
:
:
getStatus
,
1
));
data
=
sweetManualNotifyTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotifyT
fc
.
class
).
eq
(
SweetManualNotifyTfc:
:
getManualId
,
manualId
).
eq
(
SweetManualNotifyTfc
:
:
getStatus
,
1
));
}
redisUtil
.
set
(
redisKey
,
data
);
return
data
;
}
//获取通知
public
List
<
SweetManualNotifyT
FC
>
getNotifyRedisData
(
String
manualId
)
{
public
List
<
SweetManualNotifyT
fc
>
getNotifyRedisData
(
String
manualId
)
{
String
redisKey
=
SweetConstant
.
REDIS_KEY_SWEET_TFC_MANUAL_NOTIFY_LIST
.
concat
(
manualId
);
Object
obj
=
redisUtil
.
get
(
redisKey
);
if
(
obj
==
null
)
{
return
setNotifyRedisData
(
manualId
,
null
);
}
else
{
return
(
List
<
SweetManualNotifyT
FC
>)
obj
;
return
(
List
<
SweetManualNotifyT
fc
>)
obj
;
}
}
...
...
@@ -284,20 +284,20 @@ public class RedisTFCDataUtils {
}
//获取 商铺
public
List
<
SweetManualShopT
FC
>
setManualShopRedisData
(
String
manualId
)
{
public
List
<
SweetManualShopT
fc
>
setManualShopRedisData
(
String
manualId
)
{
String
redisKey
=
SweetConstant
.
REDIS_KEY_SWEET_TFC_SHOP
.
concat
(
manualId
);
List
<
SweetManualShopT
FC
>
list
=
sweetManualShopTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualShopTFC
.
class
).
eq
(
SweetManualShopTFC:
:
getManualId
,
manualId
).
orderBy
(
true
,
false
,
SweetManualShopTFC
:
:
getSort
));
List
<
SweetManualShopT
fc
>
list
=
sweetManualShopTFCMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualShopTfc
.
class
).
eq
(
SweetManualShopTfc:
:
getManualId
,
manualId
).
orderBy
(
true
,
false
,
SweetManualShopTfc
:
:
getSort
));
redisUtil
.
set
(
redisKey
,
list
);
return
list
;
}
public
List
<
SweetManualShopT
FC
>
getManualShopRedisData
(
String
manualId
)
{
public
List
<
SweetManualShopT
fc
>
getManualShopRedisData
(
String
manualId
)
{
String
redisKey
=
SweetConstant
.
REDIS_KEY_SWEET_TFC_SHOP
.
concat
(
manualId
);
Object
obj
=
redisUtil
.
get
(
redisKey
);
if
(
obj
==
null
)
{
return
setManualShopRedisData
(
manualId
);
}
else
{
return
(
List
<
SweetManualShopT
FC
>)
obj
;
return
(
List
<
SweetManualShopT
fc
>)
obj
;
}
}
...
...
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