记得上下班打卡 | 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
e2cd024c
Commit
e2cd024c
authored
Jan 13, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~API:店铺审核:状态调整;
parent
8d6466b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
10 deletions
+5
-10
GoblinStoreInfoServiceImpl.java
...ngzai/goblin/service/impl/GoblinStoreInfoServiceImpl.java
+2
-2
db_ln_goblin_initialdata.sql
...net-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
+3
-2
GoblinRedisUtils.java
...a/com/liquidnet/service/goblin/util/GoblinRedisUtils.java
+0
-6
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/goblin/service/impl/GoblinStoreInfoServiceImpl.java
View file @
e2cd024c
...
@@ -47,7 +47,7 @@ public class GoblinStoreInfoServiceImpl extends ServiceImpl<GoblinStoreInfoMappe
...
@@ -47,7 +47,7 @@ public class GoblinStoreInfoServiceImpl extends ServiceImpl<GoblinStoreInfoMappe
lambdaUpdateWrapper
.
eq
(
GoblinStoreInfo:
:
getStoreId
,
storeId
);
lambdaUpdateWrapper
.
eq
(
GoblinStoreInfo:
:
getStoreId
,
storeId
);
lambdaUpdateWrapper
.
eq
(
GoblinStoreInfo:
:
getStatus
,
1
);
lambdaUpdateWrapper
.
eq
(
GoblinStoreInfo:
:
getStatus
,
1
);
lambdaUpdateWrapper
.
set
(
GoblinStoreInfo:
:
getStatus
,
status
.
equals
(
"3"
)
?
"4"
:
status
);
lambdaUpdateWrapper
.
set
(
GoblinStoreInfo:
:
getStatus
,
status
);
lambdaUpdateWrapper
.
set
(
GoblinStoreInfo:
:
getReason
,
reason
);
lambdaUpdateWrapper
.
set
(
GoblinStoreInfo:
:
getReason
,
reason
);
lambdaUpdateWrapper
.
set
(
GoblinStoreInfo:
:
getUpdatedBy
,
operator
);
lambdaUpdateWrapper
.
set
(
GoblinStoreInfo:
:
getUpdatedBy
,
operator
);
lambdaUpdateWrapper
.
set
(
GoblinStoreInfo:
:
getUpdatedAt
,
now
);
lambdaUpdateWrapper
.
set
(
GoblinStoreInfo:
:
getUpdatedAt
,
now
);
...
@@ -60,7 +60,7 @@ public class GoblinStoreInfoServiceImpl extends ServiceImpl<GoblinStoreInfoMappe
...
@@ -60,7 +60,7 @@ public class GoblinStoreInfoServiceImpl extends ServiceImpl<GoblinStoreInfoMappe
}
}
Query
query
=
Query
.
query
(
Criteria
.
where
(
"storeId"
).
is
(
storeId
));
Query
query
=
Query
.
query
(
Criteria
.
where
(
"storeId"
).
is
(
storeId
));
Update
update
=
Update
.
update
(
"status"
,
status
.
equals
(
"3"
)
?
"4"
:
status
);
Update
update
=
Update
.
update
(
"status"
,
status
);
update
.
set
(
"reason"
,
reason
);
update
.
set
(
"reason"
,
reason
);
update
.
set
(
"updatedBy"
,
operator
);
update
.
set
(
"updatedBy"
,
operator
);
update
.
set
(
"updatedAt"
,
now
);
update
.
set
(
"updatedAt"
,
now
);
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
View file @
e2cd024c
...
@@ -178,8 +178,9 @@ create table goblin_store_config
...
@@ -178,8 +178,9 @@ create table goblin_store_config
create
index
idx_gsc_store_id
on
goblin_store_config
(
store_id
);
create
index
idx_gsc_store_id
on
goblin_store_config
(
store_id
);
insert
into
goblin_store_config
(
store_id
,
config_name
,
config_key
,
config_val
,
created_by
,
created_at
)
insert
into
goblin_store_config
(
store_id
,
config_name
,
config_key
,
config_val
,
created_by
,
created_at
)
values
(
0
,
'联系客服'
,
'ONOFF_CUSTOMER_SEV'
,
'ON'
,
'admin'
,
sysdate
()),
values
(
0
,
'营业状态'
,
'BUSINESS_STATUS'
,
'5'
,
'admin'
,
sysdate
()),
(
0
,
'售罄展示'
,
'ONOFF_SOLD_OUT_SHOW'
,
'ON'
,
'admin'
,
sysdate
()),
(
0
,
'联系客服'
,
'ONOFF_CUSTOMER_SEV'
,
'OFF'
,
'admin'
,
sysdate
()),
(
0
,
'售罄展示'
,
'ONOFF_SOLD_OUT_SHOW'
,
'OFF'
,
'admin'
,
sysdate
()),
(
0
,
'库存不足'
,
'LIMIT_WARNING_STOCK'
,
'5'
,
'admin'
,
sysdate
());
(
0
,
'库存不足'
,
'LIMIT_WARNING_STOCK'
,
'5'
,
'admin'
,
sysdate
());
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
drop
table
if
exists
goblin_store_notice
;
drop
table
if
exists
goblin_store_notice
;
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/GoblinRedisUtils.java
View file @
e2cd024c
...
@@ -104,12 +104,6 @@ public class GoblinRedisUtils {
...
@@ -104,12 +104,6 @@ public class GoblinRedisUtils {
String
rk
=
GoblinRedisConst
.
BASIC_STORE_CONF
.
concat
(
storeId
);
String
rk
=
GoblinRedisConst
.
BASIC_STORE_CONF
.
concat
(
storeId
);
List
<
GoblinStoreConfigVo
>
vos
=
(
List
<
GoblinStoreConfigVo
>)
redisUtil
.
get
(
rk
);
List
<
GoblinStoreConfigVo
>
vos
=
(
List
<
GoblinStoreConfigVo
>)
redisUtil
.
get
(
rk
);
if
(
CollectionUtils
.
isEmpty
(
vos
)
&&
null
!=
(
vos
=
goblinMongoUtils
.
getStoreConfigVo
(
storeId
)))
{
if
(
CollectionUtils
.
isEmpty
(
vos
)
&&
null
!=
(
vos
=
goblinMongoUtils
.
getStoreConfigVo
(
storeId
)))
{
GoblinStoreInfoVo
storeInfoVo
=
this
.
getStoreInfoVo
(
storeId
);
vos
.
add
(
GoblinStoreConfigVo
.
getNew
()
.
setConfigKey
(
GoblinStoreConf
.
BUSINESS_STATUS
.
name
())
.
setConfigVal
(
null
==
storeInfoVo
?
"4"
:
storeInfoVo
.
getStatus
().
equals
(
"3"
)
?
"5"
:
storeInfoVo
.
getStatus
())
);
// redisUtil.set(rk, vos);// TODO: 2022/1/12 zhanggb==
// redisUtil.set(rk, vos);// TODO: 2022/1/12 zhanggb==
}
}
return
vos
;
return
vos
;
...
...
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