数据字典重复值问题
This commit is contained in:
parent
e5b11cb932
commit
39b236b6de
|
|
@ -106,9 +106,6 @@ public class SysDictDataServiceImpl implements ISysDictDataService
|
|||
@Override
|
||||
public int updateDictData(SysDictData data)
|
||||
{
|
||||
if (checkIfDictValueOrLabelAreRepeat(data)) {
|
||||
throw new ServiceException("发现重复字典标签或字典键值");
|
||||
}
|
||||
int row = dictDataMapper.updateDictData(data);
|
||||
if (row > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue