OutboundMapper.java 2.6 KB

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