Commit 038aca01 by 吴迪

【修改】修改零售问题

parent 77a256c3
...@@ -54,7 +54,7 @@ public class RetailpictureController extends AbstractController { ...@@ -54,7 +54,7 @@ public class RetailpictureController extends AbstractController {
// @RequiresPermissions("generator:picture:info") // @RequiresPermissions("generator:picture:info")
public R info(@PathVariable("pictureid") Integer pictureid){ public R info(@PathVariable("pictureid") Integer pictureid){
RetailpictureEntity picture = retailpictureService.getById(pictureid); RetailpictureEntity picture = retailpictureService.getById(pictureid);
picture.setFlag("2");
return R.ok().put("picture", picture); return R.ok().put("picture", picture);
} }
......
package io.office.modules.manage.entity; package io.office.modules.manage.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
...@@ -85,4 +86,7 @@ public class RetailpictureEntity implements Serializable { ...@@ -85,4 +86,7 @@ public class RetailpictureEntity implements Serializable {
*/ */
private String lasteditor; private String lasteditor;
@TableField(exist = false)
private String flag;
} }
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<result property="showtime" column="showtime"/> <result property="showtime" column="showtime"/>
<result property="auditor" column="auditor"/> <result property="auditor" column="auditor"/>
<result property="lasteditor" column="lasteditor"/> <result property="lasteditor" column="lasteditor"/>
<result property="flag" column="flag"/>
</resultMap> </resultMap>
<select id="selectPictureList" resultMap="retailpictureMap" parameterType="io.office.modules.manage.entity.dto.RetailPictureParams"> <select id="selectPictureList" resultMap="retailpictureMap" parameterType="io.office.modules.manage.entity.dto.RetailPictureParams">
...@@ -36,7 +37,8 @@ ...@@ -36,7 +37,8 @@
t.auditor, t.auditor,
t.Status, t.Status,
t.PicLevel, t.PicLevel,
t.jumppath t.jumppath,
'2' flag
FROM FROM
retailPicture t retailPicture t
where 1=1 where 1=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment