RtnReqMapper.java 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.oqpo.api.mapper.rtnmng;
  2. import com.oqpo.api.entity.pomng.PchReqBaseInfoEntity;
  3. import com.oqpo.api.entity.pomng.PchReqDtlPtclEntity;
  4. import com.oqpo.api.entity.rtnmng.RtnReqBaseInfoEntity;
  5. import com.oqpo.api.entity.rtnmng.RtnReqDtlPtclEntity;
  6. import com.oqpo.api.web.dto.request.GridRequest;
  7. import org.apache.ibatis.annotations.Mapper;
  8. import org.apache.ibatis.annotations.Param;
  9. import java.util.List;
  10. @Mapper
  11. public interface RtnReqMapper {
  12. int insertRtnReqBaseInfo(@Param("userId") String userId, RtnReqBaseInfoEntity entity) throws Exception;
  13. int updateRtnReqBaseInfo(@Param("userId") String userId, RtnReqBaseInfoEntity entity) throws Exception;
  14. int insertRtnReqDtlPtcl(@Param("userId") String userId, List<RtnReqDtlPtclEntity> gridInsertData) throws Exception;
  15. int updateRtnReqDtlPtcl(@Param("userId") String userId, List<RtnReqDtlPtclEntity> gridUpdateData) throws Exception;
  16. int deleteRtnReqDtlPtcl(@Param("rtnReqUnqNo") String rtnReqUnqNo, List<RtnReqDtlPtclEntity> gridDeleteData) throws Exception;
  17. int selectMaxRtnReqDtlNo(@Param("rtnReqUnqNo") String rtnReqUnqNo) throws Exception;
  18. RtnReqBaseInfoEntity selectSumRtnAmt(@Param("rtnReqUnqNo") String rtnReqUnqNo) throws Exception;
  19. List<RtnReqBaseInfoEntity> selectRtnReqGridList(@Param("sBrandId") String sBrandId, @Param("sStoreId") String sStoreId, @Param("fromDt") String fromDt, @Param("toDt") String toDt, @Param("sWhsId") String sWhsId, @Param("sRtnReqStCd") String sRtnReqStCd, @Param("sItemNm") String sItemNm, GridRequest gridRequest)throws Exception;
  20. int selectRtnReqGridCnt(@Param("sBrandId") String sBrandId,@Param("sStoreId") String sStoreId, @Param("fromDt") String fromDt, @Param("toDt") String toDt, @Param("sWhsId") String sWhsId, @Param("sRtnReqStCd") String sRtnReqStCd, @Param("sItemNm") String sItemNm)throws Exception;
  21. RtnReqBaseInfoEntity selectRtnReqInfo(@Param("brandId") String brandId, @Param("storeId") String storeId, @Param("rtnReqUnqNo") String rtnReqUnqNo)throws Exception;
  22. List<RtnReqDtlPtclEntity> selectRtnReqDtlList(@Param("rtnReqUnqNo") String rtnReqUnqNo)throws Exception;
  23. /*
  24. List<PchReqBaseInfoEntity> selectPchReqGridList(@Param("sBrandId") String sBrandId, @Param("sStoreId") String sStoreId, @Param("fromDt") String fromDt, @Param("toDt") String toDt, @Param("sWhsId") String sWhsId, @Param("sPchReqStCd") String sPchReqStCd, @Param("sItemNm") String sItemNm, GridRequest gridRequest)throws Exception;
  25. int selectPchReqGridCnt(@Param("sBrandId") String sBrandId, @Param("sStoreId") String sStoreId, @Param("fromDt") String fromDt, @Param("toDt") String toDt, @Param("sWhsId") String sWhsId, @Param("sPchReqStCd") String sPchReqStCd, @Param("sItemNm") String sItemNm)throws Exception;
  26. PchReqBaseInfoEntity selectPchReqInfo(@Param("brandId") String brandId, @Param("pchReqUnqNo") String pchReqUnqNo)throws Exception;
  27. List<PchReqDtlPtclEntity> selectPchReqDtlPtcl(@Param("brandId") String brandId, @Param("pchReqUnqNo") String pchReqUnqNo)throws Exception;
  28. int insertPchReqBaseInfo(@Param("userId") String userId, @Param("userNm") String userNm, PchReqBaseInfoEntity entity) throws Exception;
  29. int updateOrdPchReqBaseInfo(@Param("userId") String userId, @Param("userNm") String userNm, PchReqBaseInfoEntity entity) throws Exception;
  30. int insertPchReqDtlPtcl(@Param("userId") String userId, List<PchReqDtlPtclEntity> gridInsertData) throws Exception;
  31. int updateRejPchReqBaseInfo(@Param("userId") String userId, @Param("pchReqUnqNo") String pchReqUnqNo, @Param("pchReqRjctNm") String pchReqRjctNm, @Param("pchReqRjctRsn") String pchReqRjctRsn) throws Exception;
  32. int updatePchReqDtlPtcl(@Param("userId") String userId, @Param("pchReqUnqNo") String pchReqUnqNo, List<PchReqDtlPtclEntity> gridUpdateData) throws Exception;
  33. int deletePchReqDtlPtcl(@Param("pchReqUnqNo") String pchReqUnqNo, List<PchReqDtlPtclEntity> gridDeleteData) throws Exception;
  34. int selectMaxPchReqDtlNo(@Param("pchReqUnqNo") String pchReqUnqNo) throws Exception;
  35. PchReqBaseInfoEntity selectSumReqAmt(@Param("pchReqUnqNo") String pchReqUnqNo) throws Exception;
  36. List<PchReqBaseInfoEntity> selectPchReqPoTargetGridList(@Param("sBrandId") String sBrandId, @Param("fromDt") String fromDt, @Param("toDt") String toDt, @Param("sSpplyId") String sSpplyId, @Param("sWhsId") String sWhsId, @Param("sItemNm") String sItemNm, GridRequest gridRequest)throws Exception;
  37. int selectPchReqPoTargetGridCnt(@Param("sBrandId") String sBrandId, @Param("fromDt") String fromDt, @Param("toDt") String toDt, @Param("sSpplyId") String sSpplyId, @Param("sWhsId") String sWhsId, @Param("sItemNm") String sItemNm)throws Exception;
  38. List<PchReqDtlPtclEntity> selectPchRejectPrTargetList(@Param("pchReqUnqNo") String pchReqUnqNo) ;
  39. int updatePchReqStCd(@Param("userId") String userId, List<PchReqBaseInfoEntity> gridUpdateData) throws Exception;
  40. */
  41. }