Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fileServe
Overview
Overview
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
vanke
fileServe
Commits
3f91d929
Commit
3f91d929
authored
Jun 15, 2020
by
XiaHou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权星相关接口修复
parent
4d6bd18c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
PmsProductService.java
...ava/com/macro/mall/service/product/PmsProductService.java
+0
-5
PmsProductServiceImpl.java
...acro/mall/service/product/impl/PmsProductServiceImpl.java
+0
-15
No files found.
mall-service/src/main/java/com/macro/mall/service/product/PmsProductService.java
View file @
3f91d929
...
@@ -123,11 +123,6 @@ public interface PmsProductService {
...
@@ -123,11 +123,6 @@ public interface PmsProductService {
int
updateNewStatus
(
List
<
Long
>
ids
,
Integer
newStatus
);
int
updateNewStatus
(
List
<
Long
>
ids
,
Integer
newStatus
);
/**
/**
* 批量删除商品
*/
int
updateDeleteStatus
(
List
<
Long
>
ids
,
Integer
deleteStatus
);
/**
* 根据商品名称或者货号模糊查询
* 根据商品名称或者货号模糊查询
*/
*/
List
<
SimpleProductResult
>
list
(
String
keyword
,
Long
catetoryI
,
Long
catetoryIi
,
Long
catetoryIii
,
Long
mchtId
);
List
<
SimpleProductResult
>
list
(
String
keyword
,
Long
catetoryI
,
Long
catetoryIi
,
Long
catetoryIii
,
Long
mchtId
);
...
...
mall-service/src/main/java/com/macro/mall/service/product/impl/PmsProductServiceImpl.java
View file @
3f91d929
...
@@ -553,21 +553,6 @@ public class PmsProductServiceImpl implements PmsProductService {
...
@@ -553,21 +553,6 @@ public class PmsProductServiceImpl implements PmsProductService {
return
productMapper
.
updateByExampleSelective
(
record
,
example
);
return
productMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
public
int
updateDeleteStatus
(
List
<
Long
>
ids
,
Integer
deleteStatus
)
{
PmsProduct
record
=
new
PmsProduct
();
if
(
deleteStatus
==
1
){
record
.
setDeleteStatus
(
1
);
//彻底删除
}
else
if
(
deleteStatus
==
2
){
record
.
setDelFlag
(
1
);
//逻辑删除(可以还原)
}
else
if
(
deleteStatus
==
3
){
record
.
setDelFlag
(
0
);
//还原
}
PmsProductExample
example
=
new
PmsProductExample
();
example
.
createCriteria
().
andIdIn
(
ids
);
return
productMapper
.
updateByExampleSelective
(
record
,
example
);
}
@Override
@Override
public
List
<
SimpleProductResult
>
list
(
String
keyword
,
Long
catetoryI
,
Long
catetoryIi
,
Long
catetoryIii
,
Long
mchtId
)
{
public
List
<
SimpleProductResult
>
list
(
String
keyword
,
Long
catetoryI
,
Long
catetoryIi
,
Long
catetoryIii
,
Long
mchtId
)
{
...
...
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