InboundItemMapper.java 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package com.dk.mdm.mapper.ivt;
  2. import com.dk.mdm.model.pojo.ivt.Inbound;
  3. import com.dk.mdm.model.pojo.ivt.InboundItem;
  4. import com.dk.common.mapper.BaseMapper;
  5. import com.dk.mdm.model.query.ivt.InboundItemQuery;
  6. import com.dk.mdm.model.query.ivt.InboundQuery;
  7. import com.dk.mdm.model.response.ivt.InboundItemResponse;
  8. import com.dk.mdm.model.response.ivt.InboundResponse;
  9. import org.apache.ibatis.annotations.Param;
  10. import org.springframework.stereotype.Repository;
  11. import java.util.List;
  12. /**
  13. * 入库明细 Mapper
  14. */
  15. @Repository
  16. public interface InboundItemMapper extends BaseMapper<InboundItem>{
  17. /**
  18. * @desc : 条件查询
  19. * @date : 2024/3/7 17:28
  20. * @author : 寇珊珊
  21. */
  22. List<InboundItemResponse> selectByCond(InboundItemQuery inboundItemQuery);
  23. /**
  24. * @desc : 条件查询个数 (采购入库用)
  25. * @author : 常皓宁
  26. * @date : 2024/3/13 14:39
  27. */
  28. Long countByCond(InboundItemQuery inboundItemQuery);
  29. /**
  30. * @desc : 根据id查询
  31. * @date : 2024/3/9 9:14
  32. * @author : 寇珊珊
  33. */
  34. InboundItemResponse selectById(@Param("itemId") String itemId);
  35. /**
  36. * @desc : 修改金额数量
  37. * @author : 于继渤
  38. * @date : 2024/2/26 10:36
  39. */
  40. int updateAmount(InboundItem inboundItem);
  41. /**
  42. * @desc : 条件查询 --- web端入库办理用
  43. * @date : 2024/3/23 9:24
  44. * @author : 寇珊珊
  45. */
  46. List<InboundItemResponse> selectInboundItem(InboundItemQuery inboundItemQuery);
  47. int deleteByFromId(InboundItem inboundItem);
  48. int updateIntoStatus(InboundItem inboundItem);
  49. /**
  50. * @desc : 条件查询 --- 采购退货详情用
  51. * @date : 2024/3/23 9:24
  52. * @author : 于继渤
  53. */
  54. List<InboundItemResponse> selectByInboundReturnCond(InboundItemQuery inboundItemQuery);
  55. }