Commit 19d686ae by 梅存智

Merge branch 'dev' into 'master'

banner列表增加图片名称查询条件

See merge request !5
parents 2420a391 a4866b00
......@@ -21,6 +21,9 @@ public class SiteComponyIdVO {
@ApiModelProperty(value = "应用名称")
private String terminalName;
@ApiModelProperty(value = "图片名称")
private String imgTitle;
@ApiModelProperty(value = "状态, 1 上架, 2 下架 , 3 全部")
private Integer state;
......
......@@ -300,6 +300,7 @@ public class PortalBannerServiceImpl extends ServiceImpl<PortalBannerMapper, Por
map.put("companyId", companyId);
map.put("terminalName", terminalName);
map.put("stateList", stateList);
map.put("imgTitle", siteComponyIdVO.getImgTitle());
Page<PortalBannerVo> page = new Page<PortalBannerVo>(pageNo, pageSize);
listPortal = portalBannerMapper.selectPortalBanner(page, map);
......
......@@ -65,6 +65,9 @@
#{item}
</foreach>
</if>
<if test="imgTitle!=null and imgTitle!=''">
and a.img_title LIKE CONCAT('%', #{imgTitle}, '%')
</if>
order by a.sort desc
</select>
......
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