| | |
| | | |
| | | @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, store_describe from com_shop_store c" + " <where>" |
| | | + "c.delete_status=1 and c.status = 1" |
| | | + "sale,sale_volume,store_detail,create_at, store_describe from com_shop_store c " + " <where>" |
| | | + "c.delete_status=1 and c.status = 1 " |
| | | + "<if test='pageComShopStoreDTO.contacts != null and pageComShopStoreDTO.contacts.trim() != ""'>" |
| | | + "and c.contacts like concat('%',#{pageComShopStoreDTO.contacts},'%') \n" + " </if> " |
| | | + "and c.contacts like concat('%',#{pageComShopStoreDTO.contacts},'%') " + " </if> " |
| | | + "<if test='pageComShopStoreDTO.account != null and pageComShopStoreDTO.account.trim() != ""'>" |
| | | + "and c.store_account = #{pageComShopStoreDTO.account} \n" + " </if> " |
| | | + "and c.store_account = #{pageComShopStoreDTO.account} " + " </if> " |
| | | + "<if test='pageComShopStoreDTO.name != null and pageComShopStoreDTO.name.trim() != ""'>" |
| | | + "and c.`name` like concat('%',#{pageComShopStoreDTO.name},'%') \n" + " </if> " |
| | | + "and c.`name` like concat('%',#{pageComShopStoreDTO.name},'%') " + " </if> " |
| | | + "<if test='pageComShopStoreDTO.deliveryType != null'>" |
| | | + "and c.delivery_type =#{pageComShopStoreDTO.deliveryType}\n" + " </if> " |
| | | + "<if test='pageComShopStoreDTO.status != null'>" + "and c.status =#{pageComShopStoreDTO.status} \n" |
| | | + "and c.delivery_type =#{pageComShopStoreDTO.deliveryType} " + " </if> " |
| | | + "<if test='pageComShopStoreDTO.status != null'>" + "and c.status =#{pageComShopStoreDTO.status} " |
| | | + " </if> " + " </where>" + " order by c.create_at desc" + "</script>") |
| | | IPage<PageShopStoreVO> pageShopStore(Page page, |
| | | @Param("pageComShopStoreDTO") PageComShopStoreDTO pageComShopStoreDTO); |