Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
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
吴迪
gs1-office-web-sit
Commits
038aca01
Commit
038aca01
authored
Jun 26, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】修改零售问题
parent
77a256c3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
RetailpictureController.java
...ce/modules/manage/controller/RetailpictureController.java
+1
-1
RetailpictureEntity.java
.../io/office/modules/manage/entity/RetailpictureEntity.java
+4
-0
RetailpictureDao.xml
src/main/resources/mapper/manage/RetailpictureDao.xml
+3
-1
No files found.
src/main/java/io/office/modules/manage/controller/RetailpictureController.java
View file @
038aca01
...
...
@@ -54,7 +54,7 @@ public class RetailpictureController extends AbstractController {
// @RequiresPermissions("generator:picture:info")
public
R
info
(
@PathVariable
(
"pictureid"
)
Integer
pictureid
){
RetailpictureEntity
picture
=
retailpictureService
.
getById
(
pictureid
);
picture
.
setFlag
(
"2"
);
return
R
.
ok
().
put
(
"picture"
,
picture
);
}
...
...
src/main/java/io/office/modules/manage/entity/RetailpictureEntity.java
View file @
038aca01
package
io
.
office
.
modules
.
manage
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
...
...
@@ -85,4 +86,7 @@ public class RetailpictureEntity implements Serializable {
*/
private
String
lasteditor
;
@TableField
(
exist
=
false
)
private
String
flag
;
}
src/main/resources/mapper/manage/RetailpictureDao.xml
View file @
038aca01
...
...
@@ -21,6 +21,7 @@
<result
property=
"showtime"
column=
"showtime"
/>
<result
property=
"auditor"
column=
"auditor"
/>
<result
property=
"lasteditor"
column=
"lasteditor"
/>
<result
property=
"flag"
column=
"flag"
/>
</resultMap>
<select
id=
"selectPictureList"
resultMap=
"retailpictureMap"
parameterType=
"io.office.modules.manage.entity.dto.RetailPictureParams"
>
...
...
@@ -36,7 +37,8 @@
t.auditor,
t.Status,
t.PicLevel,
t.jumppath
t.jumppath,
'2' flag
FROM
retailPicture t
where 1=1
...
...
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