Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
store-system
Project
Project
Details
Activity
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
luoyangfei
store-system
Commits
32b7ca01
Commit
32b7ca01
authored
Nov 21, 2018
by
wangyihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c3e0e97a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
StoreController.java
.../main/java/cn/com/fqy/controller/mgt/StoreController.java
+3
-0
WorkerController.java
...main/java/cn/com/fqy/controller/mgt/WorkerController.java
+3
-0
No files found.
2code/server/store-system/src/main/java/cn/com/fqy/controller/mgt/StoreController.java
View file @
32b7ca01
...
...
@@ -58,6 +58,9 @@ public class StoreController extends BaseController {
//操作人
Operator
op
=
getOperator
();
if
(
store
!=
null
&&
store
.
getStoreId
()!=
null
&&!
""
.
equals
(
store
.
getStoreId
()))
{
if
(
store
.
getUserId
()
!=
null
&&
!
""
.
equals
(
store
.
getUserId
()))
{
store
.
setUserId
(
null
);
}
resultInfo
=
storeService
.
updateStore
(
store
,
op
);
}
else
{
if
(
store
.
getUserId
()
==
null
||
""
.
equals
(
store
.
getUserId
()))
{
...
...
2code/server/store-system/src/main/java/cn/com/fqy/controller/mgt/WorkerController.java
View file @
32b7ca01
...
...
@@ -66,6 +66,9 @@ public class WorkerController extends BaseController {
//操作人
Operator
op
=
getOperator
();
if
(
worker
!=
null
&&
worker
.
getWorkerId
()!=
null
&&!
""
.
equals
(
worker
.
getWorkerId
()))
{
if
(
worker
.
getUserId
()
!=
null
&&
!
""
.
equals
(
worker
.
getUserId
()))
{
worker
.
setUserId
(
null
);
}
resultInfo
=
workerService
.
updateWorker
(
worker
,
op
);
}
else
{
if
(
worker
.
getUserId
()
==
null
||
""
.
equals
(
worker
.
getUserId
()))
{
...
...
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