1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- package com.kmall.admin.service;
- import com.kmall.admin.dto.StoreDto;
- import com.kmall.admin.dto.StoreIdDto;
- import com.kmall.admin.entity.StoreEntity;
- import com.kmall.admin.entity.SysMacroEntity;
- import java.util.List;
- import java.util.Map;
- /**
- * Service接口
- *
- * @author Scott
- * @email
- * @date 2017-12-02 00:53:32
- */
- public interface StoreService {
- /**
- * 根据主键查询实体
- *
- * @param id 主键
- * @return 实体
- */
- StoreEntity queryObject(Integer id);
- /**
- * 分页查询
- *
- * @param map 参数
- * @return list
- */
- List<StoreEntity> queryList(Map<String, Object> map);
- /**
- * 分页统计总数
- *
- * @param map 参数
- * @return 总数
- */
- int queryTotal(Map<String, Object> map);
- /**
- * 保存实体
- *
- * @param store 实体
- * @return 保存条数
- */
- int save(StoreEntity store);
- /**
- * 根据主键更新实体
- *
- * @param store 实体
- * @return 更新条数
- */
- int update(StoreEntity store);
- /**
- * 根据主键删除
- *
- * @param id
- * @return 删除条数
- */
- int delete(Integer id);
- /**
- * 根据主键批量删除
- *
- * @param ids
- * @return 删除条数
- */
- int deleteBatch(Integer[] ids);
- /**
- * 批量导入
- *
- * @param storeDtoList
- * @return
- */
- int uploadExcel(List<StoreDto> storeDtoList);
- List<StoreEntity> queryExportList(Map<String, Object> map);
- String checkStoreIdUpload(List<StoreIdDto> storeIdDtoList);
- /**
- * 查询所有的门店
- * @return
- */
- List<StoreEntity> queryStoreByAll();
- List<SysMacroEntity> queryListDictionary();
- }
|