Authored by 张帅

fix

... ... @@ -85,7 +85,7 @@ public class GrassArticleDataCheckServiceImpl implements IGrassArticleDataCheckS
private JSONObject checkArticle(int grassArticleTotal, int publicCount){
JSONObject result = new JSONObject();
result.put("checkBlockResult", grassArticleTotal == publicCount? CHECK_SUCCESS : CHECK_FAIL);
result.put("checkArticleResult", grassArticleTotal == publicCount? CHECK_SUCCESS : CHECK_FAIL);
result.put("grass_article_num", grassArticleTotal );
result.put("public_article_num", publicCount );
return result;
... ...
... ... @@ -219,8 +219,8 @@ public class GrassInteractiveDataCheckServiceImpl implements IGrassInteractiveDa
int public_count = publicUserFavoriteRepository.countByTargetIdInAndFavoriteTypeIsAndSrcChannelIs(publicArticleIds, 1 , 1);
JSONObject result = new JSONObject();
result.put("checkFavoriteResult", grass_favorite_count == public_count? CHECK_SUCCESS : CHECK_FAIL);
result.put("grass_praise_count", grass_favorite_count );
result.put("public_praise_count", public_count );
result.put("grass_favorite_count", grass_favorite_count );
result.put("public_favorite_count", public_count );
return result;
}
... ...
... ... @@ -67,8 +67,8 @@ public class GrassUserDataCheckServiceImpl implements IGrassUserDataCheckService
int public_count = publicUserHomePageRepository.countByCreateTimeBetween(startTimeLong, endTimeLong);
JSONObject result = new JSONObject();
result.put("checkUserAchieveResult", grass_count == public_count? CHECK_SUCCESS : CHECK_FAIL);
result.put("grass_userAchieve_count", grass_count);
result.put("public_userAchieve_count", public_count );
result.put("grass_count", grass_count);
result.put("public_count", public_count );
return result;
}
... ... @@ -81,8 +81,8 @@ public class GrassUserDataCheckServiceImpl implements IGrassUserDataCheckService
JSONObject result = new JSONObject();
result.put("checkVirtualUserResult", grass_count == public_count? CHECK_SUCCESS : CHECK_FAIL);
result.put("grass_virtual_count", grass_count);
result.put("public_virtual_count", public_count );
result.put("grass_count", grass_count);
result.put("public_count", public_count );
return result;
}
... ...