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
417ccdbc
Commit
417ccdbc
authored
Aug 14, 2024
by
张森
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加设备ID字段,相应API修改
parent
515562b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
PlanReport.java
...main/java/com/yeejoin/amos/fas/dao/entity/PlanReport.java
+3
-0
PlanReportMapper.xml
...ysStart/src/main/resources/db/mapper/PlanReportMapper.xml
+8
-10
No files found.
YeeAmosFireAutoSysCommon/src/main/java/com/yeejoin/amos/fas/dao/entity/PlanReport.java
View file @
417ccdbc
...
...
@@ -57,6 +57,9 @@ public class PlanReport extends BaseEntity {
@TableField
(
"drill_equip"
)
private
String
drillEquip
;
@TableField
(
"drill_equip_id"
)
private
String
drillEquipId
;
@TableField
(
exist
=
false
)
private
Integer
pageNumber
;
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/PlanReportMapper.xml
View file @
417ccdbc
...
...
@@ -20,11 +20,12 @@
`biz_org_name`,
`biz_org_code`,
`drill_type`,
`drill_equip`
`drill_equip`,
`drill_equip_id`
)
VALUES
(
#{id},#{batchNo},#{reportUrl},#{title},#{createDate},#{drillDate},#{address},#{compere},#{attendPerson},#{drillTopic},#{handleProcess},#{drillSummary},#{examineResult},#{bizOrgName}, #{bizOrgCode}, #{drillType},#{drillEquip}
#{id},#{batchNo},#{reportUrl},#{title},#{createDate},#{drillDate},#{address},#{compere},#{attendPerson},#{drillTopic},#{handleProcess},#{drillSummary},#{examineResult},#{bizOrgName}, #{bizOrgCode}, #{drillType},#{drillEquip}
, #{drillEquipId}
)
</insert>
...
...
@@ -37,10 +38,9 @@
count( 1 )
FROM
c_plan_report a
LEFT JOIN f_equipment b on b.id = a.drill_equip
<where>
<if
test=
"drillEquip
!= null and drillEquip
!= ''"
>
a.drill_equip
= #{drillEquip
}
<if
test=
"drillEquip
Id != null and drillEquipId
!= ''"
>
a.drill_equip
_id = #{drillEquipId
}
</if>
<if
test=
"drillType != null and drillType != ''"
>
AND a.drill_type = #{drillType}
...
...
@@ -59,14 +59,12 @@
<select
id=
"getByPage"
resultType=
"com.yeejoin.amos.fas.dao.entity.PlanReport"
>
SELECT
a.*,
b.name as equipName
a.*
FROM
c_plan_report a
left join f_equipment b on b.id = a.drill_equip
<where>
<if
test=
"drillEquip
!= null and drillEquip
!= ''"
>
a.drill_equip
= #{drillEquip
}
<if
test=
"drillEquip
Id != null and drillEquipId
!= ''"
>
a.drill_equip
_id = #{drillEquipId
}
</if>
<if
test=
"drillType != null and drillType != ''"
>
AND a.drill_type = #{drillType}
...
...
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