Authored by 张帅

fix

@@ -85,7 +85,7 @@ public class GrassArticleDataCheckServiceImpl implements IGrassArticleDataCheckS @@ -85,7 +85,7 @@ public class GrassArticleDataCheckServiceImpl implements IGrassArticleDataCheckS
85 85
86 private JSONObject checkArticle(int grassArticleTotal, int publicCount){ 86 private JSONObject checkArticle(int grassArticleTotal, int publicCount){
87 JSONObject result = new JSONObject(); 87 JSONObject result = new JSONObject();
88 - result.put("checkBlockResult", grassArticleTotal == publicCount? CHECK_SUCCESS : CHECK_FAIL); 88 + result.put("checkArticleResult", grassArticleTotal == publicCount? CHECK_SUCCESS : CHECK_FAIL);
89 result.put("grass_article_num", grassArticleTotal ); 89 result.put("grass_article_num", grassArticleTotal );
90 result.put("public_article_num", publicCount ); 90 result.put("public_article_num", publicCount );
91 return result; 91 return result;
@@ -219,8 +219,8 @@ public class GrassInteractiveDataCheckServiceImpl implements IGrassInteractiveDa @@ -219,8 +219,8 @@ public class GrassInteractiveDataCheckServiceImpl implements IGrassInteractiveDa
219 int public_count = publicUserFavoriteRepository.countByTargetIdInAndFavoriteTypeIsAndSrcChannelIs(publicArticleIds, 1 , 1); 219 int public_count = publicUserFavoriteRepository.countByTargetIdInAndFavoriteTypeIsAndSrcChannelIs(publicArticleIds, 1 , 1);
220 JSONObject result = new JSONObject(); 220 JSONObject result = new JSONObject();
221 result.put("checkFavoriteResult", grass_favorite_count == public_count? CHECK_SUCCESS : CHECK_FAIL); 221 result.put("checkFavoriteResult", grass_favorite_count == public_count? CHECK_SUCCESS : CHECK_FAIL);
222 - result.put("grass_praise_count", grass_favorite_count );  
223 - result.put("public_praise_count", public_count ); 222 + result.put("grass_favorite_count", grass_favorite_count );
  223 + result.put("public_favorite_count", public_count );
224 return result; 224 return result;
225 } 225 }
226 226
@@ -67,8 +67,8 @@ public class GrassUserDataCheckServiceImpl implements IGrassUserDataCheckService @@ -67,8 +67,8 @@ public class GrassUserDataCheckServiceImpl implements IGrassUserDataCheckService
67 int public_count = publicUserHomePageRepository.countByCreateTimeBetween(startTimeLong, endTimeLong); 67 int public_count = publicUserHomePageRepository.countByCreateTimeBetween(startTimeLong, endTimeLong);
68 JSONObject result = new JSONObject(); 68 JSONObject result = new JSONObject();
69 result.put("checkUserAchieveResult", grass_count == public_count? CHECK_SUCCESS : CHECK_FAIL); 69 result.put("checkUserAchieveResult", grass_count == public_count? CHECK_SUCCESS : CHECK_FAIL);
70 - result.put("grass_userAchieve_count", grass_count);  
71 - result.put("public_userAchieve_count", public_count ); 70 + result.put("grass_count", grass_count);
  71 + result.put("public_count", public_count );
72 return result; 72 return result;
73 } 73 }
74 74
@@ -81,8 +81,8 @@ public class GrassUserDataCheckServiceImpl implements IGrassUserDataCheckService @@ -81,8 +81,8 @@ public class GrassUserDataCheckServiceImpl implements IGrassUserDataCheckService
81 81
82 JSONObject result = new JSONObject(); 82 JSONObject result = new JSONObject();
83 result.put("checkVirtualUserResult", grass_count == public_count? CHECK_SUCCESS : CHECK_FAIL); 83 result.put("checkVirtualUserResult", grass_count == public_count? CHECK_SUCCESS : CHECK_FAIL);
84 - result.put("grass_virtual_count", grass_count);  
85 - result.put("public_virtual_count", public_count ); 84 + result.put("grass_count", grass_count);
  85 + result.put("public_count", public_count );
86 return result; 86 return result;
87 } 87 }
88 88