当前参数为标准类别时需要输入的code为name值
This commit is contained in:
@@ -101,6 +101,8 @@ public class DicTypeEOServiceImpl extends ServiceImpl<DicTypeEODao,DicTypeEO> im
|
||||
if(!StringUtils.isNotEmpty(dicTypeEO.getDicTypeCode())){
|
||||
dicTypeEO.setDicTypeCode(UUIDUtils.randomUUID10());
|
||||
}
|
||||
}else {
|
||||
dicTypeEO.setDicTypeCode(dicTypeEO.getDicTypeName());
|
||||
}
|
||||
String id = UUIDUtils.randomUUID20();
|
||||
dicTypeEO.setId(id);
|
||||
|
||||
Reference in New Issue
Block a user