企业标准类别

This commit is contained in:
zhaokaiyao@91isoft.com
2021-12-30 18:29:30 +08:00
parent 8f95ccce5b
commit 36dbbec524
@@ -97,7 +97,7 @@ public class DicTypeEOServiceImpl extends ServiceImpl<DicTypeEODao,DicTypeEO> im
@Override
public Integer saveDictype(DicTypeEO dicTypeEO){
// 此处存在问题, 当当前参数为标准类别时需要输入的code为name值
if(StringUtils.isNotEmpty(dicTypeEO.getDicId()) && !"JKSADFH564S".equals(dicTypeEO.getDicId())){
if(StringUtils.isNotEmpty(dicTypeEO.getDicId()) && !"JKSADFH564S".equals(dicTypeEO.getDicId()) && !"NGETEMDJDI".equals(dicTypeEO.getDicId()) ){
if(!StringUtils.isNotEmpty(dicTypeEO.getDicTypeCode())){
dicTypeEO.setDicTypeCode(UUIDUtils.randomUUID10());
}