SupplyMapper.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.oqpo.api.mapper.stinfo;
  2. import com.oqpo.api.entity.stinfo.SpplyEntity;
  3. import com.oqpo.api.entity.stinfo.SpplyMgrEntity;
  4. import com.oqpo.api.web.dto.request.GridRequest;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import org.apache.ibatis.annotations.Param;
  7. import java.util.List;
  8. @Mapper
  9. public interface SupplyMapper {
  10. List<SpplyEntity> selectPopSpplyGridList(@Param("sBrandId") String sBrandId, @Param("sSpplyNm") String sSpplyNm, GridRequest gridRequest)throws Exception;
  11. int selectPopSpplyGridCnt(@Param("sBrandId") String sBrandId, @Param("sSpplyNm") String sSpplyNm)throws Exception;
  12. List<SpplyEntity> selectSpplyGridList(@Param("sBrandId") String sBrandId, @Param("sStCd") String sStCd, @Param("sBsnsRegNo") String sBsnsRegNo, @Param("sSpplyNm") String sSpplyNm, GridRequest gridRequest)throws Exception;
  13. int selectSpplyGridCnt(@Param("sBrandId") String sBrandId, @Param("sStCd") String sStCd, @Param("sBsnsRegNo") String sBsnsRegNo, @Param("sSpplyNm") String sSpplyNm)throws Exception;
  14. int insertSpplyInfo(@Param("userId") String userId, SpplyEntity entity) throws Exception;
  15. int updateSpplyInfo(@Param("userId") String userId, SpplyEntity entity) throws Exception;
  16. int insertSpplyMgrInfo(@Param("userId") String userId, List<SpplyMgrEntity> gridInsertData) throws Exception;
  17. int deleteSpplyMgrInfo(@Param("spplyId") String spplyId, List<SpplyMgrEntity> gridDeleteData) throws Exception;
  18. int updateSpplyMgrInfo(@Param("spplyId") String spplyId, List<SpplyMgrEntity> gridUpdateData) throws Exception;
  19. SpplyEntity selectSpplyInfo(@Param("brandId") String brandId, @Param("spplyId") String spplyId) throws Exception;
  20. List<SpplyMgrEntity> selectSpplyMgrList(@Param("spplyId") String spplyId)throws Exception;
  21. String selectSpplyInitPw(@Param("brandId") String brandId, @Param("spplyId") String spplyId) throws Exception;
  22. int selectMaxSpplyMgrId( @Param("spplyId") String spplyId) throws Exception;
  23. int updateCloseSpply(@Param("userId") String userId, @Param("brandId") String brandId, @Param("afflShopId") String afflShopId) throws Exception;
  24. }