当前参数为标准类别时需要输入的code为name值

This commit is contained in:
zhaokaiyao@91isoft.com
2021-10-20 14:33:21 +08:00
parent d09cdb1d42
commit ad91f84dfb
@@ -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);