zoujiajian 2 vuotta sitten
vanhempi
sitoutus
50edb94da7

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/translations/impl/BackInfoTranslationsServiceImpl.java

@@ -38,7 +38,7 @@ public class BackInfoTranslationsServiceImpl extends ServiceImpl<BackInfoTransla
 
 	@Override
 	public void saveOrUpdateBackInfoTranslations(BackInfoTranslations.Type type, Long funcId, Object obj, String lang) {
-		if (StrUtil.isEmpty(lang)) {
+		if (StrUtil.isEmpty(lang) || funcId == null) {
 			return;
 		}
 		TranslationsDto translationsDto = new TranslationsDto();