InboundMapper.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.mst.DictionaryDataResponse;
  8. import com.dk.mdm.model.response.pur.PurchaseResponse;
  9. import org.springframework.stereotype.Repository;
  10. import java.util.List;
  11. /**
  12. * 入库单 Mapper
  13. */
  14. @Repository
  15. public interface InboundMapper extends BaseMapper<Inbound>{
  16. /**
  17. * @desc : 根据条件进行查询
  18. * @author : 于继渤
  19. * @date : 2024/2/26 10:36
  20. */
  21. List<DictionaryDataResponse> selectInboundAndItem(InboundQuery inboundQuery);
  22. /**
  23. * @desc : 根据条件进行查询(数量)
  24. * @author : 于继渤
  25. * @date : 2024/2/26 10:36
  26. */
  27. Long selectInboundAndItemCountByCond(InboundQuery inboundQuery);
  28. int updateAmount(Inbound inbound);
  29. /**
  30. * @desc : 条件查询 (采购入库用)
  31. * @author : 王英杰
  32. * @date : 2024/3/8 10:58
  33. */
  34. List<PurchaseResponse> selectByCond(InboundQuery inboundQuery);
  35. /**
  36. * @desc : 条件查询个数 (采购入库用)
  37. * @author : 王英杰
  38. * @date : 2024/3/8 10:58
  39. */
  40. Long countByCond(InboundQuery inboundQuery);
  41. }