InboundMapper.java 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. package com.dk.mdm.mapper.ivt;
  2. import com.dk.common.mapper.BaseMapper;
  3. import com.dk.mdm.model.pojo.ivt.Inbound;
  4. import com.dk.mdm.model.query.ivt.InboundQuery;
  5. import com.dk.mdm.model.response.ivt.InboundResponse;
  6. import com.dk.mdm.model.response.pur.PurchaseResponse;
  7. import org.apache.ibatis.annotations.Param;
  8. import org.springframework.stereotype.Repository;
  9. import java.util.List;
  10. /**
  11. * 入库单 Mapper
  12. */
  13. @Repository
  14. public interface InboundMapper extends BaseMapper<Inbound>{
  15. /**
  16. * @desc : 根据条件进行查询
  17. * @author : 于继渤
  18. * @date : 2024/2/26 10:36
  19. */
  20. List<InboundResponse> selectInboundAndItem(InboundQuery inboundQuery);
  21. /**
  22. * @desc : 根据条件进行查询(数量)
  23. * @author : 于继渤
  24. * @date : 2024/2/26 10:36
  25. */
  26. Long selectInboundAndItemCountByCond(InboundQuery inboundQuery);
  27. /**
  28. * @desc : 根据id查询
  29. * @date : 2024/3/9 9:14
  30. * @author : 寇珊珊
  31. */
  32. InboundResponse selectById(@Param("id") String id);
  33. /**
  34. * @desc : 修改金额数量
  35. * @author : 于继渤
  36. * @date : 2024/2/26 10:36
  37. */
  38. int updateAmount(Inbound inbound);
  39. /**
  40. * @desc : 条件查询 (采购入库用)
  41. * @author : 王英杰
  42. * @date : 2024/3/8 10:58
  43. */
  44. List<InboundResponse> selectByCond(InboundQuery inboundQuery);
  45. /**
  46. * @desc : 条件查询个数 (采购入库用)
  47. * @author : 王英杰
  48. * @date : 2024/3/8 10:58
  49. */
  50. Long countByCond(InboundQuery inboundQuery);
  51. /**
  52. * @desc : 根据传入的信息查询数据(采购退货入库办理用)
  53. * @date : 2024/3/16 16:28
  54. * @author : 寇珊珊
  55. */
  56. InboundResponse selectMessageByOtherQuery(InboundQuery inboundQuery);
  57. /**
  58. * @desc : 条件查询 --- web端入库办理用
  59. * @date : 2024/3/23 9:24
  60. * @author : 寇珊珊
  61. */
  62. List<InboundResponse> selectInbound(InboundQuery inboundQuery);
  63. /**
  64. * @desc : 条件查询 --- web端入库办理用查个数
  65. * @date : 2024/3/23 9:24
  66. * @author : 寇珊珊
  67. */
  68. Long selectInboundCond(InboundQuery inboundQuery);
  69. int updateIntoStatus(Inbound inbound);
  70. /**
  71. * @desc : 条件查询 (采购退货用)
  72. * @author : 于继渤
  73. * @date : 2024/3/8 10:58
  74. */
  75. List<InboundResponse> selectByInboundReturnCond(InboundQuery inboundQuery);
  76. /**
  77. * @desc : 条件查询个数 (采购退货用)
  78. * @author : 于继渤
  79. * @date : 2024/3/8 10:58
  80. */
  81. Long countByInboundReturnCond(InboundQuery inboundQuery);
  82. /**
  83. * @desc : 查看来源单据,总单加明细 采购退货用
  84. * @author : 于继渤
  85. * @date : 2024/3/6 10:36
  86. */
  87. InboundResponse selectInboundReturnById(@Param("id") String id);
  88. /**
  89. * @desc : 根据来源id查询
  90. * @date : 2024/3/9 9:14
  91. * @author : 寇珊珊
  92. */
  93. InboundResponse selectByFromId(@Param("id") String id);
  94. /**
  95. * @desc : 根据来源id删除单据
  96. * @date : 2024/5/10 10:39
  97. * @author : 寇珊珊
  98. */
  99. int deleteByFromId(@Param("fromId") String fromId);
  100. }