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
807e6d5c
Commit
807e6d5c
authored
Nov 04, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug tongbu
parent
ba85255a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
WarehouseStructureServiceImpl.java
...uipmanage/service/impl/WarehouseStructureServiceImpl.java
+4
-1
dbTemplate_plan_task.xml
...rol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
+6
-6
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/WarehouseStructureServiceImpl.java
View file @
807e6d5c
...
@@ -76,7 +76,10 @@ public class WarehouseStructureServiceImpl extends ServiceImpl<WarehouseStructur
...
@@ -76,7 +76,10 @@ public class WarehouseStructureServiceImpl extends ServiceImpl<WarehouseStructur
public
List
<
WarehouseStructure
>
gettree
(
Long
warehouseId
,
String
bizOrgCode
,
String
buildingId
)
{
public
List
<
WarehouseStructure
>
gettree
(
Long
warehouseId
,
String
bizOrgCode
,
String
buildingId
)
{
List
<
WarehouseStructure
>
list
=
new
ArrayList
<>();
List
<
WarehouseStructure
>
list
=
new
ArrayList
<>();
if
(!
StringUtils
.
isEmpty
(
buildingId
)){
//buildId如果不为空,则为巡检点业务所调用入口
if
(!
StringUtils
.
isEmpty
(
buildingId
)){
//buildId如果不为空,则为巡检点业务所调用入口
Map
<
String
,
String
>
map
=
formInstanceMapper
.
getChildListdate
(
Long
.
parseLong
(
buildingId
));
Map
<
String
,
String
>
map
=
new
HashMap
<>();
List
<
String
>
list1
=
formInstanceMapper
.
selectChildListdate
(
Long
.
parseLong
(
buildingId
));
String
join
=
String
.
join
(
","
,
list1
);
map
.
put
(
"ids"
,
join
);
List
<
String
>
strings
=
new
ArrayList
<>();
List
<
String
>
strings
=
new
ArrayList
<>();
if
(
map
.
get
(
"ids"
)!=
null
&&
!
map
.
get
(
"ids"
).
equals
(
""
)){
if
(
map
.
get
(
"ids"
)!=
null
&&
!
map
.
get
(
"ids"
).
equals
(
""
)){
String
ids
=
map
.
get
(
"ids"
);
String
ids
=
map
.
get
(
"ids"
);
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
View file @
807e6d5c
...
@@ -22,15 +22,15 @@
...
@@ -22,15 +22,15 @@
<!-- OR-->
<!-- OR-->
<!-- (<if test="beginDate!=null and endDate!=null">a.begin_Time <![CDATA[<=]]> #{beginDate} AND a.end_Time <![CDATA[>=]]> #{endDate}</if>)-->
<!-- (<if test="beginDate!=null and endDate!=null">a.begin_Time <![CDATA[<=]]> #{beginDate} AND a.end_Time <![CDATA[>=]]> #{endDate}</if>)-->
<!-- )-->
<!-- )-->
<if
test=
"beginDate!=null and endDate!=null"
>
<if
test=
"beginDate!=null and endDate!=null
and endDate != '' and endDate == null
"
>
and a.begin_Time
<![CDATA[>=]]>
#{beginDate} AND a.end_Time
<![CDATA[<=]]>
#{endDate}
and a.begin_Time
<![CDATA[>=]]>
#{beginDate} AND a.end_Time
<![CDATA[<=]]>
#{endDate}
</if>
</if>
<if
test=
"beginDate==null and endDate != null"
>
<if
test=
"beginDate==null and endDate != null
and endDate != ''
"
>
AND a.end_Time
<![CDATA[<=]]>
#{endDate}
AND a.end_Time
<![CDATA[<=]]>
#{endDate}
</if>
</if>
<if
test=
"beginDate!=null and endDate == null"
>
<if
test=
"beginDate!=null and
beginDate != '' and
endDate == null"
>
and a.begin_Time
<![CDATA[>=]]>
#{beginDate}
and a.begin_Time
<![CDATA[>=]]>
#{beginDate}
</if>
</if>
...
@@ -104,15 +104,15 @@
...
@@ -104,15 +104,15 @@
<!-- (<if test="beginDate!=null and endDate!=null">a.begin_Time <![CDATA[<=]]> #{beginDate} AND a.end_Time <![CDATA[>=]]> #{endDate}</if>)-->
<!-- (<if test="beginDate!=null and endDate!=null">a.begin_Time <![CDATA[<=]]> #{beginDate} AND a.end_Time <![CDATA[>=]]> #{endDate}</if>)-->
<!-- )-->
<!-- )-->
<if
test=
"beginDate!=null and endDate!=null"
>
<if
test=
"beginDate!=null and endDate!=null
and endDate != '' and endDate == null
"
>
and a.begin_Time
<![CDATA[>=]]>
#{beginDate} AND a.end_Time
<![CDATA[<=]]>
#{endDate}
and a.begin_Time
<![CDATA[>=]]>
#{beginDate} AND a.end_Time
<![CDATA[<=]]>
#{endDate}
</if>
</if>
<if
test=
"beginDate==null and endDate != null"
>
<if
test=
"beginDate==null and endDate != null
and endDate != ''
"
>
AND a.end_Time
<![CDATA[<=]]>
#{endDate}
AND a.end_Time
<![CDATA[<=]]>
#{endDate}
</if>
</if>
<if
test=
"beginDate!=null and endDate == null"
>
<if
test=
"beginDate!=null and
beginDate != '' and
endDate == null"
>
and a.begin_Time
<![CDATA[>=]]>
#{beginDate}
and a.begin_Time
<![CDATA[>=]]>
#{beginDate}
</if>
</if>
...
...
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