TWarehousebillsitemsElabelMapper.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.ruoyi.warehouseBusiness.mapper;
  2. import com.ruoyi.warehouseBusiness.domain.TWarehousebillsitemsElabel;
  3. import org.apache.ibatis.annotations.MapKey;
  4. import org.springframework.stereotype.Repository;
  5. import java.util.List;
  6. import java.util.Map;
  7. @Repository
  8. public interface TWarehousebillsitemsElabelMapper {
  9. /**
  10. * 增一条
  11. */
  12. void insert(TWarehousebillsitemsElabel elabel);
  13. /**
  14. * 修改一条
  15. */
  16. void updateById(TWarehousebillsitemsElabel elabel);
  17. /**
  18. * 修改状态
  19. */
  20. void updateStatus(TWarehousebillsitemsElabel elabel);
  21. /**
  22. * 删一条
  23. */
  24. int deleteById(Long id);
  25. /**
  26. * 根据父级 id 删除数据
  27. */
  28. int deleteByFPid(Long fPid);
  29. /**
  30. * 查一条
  31. */
  32. Map<String,Object> selectById(Long id);
  33. /**
  34. * 根据标签内容获取数据
  35. */
  36. TWarehousebillsitemsElabel selectByfContent(String fContent);
  37. /**
  38. * 根据父级 id 获取数据
  39. */
  40. TWarehousebillsitemsElabel selectByfPid(Long fContent);
  41. /**
  42. * 根据父级的父级 id 获取数据
  43. */
  44. List<TWarehousebillsitemsElabel> selectByfGPid(Long fGPid);
  45. /**
  46. * 获取电子标签
  47. */
  48. List<String> getLabel(String billNo);
  49. /**
  50. * 获取电子标签
  51. */
  52. List<String> getLabelByTop(Long topId);
  53. /**
  54. * 获取电子标签
  55. */
  56. List<String> getLabelByPid(Long pid);
  57. }