Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RuoYi-Vue-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
RuoYi-Vue-master
Commits
f4729585
Commit
f4729585
authored
Jul 07, 2023
by
陈晓晋
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xjchen' into 'develop'
固定风险增加发生可能性和后果严重性成程度20230707 See merge request
!5
parents
729328d2
3e1ad0e2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
1 deletion
+37
-1
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/domain/RiskPlanInherentList.java
.../censoft/censoftrongtong/domain/RiskPlanInherentList.java
+26
-0
censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml
...in/resources/mapper/system/RiskPlanInherentListMapper.xml
+11
-1
No files found.
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/domain/RiskPlanInherentList.java
View file @
f4729585
...
@@ -59,6 +59,14 @@ public class RiskPlanInherentList extends BaseEntity
...
@@ -59,6 +59,14 @@ public class RiskPlanInherentList extends BaseEntity
@Excel
(
name
=
"风险等级"
)
@Excel
(
name
=
"风险等级"
)
private
String
level
;
private
String
level
;
/** 风险可能性 */
@Excel
(
name
=
"风险可能性"
)
private
String
riskLikelihood
;
/** 后果严重性 */
@Excel
(
name
=
"后果严重性"
)
private
String
riskSeverity
;
/** 存在部位 */
/** 存在部位 */
@Excel
(
name
=
"存在部位"
)
@Excel
(
name
=
"存在部位"
)
private
String
presenceLocation
;
private
String
presenceLocation
;
...
@@ -301,6 +309,22 @@ public class RiskPlanInherentList extends BaseEntity
...
@@ -301,6 +309,22 @@ public class RiskPlanInherentList extends BaseEntity
return
delFlag
;
return
delFlag
;
}
}
public
String
getRiskLikelihood
()
{
return
riskLikelihood
;
}
public
void
setRiskLikelihood
(
String
riskLikelihood
)
{
this
.
riskLikelihood
=
riskLikelihood
;
}
public
String
getRiskSeverity
()
{
return
riskSeverity
;
}
public
void
setRiskSeverity
(
String
riskSeverity
)
{
this
.
riskSeverity
=
riskSeverity
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
@@ -315,6 +339,8 @@ public class RiskPlanInherentList extends BaseEntity
...
@@ -315,6 +339,8 @@ public class RiskPlanInherentList extends BaseEntity
.
append
(
"evaluationModel"
,
getEvaluationModel
())
.
append
(
"evaluationModel"
,
getEvaluationModel
())
.
append
(
"evaluationRange"
,
getEvaluationRange
())
.
append
(
"evaluationRange"
,
getEvaluationRange
())
.
append
(
"level"
,
getLevel
())
.
append
(
"level"
,
getLevel
())
.
append
(
"riskLikelihood"
,
getRiskLikelihood
())
.
append
(
"riskSeverity"
,
getRiskSeverity
())
.
append
(
"presenceLocation"
,
getPresenceLocation
())
.
append
(
"presenceLocation"
,
getPresenceLocation
())
.
append
(
"pictureFileIds"
,
getPictureFileIds
())
.
append
(
"pictureFileIds"
,
getPictureFileIds
())
.
append
(
"factor"
,
getFactor
())
.
append
(
"factor"
,
getFactor
())
...
...
censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml
View file @
f4729585
...
@@ -16,6 +16,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -16,6 +16,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"evaluationModel"
column=
"evaluation_model"
/>
<result
property=
"evaluationModel"
column=
"evaluation_model"
/>
<result
property=
"evaluationRange"
column=
"evaluation_range"
/>
<result
property=
"evaluationRange"
column=
"evaluation_range"
/>
<result
property=
"level"
column=
"level"
/>
<result
property=
"level"
column=
"level"
/>
<result
property=
"riskLikelihood"
column=
"risk_likelihood"
/>
<result
property=
"riskSeverity"
column=
"risk_severity"
/>
<result
property=
"presenceLocation"
column=
"presence_location"
/>
<result
property=
"presenceLocation"
column=
"presence_location"
/>
<result
property=
"pictureFileIds"
column=
"picture_file_ids"
/>
<result
property=
"pictureFileIds"
column=
"picture_file_ids"
/>
<result
property=
"factor"
column=
"factor"
/>
<result
property=
"factor"
column=
"factor"
/>
...
@@ -34,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -34,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
</resultMap>
<sql
id=
"selectRiskPlanInherentListVo"
>
<sql
id=
"selectRiskPlanInherentListVo"
>
select id, user_id, room_id, plan_id, code, name, type, describe, evaluation_model, evaluation_range, level, presence_location, picture_file_ids, factor, measures_project, measures_project_file_ids, measures_administration, measures_administration_file_ids, measures_emergency, measures_emergency_file_ids, reference_basis, del_flag, create_by, create_time, update_by, update_time from risk_plan_inherent_list
select id, user_id, room_id, plan_id, code, name, type, describe, evaluation_model, evaluation_range, level,
risk_likelihood,risk_severity,
presence_location, picture_file_ids, factor, measures_project, measures_project_file_ids, measures_administration, measures_administration_file_ids, measures_emergency, measures_emergency_file_ids, reference_basis, del_flag, create_by, create_time, update_by, update_time from risk_plan_inherent_list
</sql>
</sql>
<select
id=
"selectRiskPlanInherentListList"
parameterType=
"com.censoft.censoftrongtong.domain.RiskPlanInherentList"
resultMap=
"RiskPlanInherentListResult"
>
<select
id=
"selectRiskPlanInherentListList"
parameterType=
"com.censoft.censoftrongtong.domain.RiskPlanInherentList"
resultMap=
"RiskPlanInherentListResult"
>
...
@@ -110,6 +112,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -110,6 +112,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
rpil.factor,
rpil.factor,
rpil.type,
rpil.type,
rpil.`level`,
rpil.`level`,
rpil.`risk_likelihood`,
rpil.`risk_severity`,
rpil.presence_location AS presenceLocation,
rpil.presence_location AS presenceLocation,
rpil.picture_file_ids AS pictureFileIds,
rpil.picture_file_ids AS pictureFileIds,
rpil.measures_project AS measuresProject,
rpil.measures_project AS measuresProject,
...
@@ -160,6 +164,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -160,6 +164,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"evaluationModel != null"
>
evaluation_model,
</if>
<if
test=
"evaluationModel != null"
>
evaluation_model,
</if>
<if
test=
"evaluationRange != null"
>
evaluation_range,
</if>
<if
test=
"evaluationRange != null"
>
evaluation_range,
</if>
<if
test=
"level != null"
>
level,
</if>
<if
test=
"level != null"
>
level,
</if>
<if
test=
"riskLikelihood != null"
>
risk_likelihood,
</if>
<if
test=
"riskSeverity != null"
>
risk_severity,
</if>
<if
test=
"presenceLocation != null"
>
presence_location,
</if>
<if
test=
"presenceLocation != null"
>
presence_location,
</if>
<if
test=
"pictureFileIds != null"
>
picture_file_ids,
</if>
<if
test=
"pictureFileIds != null"
>
picture_file_ids,
</if>
<if
test=
"factor != null"
>
factor,
</if>
<if
test=
"factor != null"
>
factor,
</if>
...
@@ -187,6 +193,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -187,6 +193,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"evaluationModel != null"
>
#{evaluationModel},
</if>
<if
test=
"evaluationModel != null"
>
#{evaluationModel},
</if>
<if
test=
"evaluationRange != null"
>
#{evaluationRange},
</if>
<if
test=
"evaluationRange != null"
>
#{evaluationRange},
</if>
<if
test=
"level != null"
>
#{level},
</if>
<if
test=
"level != null"
>
#{level},
</if>
<if
test=
"riskLikelihood != null"
>
#{riskLikelihood},
</if>
<if
test=
"riskSeverity != null"
>
#{riskSeverity},
</if>
<if
test=
"presenceLocation != null"
>
#{presenceLocation},
</if>
<if
test=
"presenceLocation != null"
>
#{presenceLocation},
</if>
<if
test=
"pictureFileIds != null"
>
#{pictureFileIds},
</if>
<if
test=
"pictureFileIds != null"
>
#{pictureFileIds},
</if>
<if
test=
"factor != null"
>
#{factor},
</if>
<if
test=
"factor != null"
>
#{factor},
</if>
...
@@ -218,6 +226,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -218,6 +226,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"evaluationModel != null"
>
evaluation_model = #{evaluationModel},
</if>
<if
test=
"evaluationModel != null"
>
evaluation_model = #{evaluationModel},
</if>
<if
test=
"evaluationRange != null"
>
evaluation_range = #{evaluationRange},
</if>
<if
test=
"evaluationRange != null"
>
evaluation_range = #{evaluationRange},
</if>
<if
test=
"level != null"
>
level = #{level},
</if>
<if
test=
"level != null"
>
level = #{level},
</if>
<if
test=
"riskLikelihood != null"
>
risk_likelihood = #{riskLikelihood},
</if>
<if
test=
"riskSeverity != null"
>
risk_severity = #{riskSeverity},
</if>
<if
test=
"presenceLocation != null"
>
presence_location = #{presenceLocation},
</if>
<if
test=
"presenceLocation != null"
>
presence_location = #{presenceLocation},
</if>
<if
test=
"pictureFileIds != null"
>
picture_file_ids = #{pictureFileIds},
</if>
<if
test=
"pictureFileIds != null"
>
picture_file_ids = #{pictureFileIds},
</if>
<if
test=
"factor != null"
>
factor = #{factor},
</if>
<if
test=
"factor != null"
>
factor = #{factor},
</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