Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-office-web-sit
Commits
a6ac9209
Commit
a6ac9209
authored
Jun 26, 2023
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
25fb3ea0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
IndexCarouselManageServiceImpl.java
...s/manage/service/impl/IndexCarouselManageServiceImpl.java
+4
-4
ESSearchUtils.java
...in/java/io/office/modules/manage/utils/ESSearchUtils.java
+1
-1
No files found.
src/main/java/io/office/modules/manage/service/impl/IndexCarouselManageServiceImpl.java
View file @
a6ac9209
...
@@ -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
);
...
...
src/main/java/io/office/modules/manage/utils/ESSearchUtils.java
View file @
a6ac9209
...
@@ -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.1
36
:9200/ancc_search/_search"
;
private
static
final
String
ES_URL
=
"http://192.168.100.1
04
:9200/ancc_search/_search"
;
public
static
DomesticCodeResponse
getInfoByCode
(
String
keyword
)
{
public
static
DomesticCodeResponse
getInfoByCode
(
String
keyword
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment