Administrator 4 年 前
コミット
0a572129ec
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      src/main/java/com/goafanti/admin/service/impl/PublicReleaseServiceImpl.java

+ 1 - 1
src/main/java/com/goafanti/admin/service/impl/PublicReleaseServiceImpl.java

@@ -164,7 +164,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
 			e.printStackTrace();
 			throw new BusinessException("转换异常");
 		}
-		in.setStatus(1);
+		if(in.getStatus()!=3)in.setStatus(1);
 		publicReleaseMapper.updateByPrimaryKeySelective(in);
 		return 1;
 	}