InboundMapper.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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("intoId") String intoId);
  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. }