Rev 21723 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.repository.dtr;import java.util.List;import org.springframework.stereotype.Repository;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.entity.dtr.Shop;@Repositorypublic interface ShopRepository {public void persist(Shop shop)throws ProfitMandiBusinessException;public Shop selectById(int id) throws ProfitMandiBusinessException;public List<Shop> selectByRetailerId(int retailerId) throws ProfitMandiBusinessException;public boolean isExistByDocumentId(int documentId);public void deleteById(int id) throws ProfitMandiBusinessException;public void deleteByShopAndRetailerId(int shopId, int retailerId) throws ProfitMandiBusinessException;}