feat: 修复校验字典code不准确问题

This commit is contained in:
Kang_Yang
2024-11-07 13:39:59 +08:00
parent b7420ff43d
commit 021954617e
3 changed files with 21 additions and 3 deletions

View File

@@ -35,6 +35,15 @@ public interface DictMapper extends BaseMapper<Dict> {
* @return
*/
List<DictVO> getAllDictWithData();
/**
* 获取指定字典编码对应的的数量
*
* @param dictCode 字典编码
* @return
*/
long getDictCodeCount(String dictCode);
}