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
e761f0b7
Commit
e761f0b7
authored
Feb 19, 2020
by
taabe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmea增加辨识人、辨识方法字段
parent
25bfa1b3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
1 deletion
+52
-1
Fmea.java
...n/src/main/java/com/yeejoin/amos/fas/dao/entity/Fmea.java
+23
-0
fas-1.0.2.xml
...utoSysStart/src/main/resources/db/changelog/fas-1.0.2.xml
+25
-0
dbTemplate_fmea.xml
...SysStart/src/main/resources/db/mapper/dbTemplate_fmea.xml
+4
-1
No files found.
YeeAmosFireAutoSysCommon/src/main/java/com/yeejoin/amos/fas/dao/entity/Fmea.java
View file @
e761f0b7
...
...
@@ -87,6 +87,12 @@ public class Fmea extends BasicEntity {
@Column
(
name
=
"person_leader"
)
private
Integer
personLeader
;
@Column
(
name
=
"identify_user"
)
private
Integer
identifyUser
;
@Column
(
name
=
"identify_method"
)
private
String
identifyMethod
;
public
Fmea
()
{
}
...
...
@@ -288,4 +294,20 @@ public class Fmea extends BasicEntity {
public
void
setPersonLeader
(
Integer
personLeader
)
{
this
.
personLeader
=
personLeader
;
}
public
Integer
getIdentifyUser
()
{
return
identifyUser
;
}
public
void
setIdentifyUser
(
Integer
identifyUser
)
{
this
.
identifyUser
=
identifyUser
;
}
public
String
getIdentifyMethod
()
{
return
identifyMethod
;
}
public
void
setIdentifyMethod
(
String
identifyMethod
)
{
this
.
identifyMethod
=
identifyMethod
;
}
}
\ No newline at end of file
YeeAmosFireAutoSysStart/src/main/resources/db/changelog/fas-1.0.2.xml
View file @
e761f0b7
...
...
@@ -102,4 +102,28 @@
</sql>
</changeSet>
<changeSet
author=
"tianbo"
id=
"1582104676000-1"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"f_fmea"
columnName=
"identify_user"
/>
</not>
</preConditions>
<comment>
f_fmea add column identify_user
</comment>
<sql>
ALTER TABLE `f_fmea` ADD COLUMN `identify_user` int(11) DEFAULT NULL COMMENT '辨识人';
</sql>
</changeSet>
<changeSet
author=
"tianbo"
id=
"1582104676000-2"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"f_fmea"
columnName=
"identify_method"
/>
</not>
</preConditions>
<comment>
f_fmea add column identify_method
</comment>
<sql>
ALTER TABLE `f_fmea` ADD COLUMN `identify_method` varchar(255) DEFAULT NULL COMMENT '辨识方法';
</sql>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_fmea.xml
View file @
e761f0b7
...
...
@@ -50,7 +50,10 @@
rf.`name` AS riskFactorName,
fat.`name` AS accidentTypeName,
fat.id AS accidentTypeId,
concat(fems.influence,'-',fems.describe) as influence
concat(fems.influence,'-',fems.describe) as influence,
fm.identify_user as identifyUser,
(select name from s_user where id = fm.identify_user) as identifyUserName,
fm.identify_method as identifyMethod
FROM
(
SELECT
...
...
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