Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-plan
Project
Project
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
INET-TWO
server
dcs-plan
Commits
982da293
Commit
982da293
authored
Sep 23, 2024
by
wei
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改方法名称
parent
92a601fc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ChangeSupplierStatus.java
...m/yonde/dcs/plan/core/scheduled/ChangeSupplierStatus.java
+1
-1
ExtSupplierManageService.java
...yonde/dcs/plan/core/service/ExtSupplierManageService.java
+1
-1
ExtSupplierManageServiceImpl.java
.../plan/core/service/impl/ExtSupplierManageServiceImpl.java
+1
-1
No files found.
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/scheduled/ChangeSupplierStatus.java
View file @
982da293
...
@@ -24,7 +24,7 @@ public class ChangeSupplierStatus {
...
@@ -24,7 +24,7 @@ public class ChangeSupplierStatus {
public
void
changeStatus
()
{
public
void
changeStatus
()
{
log
.
info
(
"定时执行更新供应商过期状态开始==========="
);
log
.
info
(
"定时执行更新供应商过期状态开始==========="
);
long
begin
=
System
.
currentTimeMillis
();
long
begin
=
System
.
currentTimeMillis
();
extSupplierManageService
.
changeStatus
();
extSupplierManageService
.
changeS
upplierS
tatus
();
long
end
=
System
.
currentTimeMillis
();
long
end
=
System
.
currentTimeMillis
();
log
.
info
(
"定时执行更新供应商过期状态结束,共耗时:["
+
(
end
-
begin
)
/
1000
+
"]秒"
);
log
.
info
(
"定时执行更新供应商过期状态结束,共耗时:["
+
(
end
-
begin
)
/
1000
+
"]秒"
);
}
}
...
...
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/ExtSupplierManageService.java
View file @
982da293
...
@@ -24,5 +24,5 @@ public interface ExtSupplierManageService<V extends ExtSupplierManageVO> extends
...
@@ -24,5 +24,5 @@ public interface ExtSupplierManageService<V extends ExtSupplierManageVO> extends
void
generateSupplierNumber
(
ExtSupplierManageVO
extSupplierManageVO
);
void
generateSupplierNumber
(
ExtSupplierManageVO
extSupplierManageVO
);
void
changeStatus
();
void
changeS
upplierS
tatus
();
}
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtSupplierManageServiceImpl.java
View file @
982da293
...
@@ -118,7 +118,7 @@ public class ExtSupplierManageServiceImpl<V extends ExtSupplierManageVO> impleme
...
@@ -118,7 +118,7 @@ public class ExtSupplierManageServiceImpl<V extends ExtSupplierManageVO> impleme
}
}
@Override
@Override
public
void
changeStatus
()
{
public
void
changeS
upplierS
tatus
()
{
LocalDateTime
localDateTime
=
LocalDate
.
now
().
atStartOfDay
();
LocalDateTime
localDateTime
=
LocalDate
.
now
().
atStartOfDay
();
SearchQueryCondition
condition
=
SearchQueryCondition
.
builder
()
SearchQueryCondition
condition
=
SearchQueryCondition
.
builder
()
.
searchItems
(
SearchItems
.
builder
()
.
searchItems
(
SearchItems
.
builder
()
...
...
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