回收站恢复模型文件重新发布知识

This commit is contained in:
Mr-wang 2023-08-17 16:05:51 +08:00
parent fdf1f7376b
commit 2d26f508b5

View File

@ -601,9 +601,11 @@ public class CoeProcessRecycleWeb extends ActionWeb {
}*/
dao.restoreRecycleModel(removeId);
PALRepositoryModel palModel = PALRepositoryCache.getCache().get(removeId);
if (palModel.isPublish()){
PublishKnow("com.actionsoft.apps.coe.pal",_uc,palModel.getExt4());
PALRepositoryRemoveModel palRepositoryRemoveModel = PALRepositoryRemoveCache.getCache().get(removeId);
PALRepositoryModel model = PALRepositoryCache.getCache().get(palRepositoryRemoveModel.getId());
if (model.isPublish()){
PublishKnow("com.actionsoft.apps.coe.pal",_uc,model.getExt4());
}
// 操作行为日志记录
if (SDK.getAppAPI().getPropertyBooleanValue(CoEConstant.APP_ID, "IS_RECORD_OP_LOG", false)) {