| | |
| | | public interface ComShopStoreDAO extends BaseMapper<ComShopStoreDO> { |
| | | |
| | | @Select("<script>" + |
| | | "select id,`name`,store_password,contacts,store_account,classify_id,logo,phone,delivery_type,remark,`status`,sale,sale_volume,store_detail,create_at from com_shop_store c" + |
| | | "select id,`name`,store_password,contacts,store_account,classify_id,logo,phone,delivery_type,remark,`status`," + |
| | | "sale,sale_volume,store_detail,create_at from com_shop_store c" + |
| | | " <where>" + |
| | | "c.delete_status=1" + |
| | | "<if test='pageComShopStoreDTO.contacts != null and pageComShopStoreDTO.contacts.trim() != ""'>" + |
| | | "and c.contacts like concat('%',#{pageComShopStoreDTO.contacts},'%') \n" + |
| | | " </if> " + |
| | |
| | | "and c.status =#{pageComShopStoreDTO.status} \n" + |
| | | " </if> " + |
| | | " </where>" + |
| | | " order by c.create_at desc"+ |
| | | " order by c.create_at desc" + |
| | | "</script>") |
| | | IPage<PageShopStoreVO> pageShopStore(Page page, @Param("pageComShopStoreDTO") PageComShopStoreDTO pageComShopStoreDTO); |
| | | |