InboundMapper.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.dk.mdm.mapper.ivt;
  2. import com.dk.mdm.model.pojo.ivt.Inbound;
  3. import com.dk.common.mapper.BaseMapper;
  4. import com.dk.mdm.model.pojo.ivt.InboundItem;
  5. import com.dk.mdm.model.query.ivt.InboundQuery;
  6. import com.dk.mdm.model.query.pur.PurchaseQuery;
  7. import com.dk.mdm.model.response.ivt.InboundResponse;
  8. import com.dk.mdm.model.response.mst.DictionaryDataResponse;
  9. import com.dk.mdm.model.response.pur.PurchaseResponse;
  10. import org.springframework.stereotype.Repository;
  11. import java.util.List;
  12. /**
  13. * 入库单 Mapper
  14. */
  15. @Repository
  16. public interface InboundMapper extends BaseMapper<Inbound>{
  17. /**
  18. * @desc : 根据条件进行查询
  19. * @author : 于继渤
  20. * @date : 2024/2/26 10:36
  21. */
  22. List<InboundResponse> selectInboundAndItem(InboundQuery inboundQuery);
  23. /**
  24. * @desc : 根据id查询入库单 及其明细
  25. * @author : 王英杰
  26. * @date : 2024/3/08 10:36
  27. */
  28. InboundResponse selectInboundAndItemById(InboundQuery inboundQuery);
  29. /**
  30. * @desc : 根据条件进行查询(数量)
  31. * @author : 于继渤
  32. * @date : 2024/2/26 10:36
  33. */
  34. Long selectInboundAndItemCountByCond(InboundQuery inboundQuery);
  35. /**
  36. * @desc : 修改金额数量
  37. * @author : 于继渤
  38. * @date : 2024/2/26 10:36
  39. */
  40. int updateAmount(Inbound inbound);
  41. /**
  42. * @desc : 条件查询 (采购入库用)
  43. * @author : 王英杰
  44. * @date : 2024/3/8 10:58
  45. */
  46. List<PurchaseResponse> selectByCond(InboundQuery inboundQuery);
  47. /**
  48. * @desc : 条件查询个数 (采购入库用)
  49. * @author : 王英杰
  50. * @date : 2024/3/8 10:58
  51. */
  52. Long countByCond(InboundQuery inboundQuery);
  53. }