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
f9cf2d80
Commit
f9cf2d80
authored
Nov 21, 2018
by
wyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 编辑的校验
parent
099b9ff8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
25 deletions
+1
-25
StoreController.java
.../main/java/cn/com/fqy/controller/mgt/StoreController.java
+0
-15
WorkerController.java
...main/java/cn/com/fqy/controller/mgt/WorkerController.java
+1
-10
No files found.
2code/server/store-system/src/main/java/cn/com/fqy/controller/mgt/StoreController.java
View file @
f9cf2d80
...
...
@@ -61,21 +61,6 @@ public class StoreController extends BaseController {
if
(
store
.
getUserId
()
!=
null
&&
!
""
.
equals
(
store
.
getUserId
()))
{
store
.
setUserId
(
null
);
}
if
(
store
.
getStoreHomePic
()==
null
||
""
.
equals
(
store
.
getStoreHomePic
()))
{
resultInfo
.
setCode
(
"0"
);
resultInfo
.
setMsg
(
"店铺主图为空"
);
return
resultInfo
;
}
if
(
store
.
getStorePic
()==
null
||
""
.
equals
(
store
.
getStorePic
()))
{
resultInfo
.
setCode
(
"0"
);
resultInfo
.
setMsg
(
"店铺详情图为空"
);
return
resultInfo
;
}
if
(
store
.
getQrCode
()==
null
||
""
.
equals
(
store
.
getQrCode
()))
{
resultInfo
.
setCode
(
"0"
);
resultInfo
.
setMsg
(
"店铺二维码为空"
);
return
resultInfo
;
}
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 @
f9cf2d80
...
...
@@ -66,16 +66,7 @@ public class WorkerController extends BaseController {
//操作人
Operator
op
=
getOperator
();
if
(
worker
!=
null
&&
worker
.
getWorkerId
()!=
null
&&!
""
.
equals
(
worker
.
getWorkerId
()))
{
if
(
worker
.
getWorkerPic
()
==
null
||
""
.
equals
(
worker
.
getWorkerPic
()))
{
resultInfo
.
setCode
(
"0"
);
resultInfo
.
setMsg
(
"员工详情图片为空"
);
return
resultInfo
;
}
if
(
worker
.
getWorkerHomePic
()
==
null
||
""
.
equals
(
worker
.
getWorkerHomePic
()))
{
resultInfo
.
setCode
(
"0"
);
resultInfo
.
setMsg
(
"员工主图为空"
);
return
resultInfo
;
}
if
(
worker
.
getUserId
()
!=
null
&&
!
""
.
equals
(
worker
.
getUserId
()))
{
worker
.
setUserId
(
null
);
}
...
...
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