Showing
3 changed files
with
3 additions
and
3 deletions
@@ -1269,7 +1269,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService{ | @@ -1269,7 +1269,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService{ | ||
1269 | rspBo.setSort(article.getSort() == null ? 1 : article.getSort()); | 1269 | rspBo.setSort(article.getSort() == null ? 1 : article.getSort()); |
1270 | rspBo.setCopyright(article.getCopyright()); | 1270 | rspBo.setCopyright(article.getCopyright()); |
1271 | rspBo.setActionUrl(linkMap.get(article.getId()) == null ? "" : linkMap.get(article.getId())); | 1271 | rspBo.setActionUrl(linkMap.get(article.getId()) == null ? "" : linkMap.get(article.getId())); |
1272 | - rspBo.setHasPublished(article.getCreateTime() >= System.currentTimeMillis() ? "Y":"N"); | 1272 | + rspBo.setHasPublished(article.getCreateTime() >= System.currentTimeMillis() ? "N":"Y"); |
1273 | rspBoList.add(rspBo); | 1273 | rspBoList.add(rspBo); |
1274 | }); | 1274 | }); |
1275 | return rspBoList; | 1275 | return rspBoList; |
@@ -179,7 +179,7 @@ | @@ -179,7 +179,7 @@ | ||
179 | $("#cancelBtn").attr("style", "display:none"); | 179 | $("#cancelBtn").attr("style", "display:none"); |
180 | } else if (authStatus == '1' ) { | 180 | } else if (authStatus == '1' ) { |
181 | authStatusStr = "已通过"; | 181 | authStatusStr = "已通过"; |
182 | - if(detailInfo.hasPublished == 'Y'){ | 182 | + if(detailInfo.hasPublished == 'N'){ |
183 | // $("#cancelBtn").attr("style", "display:block"); | 183 | // $("#cancelBtn").attr("style", "display:block"); |
184 | $("#publishBtn").attr("style", "display:none"); | 184 | $("#publishBtn").attr("style", "display:none"); |
185 | $("#timerBtn").attr("style", "display:none"); | 185 | $("#timerBtn").attr("style", "display:none"); |
@@ -160,7 +160,7 @@ | @@ -160,7 +160,7 @@ | ||
160 | $("#cancelBtn").attr("style", "display:none"); | 160 | $("#cancelBtn").attr("style", "display:none"); |
161 | } else if (authStatus == '1' ) { | 161 | } else if (authStatus == '1' ) { |
162 | authStatusStr = "已通过"; | 162 | authStatusStr = "已通过"; |
163 | - if(detailInfo.hasPublished == 'Y'){ | 163 | + if(detailInfo.hasPublished == 'N'){ |
164 | // $("#cancelBtn").attr("style", "display:block"); | 164 | // $("#cancelBtn").attr("style", "display:block"); |
165 | $("#publishBtn").attr("style", "display:none"); | 165 | $("#publishBtn").attr("style", "display:none"); |
166 | $("#timerBtn").attr("style", "display:none"); | 166 | $("#timerBtn").attr("style", "display:none"); |
-
Please register or login to post a comment