|
|
@ -200,10 +200,10 @@ public class DictDataServiceImpl implements DictDataService { |
|
|
|
if(dictDataDO != null && 0 == dictDataDO.getStatus()){ |
|
|
|
return dictDataDO; |
|
|
|
}else { |
|
|
|
throw new UtilException( "字典类型" + ptype + "的数据" + plabel + "无效"); |
|
|
|
throw exception(DICT_DATA_NOT_EXIST, "字典类型" + ptype + "的数据" + plabel + "无效"); |
|
|
|
} |
|
|
|
}else { |
|
|
|
throw new UtilException( "字典类型" + ptype + "无效"); |
|
|
|
throw exception(DICT_DATA_NOT_EXIST, "字典类型" + ptype + "无效"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -215,7 +215,7 @@ public class DictDataServiceImpl implements DictDataService { |
|
|
|
if(dictDataDO != null && 0 == dictDataDO.getStatus()){ |
|
|
|
return dictDataDO; |
|
|
|
}else { |
|
|
|
throw new UtilException( "未查到字典相关标签"); |
|
|
|
throw exception(DICT_LABLE_NOT_EXIST, "未查到字典相关标签"); |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
@ -226,7 +226,7 @@ public class DictDataServiceImpl implements DictDataService { |
|
|
|
if(dictDataDO != null && 0 == dictDataDO.getStatus()){ |
|
|
|
return dictDataDO; |
|
|
|
}else { |
|
|
|
throw new UtilException( "未查到字典相关标签"); |
|
|
|
throw exception(DICT_DATA_NOT_EXIST, "未查到字典相关键值"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|