Commit a6ac9209 by 吴迪

bug修改

parent 25fb3ea0
......@@ -44,7 +44,7 @@ public class IndexCarouselManageServiceImpl extends ServiceImpl<IndexCarouselMan
indexCarouselManage.setLasteditorIndex(user.getUsername());
indexCarouselManage.setStarttimeIndex(new Date());
indexCarouselManage.setUpdatetimeIndex(new Date());
indexCarouselManage.setCheckIndexAuthor(user.getUsername());
//indexCarouselManage.setCheckIndexAuthor(user.getUsername());
indexCarouselManage.setBriefShow(indexCarouselManage.getBrief());
indexCarouselManage.setLevelsIndex(indexCarouselManage.getLevels()-1);
indexCarouselManage.setCheckflagIndex(0);
......@@ -63,7 +63,7 @@ public class IndexCarouselManageServiceImpl extends ServiceImpl<IndexCarouselMan
}
QueryWrapper<IndexCarouselManageEntity> newsEntityQueryWrapper = new QueryWrapper<>();
newsEntityQueryWrapper.eq("id",indexCarouselManage.getId());
indexCarouselManage.setEditorIndex(user.getUsername());
// indexCarouselManage.setEditorIndex(user.getUsername());
indexCarouselManage.setLasteditorIndex(user.getUsername());
indexCarouselManage.setUpdatetimeIndex(new Date());
indexCarouselManage.setBriefShow(indexCarouselManage.getBrief());
......@@ -95,8 +95,8 @@ public class IndexCarouselManageServiceImpl extends ServiceImpl<IndexCarouselMan
@Override
public R verifyIndexCarouselManage(IndexCarouselManageEntity indexCarouselManage, SysUserEntity user) {
indexCarouselManage.setCheckIndexAuthor(user.getUsername());
indexCarouselManage.setLasteditorIndex(user.getUsername());
indexCarouselManage.setUpdatetimeIndex(new Date());
//indexCarouselManage.setLasteditorIndex(user.getUsername());
//indexCarouselManage.setUpdatetimeIndex(new Date());
QueryWrapper<IndexCarouselManageEntity> newsEntityQueryWrapper = new QueryWrapper<>();
newsEntityQueryWrapper.eq("id",indexCarouselManage.getId());
int verify = baseMapper.update(indexCarouselManage, newsEntityQueryWrapper);
......
......@@ -16,7 +16,7 @@ import org.springframework.web.client.RestTemplate;
*/
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) {
......
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