Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
3d4bd612
Commit
3d4bd612
authored
Feb 21, 2020
by
吴学德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
0a7fd4ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
service-manager/src/main/java/com/winsun/controller/ProductController.java
+1
-2
No files found.
service-manager/src/main/java/com/winsun/controller/ProductController.java
View file @
3d4bd612
...
...
@@ -102,8 +102,6 @@ public class ProductController extends BaseController {
Timestamp
timestamp
=
new
Timestamp
(
date
.
getTime
());
Map
<
String
,
Object
>
dataMapping
=
new
HashMap
<>();
dataMapping
.
put
(
"product_last_update_time"
,
timestamp
);
dataMapping
.
put
(
"product_introduction"
,
pro
.
getProductIntroduction
());
dataMapping
.
put
(
"product_set_meal_introduction"
,
pro
.
getProductSetMealIntroduction
());
dataMapping
.
put
(
"product_meal_price"
,
pro
.
getProductMealPrice
());
dataMapping
.
put
(
"product_meal"
,
pro
.
getProductMeal
());
dataMapping
.
put
(
"product_title"
,
pro
.
getProductTitle
());
...
...
@@ -111,6 +109,7 @@ public class ProductController extends BaseController {
dataMapping
.
put
(
"product_price"
,
pro
.
getProductPrice
());
dataMapping
.
put
(
"product_region"
,
pro
.
getProductRegion
());
dataMapping
.
put
(
"product_rate"
,
pro
.
getProductRate
());
dataMapping
.
put
(
"product_state"
,
pro
.
getProductState
());
productMapper
.
updateForSet
(
MyBatisPlusUpdateUtils
.
toUpdateSet
(
dataMapping
),
wrapper
);
return
ResponseData
.
success
(
"修改成功!"
);
}
...
...
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