Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
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
曲欣亮
shop
Commits
0a85f451
Commit
0a85f451
authored
Oct 10, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
0259ba52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
AddressController.java
...ain/java/com/egolm/shop/controller/AddressController.java
+1
-1
AddressServiceImpl.java
.../java/com/egolm/shop/service/impl/AddressServiceImpl.java
+4
-3
No files found.
src/main/java/com/egolm/shop/controller/AddressController.java
View file @
0a85f451
...
...
@@ -132,7 +132,7 @@ public class AddressController {
}
@ApiOperation
(
"
地址列表
"
)
@ApiOperation
(
"
删除
"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"shopNO"
,
dataType
=
"String"
,
required
=
true
,
value
=
"店铺编码"
,
defaultValue
=
""
),
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"userNO"
,
dataType
=
"String"
,
required
=
true
,
value
=
"用户编码"
,
defaultValue
=
""
),
...
...
src/main/java/com/egolm/shop/service/impl/AddressServiceImpl.java
View file @
0a85f451
...
...
@@ -152,8 +152,9 @@ public class AddressServiceImpl implements AddressService {
return
null
;
}
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
0
|
1
|
2
|
1
);
}
public
String
delete
(
String
addId
,
String
userNO
,
String
shopNO
,
String
langID
)
{
try
{
boolean
isShopExists
=
userService
.
checkShopExists
(
userNO
,
shopNO
);
...
...
@@ -164,7 +165,7 @@ public class AddressServiceImpl implements AddressService {
TCustAddress
custAddress
=
getAddById
(
addId
);
if
(
custAddress
!=
null
)
{
custAddress
.
setnTag
(
1
);
custAddress
.
setnTag
(
custAddress
.
getnTag
()
==
null
?
1
:
(
custAddress
.
getnTag
()|
1
)
);
custAddress
.
setsConfirmUser
(
userNO
);
custAddress
.
setdConfirmDate
(
new
Date
());
custAddress
.
setdLastUpdateTime
(
new
Date
());
...
...
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