记得上下班打卡 | 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
491e56f4
Commit
491e56f4
authored
Jun 21, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
d7d81ed6
5c2aa54c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
12 deletions
+8
-12
index-topnav.html
...-admin-web/src/main/resources/templates/index-topnav.html
+1
-1
index.html
...-client-admin-web/src/main/resources/templates/index.html
+1
-1
add.html
.../templates/zhengzai/kylin/performances/recommend/add.html
+1
-1
addPerformances.html
...zhengzai/kylin/performances/roadShow/addPerformances.html
+1
-1
KylinOrderTicketsServiceImpl.java
...vice/kylin/service/impl/KylinOrderTicketsServiceImpl.java
+2
-6
DataUtils.java
...ain/java/com/liquidnet/service/kylin/utils/DataUtils.java
+2
-2
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/index-topnav.html
View file @
491e56f4
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</div>
</div>
<a
th:href=
"@{/index}"
>
<a
th:href=
"@{/index}"
>
<li
class=
"logo hidden-xs"
>
<li
class=
"logo hidden-xs"
>
<span
class=
"logo-lg"
>
RuoYi
</span>
<span
class=
"logo-lg"
>
Modernsky IMS
</span>
</li>
</li>
</a>
</a>
<div
class=
"sidebar-collapse tab-content"
id=
"side-menu"
>
<div
class=
"sidebar-collapse tab-content"
id=
"side-menu"
>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/index.html
View file @
491e56f4
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</div>
</div>
<a
th:href=
"@{/index}"
>
<a
th:href=
"@{/index}"
>
<li
class=
"logo hidden-xs"
>
<li
class=
"logo hidden-xs"
>
<span
class=
"logo-lg"
>
RuoYi
</span>
<span
class=
"logo-lg"
>
Modernsky IMS
</span>
</li>
</li>
</a>
</a>
<div
class=
"sidebar-collapse"
>
<div
class=
"sidebar-collapse"
>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/recommend/add.html
View file @
491e56f4
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
$
(
'#remoteSearch'
).
remoteSearchPerformance
({
$
(
'#remoteSearch'
).
remoteSearchPerformance
({
ajax
:{
ajax
:{
url
:
prefix
+
"/performance/status?status=(3,6,7,9,10)
&
"
,
url
:
prefix
+
"/performance/status?status=(3,6,7,9,10)"
,
type
:
"get"
type
:
"get"
},
},
chose
:
function
(
text
,
val
){
chose
:
function
(
text
,
val
){
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/roadShow/addPerformances.html
View file @
491e56f4
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
// }
// }
$
(
'#remoteSearch'
).
remoteSearchPerformance
({
$
(
'#remoteSearch'
).
remoteSearchPerformance
({
ajax
:{
ajax
:{
url
:
prefix
+
"/performance/status?status=(3,6,7,9,10)
&
"
,
url
:
prefix
+
"/performance/status?status=(3,6,7,9,10)"
,
type
:
"get"
type
:
"get"
},
},
chose
:
function
(
text
,
val
){
chose
:
function
(
text
,
val
){
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinOrderTicketsServiceImpl.java
View file @
491e56f4
...
@@ -1021,7 +1021,7 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
...
@@ -1021,7 +1021,7 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
@Override
@Override
public
boolean
checkOrderTime
(
String
userId
)
{
public
boolean
checkOrderTime
(
String
userId
)
{
String
lock
=
"order
s
_lock:checkOrderTime:"
+
userId
;
String
lock
=
"order_lock:checkOrderTime:"
+
userId
;
if
(
redisLockUtil
.
tryLock
(
lock
,
1
,
3600
))
{
if
(
redisLockUtil
.
tryLock
(
lock
,
1
,
3600
))
{
try
{
try
{
List
<
OrderScriptDto
>
dtoData
=
orderTicketsMapper
.
orderScriptDto
(
userId
);
List
<
OrderScriptDto
>
dtoData
=
orderTicketsMapper
.
orderScriptDto
(
userId
);
...
@@ -1106,8 +1106,6 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
...
@@ -1106,8 +1106,6 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
currentTime
=
System
.
currentTimeMillis
()
-
currentTime
;
currentTime
=
System
.
currentTimeMillis
()
-
currentTime
;
log
.
debug
(
"mongo -> time:"
+
(
currentTime
)
+
"毫秒"
);
log
.
debug
(
"mongo -> time:"
+
(
currentTime
)
+
"毫秒"
);
// redisLockUtil.unlock(lock);
Thread
thread
=
new
Thread
(()
->
{
Thread
thread
=
new
Thread
(()
->
{
//redis 列表
//redis 列表
orderIdList
.
forEach
(
t
->
{
orderIdList
.
forEach
(
t
->
{
...
@@ -1125,13 +1123,11 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
...
@@ -1125,13 +1123,11 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
});
});
thread
.
start
();
thread
.
start
();
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
finally
{
}
finally
{
// redisLockUtil.unlock(lock);
}
}
redisLockUtil
.
unlock
(
lock
);
}
else
{
}
else
{
log
.
debug
(
"WARNING LOCKING"
);
log
.
debug
(
"WARNING LOCKING"
);
}
}
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/utils/DataUtils.java
View file @
491e56f4
...
@@ -555,7 +555,7 @@ public class DataUtils {
...
@@ -555,7 +555,7 @@ public class DataUtils {
HashMap
toDayTime
=
DateUtil
.
oneDayStartEnd
();
HashMap
toDayTime
=
DateUtil
.
oneDayStartEnd
();
String
nowTimeTStr
=
(
String
)
toDayTime
.
get
(
"startStr"
);
String
nowTimeTStr
=
(
String
)
toDayTime
.
get
(
"startStr"
);
String
toDayEndTimeStr
=
(
String
)
toDayTime
.
get
(
"endStr"
);
String
toDayEndTimeStr
=
(
String
)
toDayTime
.
get
(
"endStr"
);
query
.
addCriteria
(
Criteria
.
where
(
"
timeStart
"
).
gte
(
nowTimeTStr
).
lt
(
toDayEndTimeStr
));
query
.
addCriteria
(
Criteria
.
where
(
"
sellTime
"
).
gte
(
nowTimeTStr
).
lt
(
toDayEndTimeStr
));
query
.
fields
().
exclude
(
"details"
);
query
.
fields
().
exclude
(
"details"
);
query
.
fields
().
exclude
(
"noticeImage"
);
query
.
fields
().
exclude
(
"noticeImage"
);
query
.
fields
().
exclude
(
"ticketTimeList"
);
query
.
fields
().
exclude
(
"ticketTimeList"
);
...
@@ -572,7 +572,7 @@ public class DataUtils {
...
@@ -572,7 +572,7 @@ public class DataUtils {
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
String
threeDaysLaterStr
=
sdf
.
format
(
beforeDayEnd
);
String
threeDaysLaterStr
=
sdf
.
format
(
beforeDayEnd
);
queryT
.
addCriteria
(
Criteria
.
where
(
"
timeStart
"
).
gte
(
toDayEndTimeStr
).
lt
(
threeDaysLaterStr
));
queryT
.
addCriteria
(
Criteria
.
where
(
"
sellTime
"
).
gte
(
toDayEndTimeStr
).
lt
(
threeDaysLaterStr
));
queryT
.
fields
().
exclude
(
"details"
);
queryT
.
fields
().
exclude
(
"details"
);
queryT
.
fields
().
exclude
(
"noticeImage"
);
queryT
.
fields
().
exclude
(
"noticeImage"
);
queryT
.
fields
().
exclude
(
"ticketTimeList"
);
queryT
.
fields
().
exclude
(
"ticketTimeList"
);
...
...
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