Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
07a15686
Commit
07a15686
authored
Feb 02, 2024
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
浙江设备平台接口开发
parent
7b6dec2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
EquipmentSpecificSerivceImpl.java
...quipmanage/service/impl/EquipmentSpecificSerivceImpl.java
+1
-1
dbTemplate_plan_task.xml
...rol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificSerivceImpl.java
View file @
07a15686
...
...
@@ -1955,7 +1955,7 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
try
{
if
(
e
.
get
(
"weExpiry"
)
!=
null
)
{
int
year
=
Integer
.
parseInt
(
e
.
get
(
"weExpiry"
).
toString
());
Date
productDate
=
DateUtils
.
dateParse
(
e
.
get
(
"product"
).
toString
().
substring
(
0
,
9
),
DateUtils
.
DATE_PATTERN
);
Date
productDate
=
DateUtils
.
dateParse
(
e
.
get
(
"product"
).
toString
().
substring
(
0
,
10
),
DateUtils
.
DATE_PATTERN
);
Calendar
calendar
=
Calendar
.
getInstance
();
calendar
.
setTime
(
productDate
);
calendar
.
add
(
Calendar
.
YEAR
,
year
);
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
View file @
07a15686
...
...
@@ -82,7 +82,7 @@
<if
test=
"beginDate != null and endDate != null and beginDate != '' and endDate != '' "
>
AND a.begin_time
<![CDATA[>=]]>
#{beginDate} AND a.end_time
<![CDATA[<=]]>
#{endDate}
</if>
<if
test=
"
(beginDate == null or beginDate == '') and endDate != null and endDate != ''
"
>
<if
test=
"
endDate != null and endDate != '' and (beginDate == null or beginDate == '')
"
>
AND a.end_time
<![CDATA[<=]]>
#{endDate}
</if>
<if
test=
"beginDate != null and beginDate != '' and (endDate == null or endDate == '')"
>
...
...
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