记得上下班打卡 | 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
34a2c402
Commit
34a2c402
authored
Jan 19, 2026
by
wangyifan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加须知提醒状态
parent
026bd85f
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
55 additions
and
0 deletions
+55
-0
KylinRedisConst.java
...com/liquidnet/service/kylin/constant/KylinRedisConst.java
+1
-0
PerformancePartnerVo.java
...quidnet/service/kylin/dto/param/PerformancePartnerVo.java
+3
-0
PerformanceStep1Param.java
...uidnet/service/kylin/dto/param/PerformanceStep1Param.java
+4
-0
KylinPerformanceVo.java
...uidnet/service/kylin/dto/vo/mongo/KylinPerformanceVo.java
+3
-0
KylinPerformancesServiceImpl.java
...vice/kylin/service/impl/KylinPerformancesServiceImpl.java
+1
-0
DataUtils.java
...ain/java/com/liquidnet/service/kylin/utils/DataUtils.java
+17
-0
KylinPerformancesPartnerServiceImpl.java
...ime/service/impl/KylinPerformancesPartnerServiceImpl.java
+5
-0
RedisSlimeUtils.java
...ava/com/liquidnet/service/slime/util/RedisSlimeUtils.java
+21
-0
No files found.
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/constant/KylinRedisConst.java
View file @
34a2c402
...
@@ -4,6 +4,7 @@ public class KylinRedisConst {
...
@@ -4,6 +4,7 @@ public class KylinRedisConst {
public
static
final
String
FIELDS
=
"kylin:fields:id"
;
public
static
final
String
FIELDS
=
"kylin:fields:id"
;
public
static
final
String
PERFORMANCES
=
"kylin:performances:id:"
;
public
static
final
String
PERFORMANCES
=
"kylin:performances:id:"
;
public
static
final
String
PERFORMANCES_INVOICE_REMINDER
=
"kylin:performances:invoice_reminder:id:"
;
public
static
final
String
PERFORMANCES_INVOICE_REMINDER
=
"kylin:performances:invoice_reminder:id:"
;
public
static
final
String
PERFORMANCES_NOTICE_REMIND_STATUS
=
"kylin:performances:noticeRemindStatus:id:"
;
public
static
final
String
PERFORMANCES_TRUE_NAME
=
"kylin:performances_true_name:id:"
;
public
static
final
String
PERFORMANCES_TRUE_NAME
=
"kylin:performances_true_name:id:"
;
public
static
final
String
PERFORMANCES_LIST_CITY
=
"kylin:performances:city:"
;
public
static
final
String
PERFORMANCES_LIST_CITY
=
"kylin:performances:city:"
;
public
static
final
String
PERFORMANCES_LIST_SYSTEM_RECOMMEND
=
"kylin:performances:systemRecommend"
;
public
static
final
String
PERFORMANCES_LIST_SYSTEM_RECOMMEND
=
"kylin:performances:systemRecommend"
;
...
...
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/dto/param/PerformancePartnerVo.java
View file @
34a2c402
...
@@ -124,6 +124,9 @@ public class PerformancePartnerVo implements Serializable, Cloneable {
...
@@ -124,6 +124,9 @@ public class PerformancePartnerVo implements Serializable, Cloneable {
@ApiModelProperty
(
value
=
"是否保存"
,
example
=
""
)
@ApiModelProperty
(
value
=
"是否保存"
,
example
=
""
)
private
Integer
isCreateSave
;
private
Integer
isCreateSave
;
@ApiModelProperty
(
value
=
"须知提醒 0:不提醒 1:提醒"
)
private
Integer
noticeRemindStatus
;
public
Integer
getIdCount
()
{
public
Integer
getIdCount
()
{
return
idCount
==
null
?
limitCount:
idCount
;
return
idCount
==
null
?
limitCount:
idCount
;
}
}
...
...
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/dto/param/PerformanceStep1Param.java
View file @
34a2c402
...
@@ -89,4 +89,8 @@ public class PerformanceStep1Param implements Serializable {
...
@@ -89,4 +89,8 @@ public class PerformanceStep1Param implements Serializable {
@ApiModelProperty
(
value
=
""
,
example
=
""
)
@ApiModelProperty
(
value
=
""
,
example
=
""
)
@JsonIgnore
@JsonIgnore
private
String
createdAt
;
private
String
createdAt
;
@ApiModelProperty
(
value
=
"须知提醒 0:不提醒 1:提醒"
)
@NotNull
(
message
=
"须知提醒不能为空"
)
private
Integer
noticeRemindStatus
;
}
}
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/dto/vo/mongo/KylinPerformanceVo.java
View file @
34a2c402
...
@@ -149,6 +149,9 @@ public class KylinPerformanceVo implements Serializable, Cloneable {
...
@@ -149,6 +149,9 @@ public class KylinPerformanceVo implements Serializable, Cloneable {
@ApiModelProperty
(
value
=
"场地地址"
)
@ApiModelProperty
(
value
=
"场地地址"
)
private
String
fieldAddress
;
private
String
fieldAddress
;
@ApiModelProperty
(
value
=
"须知提醒 0:不提醒 1:提醒"
)
private
Integer
noticeRemindStatus
;
public
Integer
getIdCount
()
{
public
Integer
getIdCount
()
{
return
idCount
==
null
?
limitCount
:
idCount
;
return
idCount
==
null
?
limitCount
:
idCount
;
}
}
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinPerformancesServiceImpl.java
View file @
34a2c402
...
@@ -316,6 +316,7 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
...
@@ -316,6 +316,7 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
}
}
performancesInfo
.
setIsInvoiceReminder
(
dataUtils
.
getPerformanceInvoiceReminder
(
performancesId
));
performancesInfo
.
setIsInvoiceReminder
(
dataUtils
.
getPerformanceInvoiceReminder
(
performancesId
));
performancesInfo
.
setFieldAddress
(
dataUtils
.
getFieldAddressByFieldId
(
performancesInfo
.
getFieldId
()));
performancesInfo
.
setFieldAddress
(
dataUtils
.
getFieldAddressByFieldId
(
performancesInfo
.
getFieldId
()));
performancesInfo
.
setNoticeRemindStatus
(
dataUtils
.
getPerformanceNoticeRemindStatus
(
performancesId
));
return
performancesInfo
;
return
performancesInfo
;
}
}
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/utils/DataUtils.java
View file @
34a2c402
...
@@ -1706,4 +1706,21 @@ public class DataUtils {
...
@@ -1706,4 +1706,21 @@ public class DataUtils {
.
eq
(
KylinRewardUser:
:
getLuckyBagId
,
luckyBagId
);
.
eq
(
KylinRewardUser:
:
getLuckyBagId
,
luckyBagId
);
return
kylinRewardUserMapper
.
selectList
(
lambdaQueryWrapper
);
return
kylinRewardUserMapper
.
selectList
(
lambdaQueryWrapper
);
}
}
/**
*
* 获取演出须知提醒状态
* @param performanceId
* @return 0:不提醒 1:提醒
*/
public
Integer
getPerformanceNoticeRemindStatus
(
String
performanceId
)
{
String
redisKey
=
KylinRedisConst
.
PERFORMANCES_NOTICE_REMIND_STATUS
+
performanceId
;
Object
obj
=
redisUtil
.
get
(
redisKey
);
if
(
obj
==
null
)
{
return
0
;
}
else
{
return
(
int
)
obj
;
}
}
}
}
liquidnet-bus-service/liquidnet-service-slime/liquidnet-service-slime-impl/src/main/java/com/liquidnet/service/slime/service/impl/KylinPerformancesPartnerServiceImpl.java
View file @
34a2c402
...
@@ -123,6 +123,8 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
...
@@ -123,6 +123,8 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
performancePartnerVo
.
setFieldName
(
redisSlimeUtils
.
getFieldVo
(
step1Param
.
getFieldId
()).
getName
());
performancePartnerVo
.
setFieldName
(
redisSlimeUtils
.
getFieldVo
(
step1Param
.
getFieldId
()).
getName
());
performancePartnerVo
.
setNoticeImage
(
innerUtils
.
getBuyNoticeJsonString
(
step1Param
.
getNoticeIds
()));
performancePartnerVo
.
setNoticeImage
(
innerUtils
.
getBuyNoticeJsonString
(
step1Param
.
getNoticeIds
()));
mongoSlimeUtils
.
insertPerformancePartnerVo
(
performancePartnerVo
);
mongoSlimeUtils
.
insertPerformancePartnerVo
(
performancePartnerVo
);
// 设置须知提醒状态
redisSlimeUtils
.
setPerformanceNoticeRemindStatus
(
performanceId
,
step1Param
.
getNoticeRemindStatus
());
return
performanceId
;
return
performanceId
;
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
@@ -177,6 +179,8 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
...
@@ -177,6 +179,8 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
performancePartnerVo
.
setProjectId
(
vo
.
getProjectId
());
performancePartnerVo
.
setProjectId
(
vo
.
getProjectId
());
mongoSlimeUtils
.
insertPerformancePartnerVo
(
performancePartnerVo
);
mongoSlimeUtils
.
insertPerformancePartnerVo
(
performancePartnerVo
);
}
}
// 修改须知提醒状态
redisSlimeUtils
.
setPerformanceNoticeRemindStatus
(
performanceId
,
step1Param
.
getNoticeRemindStatus
());
return
performanceId
;
return
performanceId
;
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
@@ -204,6 +208,7 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
...
@@ -204,6 +208,7 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
if
(
null
!=
vo
)
{
if
(
null
!=
vo
)
{
data
.
setStatus
(
vo
.
getAppStatus
());
data
.
setStatus
(
vo
.
getAppStatus
());
}
}
data
.
setNoticeRemindStatus
(
redisSlimeUtils
.
getPerformanceNoticeRemindStatus
(
performancesId
));
log
.
info
(
UserPathDto
.
setPartnerData
(
"0"
,
"getStep1"
,
"merchant="
+
merchantId
+
"&performancesId="
+
performancesId
,
data
));
log
.
info
(
UserPathDto
.
setPartnerData
(
"0"
,
"getStep1"
,
"merchant="
+
merchantId
+
"&performancesId="
+
performancesId
,
data
));
return
ResponseDto
.
success
(
data
);
return
ResponseDto
.
success
(
data
);
}
}
...
...
liquidnet-bus-service/liquidnet-service-slime/liquidnet-service-slime-impl/src/main/java/com/liquidnet/service/slime/util/RedisSlimeUtils.java
View file @
34a2c402
...
@@ -311,4 +311,25 @@ public class RedisSlimeUtils {
...
@@ -311,4 +311,25 @@ public class RedisSlimeUtils {
String
redisKey
=
KylinRedisConst
.
PERFORMANCES_INVOICE_REMINDER
+
performanceId
;
String
redisKey
=
KylinRedisConst
.
PERFORMANCES_INVOICE_REMINDER
+
performanceId
;
redisUtil
.
set
(
redisKey
,
invoiceReminder
);
redisUtil
.
set
(
redisKey
,
invoiceReminder
);
}
}
/**
*
* 获取演出须知提醒状态
* @param performanceId
* @return 0:不提醒 1:提醒
*/
public
Integer
getPerformanceNoticeRemindStatus
(
String
performanceId
)
{
String
redisKey
=
KylinRedisConst
.
PERFORMANCES_NOTICE_REMIND_STATUS
+
performanceId
;
Object
obj
=
redisUtil
.
get
(
redisKey
);
if
(
obj
==
null
)
{
return
0
;
}
else
{
return
(
int
)
obj
;
}
}
public
void
setPerformanceNoticeRemindStatus
(
String
performanceId
,
Integer
noticeRemindStatus
)
{
String
redisKey
=
KylinRedisConst
.
PERFORMANCES_NOTICE_REMIND_STATUS
+
performanceId
;
redisUtil
.
set
(
redisKey
,
noticeRemindStatus
);
}
}
}
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