DictionaryDataMapper.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.dk.mdm.mapper.mst;
  2. import com.dk.mdm.model.pojo.mst.DictionaryData;
  3. import com.dk.common.mapper.BaseMapper;
  4. import com.dk.mdm.model.query.mst.DictionaryDataQuery;
  5. import com.dk.mdm.model.query.mst.GoodsBrandQuery;
  6. import com.dk.mdm.model.response.mst.DictionaryDataResponse;
  7. import com.dk.mdm.model.response.mst.GoodsBrandResponse;
  8. import org.springframework.stereotype.Repository;
  9. import java.util.List;
  10. import java.util.Map;
  11. /**
  12. * 数据字典 Mapper
  13. */
  14. @Repository
  15. public interface DictionaryDataMapper extends BaseMapper<DictionaryData>{
  16. /**
  17. * @desc : 根据条件进行查询
  18. * @author : 于继渤
  19. * @date : 2024/2/26 10:36
  20. */
  21. List<DictionaryDataResponse> selectByCond(DictionaryDataQuery dictionaryDataQuery);
  22. /**
  23. * @desc : 根据条件进行查询(数量)
  24. * @author : 于继渤
  25. * @date : 2024/2/26 10:36
  26. */
  27. Long countByCond(DictionaryDataQuery dictionaryDataQuery);
  28. Long countByCondMoneyAccount(String id);
  29. /**
  30. * @desc : 批量编辑序号
  31. * @author : 于继渤
  32. * @date : 2023/1/4 9:39
  33. */
  34. Integer updateBatchDictionaryDataDisplayNo(List<Map<String,Object>> dataIds);
  35. Integer updateFlgDefault(DictionaryDataQuery dictionaryDataQuery);
  36. /**
  37. * @desc : 判断值是否重复
  38. * @author : 周兴
  39. * @date : 2024/6/19 9:39
  40. */
  41. Long checkValueDuplicated(DictionaryData dictionaryData);
  42. }