123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- package com.kmall.admin.service;
- import com.kmall.admin.entity.AddressInfoEntity;
- import com.kmall.admin.entity.ShopAndAddrVo;
- import com.kmall.admin.entity.StoreExprActiveDto;
- import com.kmall.admin.entity.shop.StoreAddrVo;
- import java.util.List;
- import java.util.Map;
- /**
- * 门店和快递关联表Service接口
- *
- * @author emato
- * @email admin@qhdswl.com
- * @date 2021-04-06 10:14:18
- */
- public interface AddressInfoService {
- /**
- * 根据主键查询实体
- *
- * @param id 主键
- * @return 实体
- */
- AddressInfoEntity queryObject(Integer id);
- /**
- * 根据门店id和快递id查询
- * @param shopAndAddrVo
- * @return
- */
- AddressInfoEntity queryIds(ShopAndAddrVo shopAndAddrVo);
- List<AddressInfoEntity> queryCourieId(Integer courieId);
- StoreExprActiveDto queryByStoreId(Long storeId);
- /**
- * 分页查询
- *
- * @param map 参数
- * @return list
- */
- List<AddressInfoEntity> queryList(Map<String, Object> map);
- /**
- * 分页统计总数
- *
- * @param map 参数
- * @return 总数
- */
- int queryTotal(Map<String, Object> map);
- /**
- * 保存实体
- *
- * @param addressInfo 实体
- * @return 保存条数
- */
- int save(AddressInfoEntity addressInfo);
- /**
- * 添加门店关联快递公司
- * @param shopAndAddrVo
- * @return
- */
- int save(ShopAndAddrVo shopAndAddrVo);
- /**
- * 根据主键更新实体
- *
- * @param addressInfo 实体
- * @return 更新条数
- */
- int update(AddressInfoEntity addressInfo);
- /**
- * 修改状态
- * @param storeAddrVo
- * @return
- */
- int updateStatus(StoreAddrVo storeAddrVo);
- /**
- * 根据主键删除
- *
- * @param id
- * @return 删除条数
- */
- int delete(Integer id);
- /**
- * 根据主键批量删除
- *
- * @param ids
- * @return 删除条数
- */
- int deleteBatch(Integer[]ids);
- }
|