SupplierMapper.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package com.dk.mdm.mapper.mst;
  2. import com.dk.mdm.model.pojo.mst.Org;
  3. import com.dk.mdm.model.pojo.mst.Supplier;
  4. import com.dk.common.mapper.BaseMapper;
  5. import com.dk.mdm.model.query.mst.SupplierQuery;
  6. import com.dk.mdm.model.response.mst.StaffResponse;
  7. import com.dk.mdm.model.vo.mst.SupplierVo;
  8. import org.springframework.stereotype.Repository;
  9. import java.util.List;
  10. /**
  11. * 供应商 Mapper
  12. */
  13. @Repository
  14. public interface SupplierMapper extends BaseMapper<Supplier>{
  15. /**
  16. * @desc : 根据条件进行查询
  17. * @author : 王英杰
  18. * @date : 2023/1/9 10:42
  19. */
  20. List<Supplier> selectByCond(SupplierQuery supplierQuery);
  21. /**
  22. * @desc : 根据条件进行查询(数量)
  23. * @author : 王英杰
  24. * @date : 2023/1/9 10:42
  25. */
  26. Long countByCond(SupplierQuery supplierQuery);
  27. /**
  28. * @desc : 保存供应商品牌
  29. * @author : 王英杰
  30. * @date : 2024/2/29 17:49
  31. */
  32. int insertSupplierBrand(SupplierVo supplierVo);
  33. /**
  34. * @desc : 批量删除 供应商iD对应的品牌
  35. * @author : 王英杰
  36. * @date : 2024/2/29 17:49
  37. */
  38. int batchDelete (SupplierVo supplierVo);
  39. /**
  40. * @desc : 自动生id
  41. * @author : 王英杰
  42. * @date : 2024/2/29 17:49
  43. */
  44. String selectUuid ();
  45. /**
  46. * @desc :根据 公司id和uuid 生成 code
  47. * @author : 王英杰
  48. * @date : 2024/2/29 17:49
  49. */
  50. String selectSupCode (SupplierVo supplierVo);
  51. }