OutboundMapper.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package com.dk.mdm.mapper.ivt;
  2. import com.dk.mdm.model.pojo.ivt.Outbound;
  3. import com.dk.common.mapper.BaseMapper;
  4. import com.dk.mdm.model.pojo.ivt.OutboundItem;
  5. import com.dk.mdm.model.query.ivt.InboundQuery;
  6. import com.dk.mdm.model.query.ivt.OutboundQuery;
  7. import com.dk.mdm.model.response.ivt.InboundResponse;
  8. import com.dk.mdm.model.response.ivt.OutboundResponse;
  9. import org.apache.ibatis.annotations.Param;
  10. import org.springframework.stereotype.Repository;
  11. import java.util.List;
  12. /**
  13. * 出库单 Mapper
  14. */
  15. @Repository
  16. public interface OutboundMapper extends BaseMapper<Outbound>{
  17. /**
  18. * @desc : 根据条件进行查询
  19. * @author : 付斌
  20. * @date : 2024-02-28 10:18
  21. */
  22. List<OutboundResponse> selectByCond(OutboundQuery outboundQuery);
  23. /**
  24. * @desc : 根据条件进行查询(数量)
  25. * @author : 付斌
  26. * @date : 2024-02-28 10:19
  27. */
  28. Long countByCond(OutboundQuery outboundQuery);
  29. /**
  30. * @desc : 根据Id进行查询
  31. * @author : 付斌
  32. * @date : 2024-03-03 9:25
  33. */
  34. OutboundResponse selectById(@Param("id") String id);
  35. /**
  36. * @desc : 获取出库信息(新建退货用)
  37. * @author : 付斌
  38. * @date : 2024-03-29 9:11
  39. */
  40. OutboundResponse selectByIdForReturn(String id);
  41. /**
  42. * @desc : 根据传入的信息查询数据(销售退货出库办理用)
  43. * @date : 2024/3/18 15:24
  44. * @author : 寇珊珊
  45. */
  46. OutboundResponse selectMessageByOtherQuery(OutboundQuery outboundQuery);
  47. /**
  48. * @desc : 修改退货信息
  49. * @date : 2024/3/29 9:05
  50. * @author : 寇珊珊
  51. */
  52. int updateReturnMessage(Outbound outbound);
  53. /**
  54. * @desc : 条件查询 --- web端出库办理用
  55. * @date : 2024/3/23 9:24
  56. * @author : 寇珊珊
  57. */
  58. List<OutboundResponse> selectOutbound(OutboundQuery outboundQuery);
  59. /**
  60. * @desc : 条件查询 --- web端出库办理用查个数
  61. * @date : 2024/3/23 9:24
  62. * @author : 寇珊珊
  63. */
  64. Long selectOutboundCond(OutboundQuery outboundQuery);
  65. /**
  66. * @desc : 根据来源id查询
  67. * @date : 2024/4/16 13:34
  68. * @author : 寇珊珊
  69. */
  70. OutboundResponse selectByFromId(@Param("fromId") String fromId);
  71. }