Commit 038aca01 by 吴迪

【修改】修改零售问题

parent 77a256c3
......@@ -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);
}
......
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;
}
......@@ -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
......
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