Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
839fed11
Commit
839fed11
authored
Jun 20, 2022
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改现场相关bug
parent
f8358767
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
FireSourceController.java
...in/amos/fas/business/controller/FireSourceController.java
+1
-1
dbTemplate_fire_equip.xml
...rt/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
+5
-4
dbTemplate_view3d.xml
...sStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
+2
-1
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/FireSourceController.java
View file @
839fed11
...
...
@@ -215,7 +215,7 @@ public class FireSourceController extends BaseController {
@ApiParam
(
value
=
"设备编号"
,
required
=
true
)
@RequestParam
String
type
)
throws
Exception
{
try
{
return
CommonResponseUtil
.
success
(
iFireEquipService
.
queryForDetail
(
type
,
Long
.
valueOf
(
StringUtil
.
isNotEmpty
(
id
)
?
id
:
"0"
)
));
return
CommonResponseUtil
.
success
(
iFireEquipService
.
queryForDetail
(
type
,
StringUtil
.
isNotEmpty
(
id
)
?
Long
.
valueOf
(
id
)
:
null
));
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
return
CommonResponseUtil
.
failure
(
"消防装备明细查询失败"
+
e
.
getMessage
());
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
View file @
839fed11
...
...
@@ -555,10 +555,11 @@
LEFT JOIN wl_equipment equipment ON equipment.id = detail.equipment_id
LEFT JOIN wl_unit unit ON equipment.unit_id = unit.id
LEFT JOIN wl_warehouse_structure warehouse ON warehouse.id = sd.warehouse_structure_id
WHERE
<if
test=
"id != null"
>
spec.id = #{id}
</if>
<where>
<if
test=
"id != null"
>
spec.id = #{id}
</if>
</where>
</select>
<select
id=
"findVideoById"
resultType=
"com.yeejoin.amos.fas.dao.entity.FireEquipment"
>
SELECT
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
View file @
839fed11
...
...
@@ -1507,7 +1507,8 @@
left join wl_warehouse_structure as str on sto.warehouse_structure_id = str.id
left join f_equipment_fire_equipment fe on fe.fire_equipment_id = m.id
left join f_equipment f on f.id = fe.equipment_id
where substr(cat.code ,1,4) = '8501'
-- 韶山现场问题查出结果缺失数据所以修改此处添加3101
where substr(cat.code ,1,4) = '8501' OR substr( cat.CODE, 1, 4 ) = '3101'
<if
test=
"protectObjName != null and protectObjName != ''"
>
AND f.name = #{protectObjName}
</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