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
e9324205
Commit
e9324205
authored
Nov 19, 2018
by
wyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4659c06d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
StoreController.java
.../main/java/cn/com/fqy/controller/mgt/StoreController.java
+5
-1
WorkerController.java
...main/java/cn/com/fqy/controller/mgt/WorkerController.java
+5
-1
No files found.
2code/server/store-system/src/main/java/cn/com/fqy/controller/mgt/StoreController.java
View file @
e9324205
...
...
@@ -60,7 +60,11 @@ public class StoreController extends BaseController {
if
(
store
!=
null
&&
store
.
getStoreId
()!=
null
&&!
""
.
equals
(
store
.
getStoreId
()))
{
resultInfo
=
storeService
.
updateStore
(
store
,
op
);
}
else
{
if
(
store
.
getUserId
()
==
null
||
""
.
equals
(
store
.
getUserId
()))
{
resultInfo
.
setCode
(
"0"
);
resultInfo
.
setMsg
(
"系统用户id为空"
);
return
resultInfo
;
}
resultInfo
=
storeService
.
addStore
(
store
,
op
);
}
return
resultInfo
;
...
...
2code/server/store-system/src/main/java/cn/com/fqy/controller/mgt/WorkerController.java
View file @
e9324205
...
...
@@ -68,7 +68,11 @@ public class WorkerController extends BaseController {
if
(
worker
!=
null
&&
worker
.
getWorkerId
()!=
null
&&!
""
.
equals
(
worker
.
getWorkerId
()))
{
resultInfo
=
workerService
.
updateWorker
(
worker
,
op
);
}
else
{
if
(
worker
.
getUserId
()
==
null
||
""
.
equals
(
worker
.
getUserId
()))
{
resultInfo
.
setCode
(
"0"
);
resultInfo
.
setMsg
(
"系统用户id为空"
);
return
resultInfo
;
}
resultInfo
=
workerService
.
addWorker
(
worker
,
op
);
}
return
resultInfo
;
...
...
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