Commit a6ac9209 by 吴迪

bug修改

parent 25fb3ea0
...@@ -44,7 +44,7 @@ public class IndexCarouselManageServiceImpl extends ServiceImpl<IndexCarouselMan ...@@ -44,7 +44,7 @@ public class IndexCarouselManageServiceImpl extends ServiceImpl<IndexCarouselMan
indexCarouselManage.setLasteditorIndex(user.getUsername()); indexCarouselManage.setLasteditorIndex(user.getUsername());
indexCarouselManage.setStarttimeIndex(new Date()); indexCarouselManage.setStarttimeIndex(new Date());
indexCarouselManage.setUpdatetimeIndex(new Date()); indexCarouselManage.setUpdatetimeIndex(new Date());
indexCarouselManage.setCheckIndexAuthor(user.getUsername()); //indexCarouselManage.setCheckIndexAuthor(user.getUsername());
indexCarouselManage.setBriefShow(indexCarouselManage.getBrief()); indexCarouselManage.setBriefShow(indexCarouselManage.getBrief());
indexCarouselManage.setLevelsIndex(indexCarouselManage.getLevels()-1); indexCarouselManage.setLevelsIndex(indexCarouselManage.getLevels()-1);
indexCarouselManage.setCheckflagIndex(0); indexCarouselManage.setCheckflagIndex(0);
...@@ -63,7 +63,7 @@ public class IndexCarouselManageServiceImpl extends ServiceImpl<IndexCarouselMan ...@@ -63,7 +63,7 @@ public class IndexCarouselManageServiceImpl extends ServiceImpl<IndexCarouselMan
} }
QueryWrapper<IndexCarouselManageEntity> newsEntityQueryWrapper = new QueryWrapper<>(); QueryWrapper<IndexCarouselManageEntity> newsEntityQueryWrapper = new QueryWrapper<>();
newsEntityQueryWrapper.eq("id",indexCarouselManage.getId()); newsEntityQueryWrapper.eq("id",indexCarouselManage.getId());
indexCarouselManage.setEditorIndex(user.getUsername()); // indexCarouselManage.setEditorIndex(user.getUsername());
indexCarouselManage.setLasteditorIndex(user.getUsername()); indexCarouselManage.setLasteditorIndex(user.getUsername());
indexCarouselManage.setUpdatetimeIndex(new Date()); indexCarouselManage.setUpdatetimeIndex(new Date());
indexCarouselManage.setBriefShow(indexCarouselManage.getBrief()); indexCarouselManage.setBriefShow(indexCarouselManage.getBrief());
...@@ -95,8 +95,8 @@ public class IndexCarouselManageServiceImpl extends ServiceImpl<IndexCarouselMan ...@@ -95,8 +95,8 @@ public class IndexCarouselManageServiceImpl extends ServiceImpl<IndexCarouselMan
@Override @Override
public R verifyIndexCarouselManage(IndexCarouselManageEntity indexCarouselManage, SysUserEntity user) { public R verifyIndexCarouselManage(IndexCarouselManageEntity indexCarouselManage, SysUserEntity user) {
indexCarouselManage.setCheckIndexAuthor(user.getUsername()); indexCarouselManage.setCheckIndexAuthor(user.getUsername());
indexCarouselManage.setLasteditorIndex(user.getUsername()); //indexCarouselManage.setLasteditorIndex(user.getUsername());
indexCarouselManage.setUpdatetimeIndex(new Date()); //indexCarouselManage.setUpdatetimeIndex(new Date());
QueryWrapper<IndexCarouselManageEntity> newsEntityQueryWrapper = new QueryWrapper<>(); QueryWrapper<IndexCarouselManageEntity> newsEntityQueryWrapper = new QueryWrapper<>();
newsEntityQueryWrapper.eq("id",indexCarouselManage.getId()); newsEntityQueryWrapper.eq("id",indexCarouselManage.getId());
int verify = baseMapper.update(indexCarouselManage, newsEntityQueryWrapper); int verify = baseMapper.update(indexCarouselManage, newsEntityQueryWrapper);
......
...@@ -16,7 +16,7 @@ import org.springframework.web.client.RestTemplate; ...@@ -16,7 +16,7 @@ import org.springframework.web.client.RestTemplate;
*/ */
public class ESSearchUtils { public class ESSearchUtils {
private static final String ES_URL = "http://192.168.100.136:9200/ancc_search/_search"; private static final String ES_URL = "http://192.168.100.104:9200/ancc_search/_search";
public static DomesticCodeResponse getInfoByCode(String keyword) { public static DomesticCodeResponse getInfoByCode(String keyword) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment