|
- package com.simple.service;
-
- import com.github.pagehelper.PageInfo;
- import com.simple.domain.po.WxMerchant;
-
- import java.util.List;
-
- public interface WxMerchantService {
-
- /**
- * 根据实体查询分页列表
- *
- * @param record
- * @param pageIndex
- * @param pageSize
- * @return
- */
- PageInfo<WxMerchant> listAsPage(WxMerchant record, Integer pageIndex, Integer pageSize);
-
- /**
- * 根据实体查询分页列表
- *
- * @param record
- * @return
- */
- List<WxMerchant> etcpList(WxMerchant record);
-
- /**
- * 根据Id获得实体
- *
- * @param id
- * @return
- */
- WxMerchant getById(Long id);
-
- /**
- * 保存或更新实体
- *
- * @param record
- */
- void saveOrUpdate(WxMerchant record);
-
- /**
- * 根据Id删除实体
- *
- * @param id
- */
- void deleteById(Long id);
-
-
- void disable(Long id);
-
- }
|