Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
9da6aa74
Commit
9da6aa74
authored
Mar 19, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加参数
parent
9d826be5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
VehicleJobHandler.java
...m/xxfc/platform/vehicle/jobhandler/VehicleJobHandler.java
+4
-0
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/jobhandler/VehicleJobHandler.java
View file @
9da6aa74
package
com
.
xxfc
.
platform
.
vehicle
.
jobhandler
;
package
com
.
xxfc
.
platform
.
vehicle
.
jobhandler
;
import
cn.hutool.core.util.StrUtil
;
import
com.xxfc.platform.universal.entity.Dictionary
;
import
com.xxfc.platform.universal.entity.Dictionary
;
import
com.xxfc.platform.universal.feign.ThirdFeign
;
import
com.xxfc.platform.universal.feign.ThirdFeign
;
import
com.xxfc.platform.vehicle.biz.VehicleBiz
;
import
com.xxfc.platform.vehicle.biz.VehicleBiz
;
...
@@ -46,6 +47,9 @@ public class VehicleJobHandler extends IJobHandler {
...
@@ -46,6 +47,9 @@ public class VehicleJobHandler extends IJobHandler {
List
<
String
>
existVehicleIds
=
vehicleBiz
.
findExistVehicleIds
();
List
<
String
>
existVehicleIds
=
vehicleBiz
.
findExistVehicleIds
();
Dictionary
dictionary
=
thirdFeign
.
findDictionaryByTypeAndCode
(
DIC_VEHICLE_TYPE
,
DIC_VEHICLE_CODE
);
Dictionary
dictionary
=
thirdFeign
.
findDictionaryByTypeAndCode
(
DIC_VEHICLE_TYPE
,
DIC_VEHICLE_CODE
);
LocalDate
date
=
LocalDate
.
now
();
LocalDate
date
=
LocalDate
.
now
();
if
(
StrUtil
.
isNotBlank
(
s
))
{
date
=
LocalDate
.
parse
(
s
);
}
date
=
date
.
plusMonths
(
Integer
.
valueOf
(
dictionary
.
getDetail
()));
date
=
date
.
plusMonths
(
Integer
.
valueOf
(
dictionary
.
getDetail
()));
int
year
=
date
.
getYear
();
int
year
=
date
.
getYear
();
int
month
=
date
.
getMonthValue
();
int
month
=
date
.
getMonthValue
();
...
...
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