PurchaseMapper.java 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.dk.mdm.mapper.pur;
  2. import com.dk.mdm.model.pojo.pur.Purchase;
  3. import com.dk.common.mapper.BaseMapper;
  4. import com.dk.mdm.model.query.pur.PurchaseQuery;
  5. import com.dk.mdm.model.response.pur.PurchaseResponse;
  6. import com.dk.mdm.model.vo.pur.PurchaseVO;
  7. import io.swagger.models.auth.In;
  8. import org.apache.ibatis.annotations.Param;
  9. import org.springframework.stereotype.Repository;
  10. import java.util.List;
  11. /**
  12. * 采购订单 Mapper
  13. */
  14. @Repository
  15. public interface PurchaseMapper extends BaseMapper<Purchase>{
  16. /**
  17. * @desc : 查询采购订单
  18. * @author : 常皓宁
  19. * @date : 2024/2/28 9:48
  20. */
  21. List<PurchaseResponse> selectByCond(PurchaseQuery purchaseQuery);
  22. /**
  23. * @desc : 查询采购订单个数
  24. * @author : 常皓宁
  25. * @date : 2024/2/28 9:48
  26. */
  27. Long countByCond(PurchaseQuery purchaseQuery);
  28. /**
  29. * @desc : 根据id查询
  30. * @author : 常皓宁
  31. * @date : 2024/3/2 11:39
  32. */
  33. PurchaseResponse selectById(@Param("purId") String purId);
  34. }