Merge branch 'develop_3' into 'develop_master'

企业标准类别

See merge request LiuChao/foton-slrs-system-rest!343
This commit is contained in:
王夏晖
2021-12-30 19:32:04 +08:00
@@ -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());
}