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
447b7a2f
Commit
447b7a2f
authored
Aug 24, 2023
by
周昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修改固有风险清单模版
parent
23b375d5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
117 additions
and
285 deletions
+117
-285
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/domain/RiskInherentList.java
.../com/censoft/censoftrongtong/domain/RiskInherentList.java
+81
-231
censoft-rongtong/src/main/resources/mapper/system/RiskInherentListMapper.xml
...c/main/resources/mapper/system/RiskInherentListMapper.xml
+36
-54
No files found.
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/domain/RiskInherentList.java
View file @
447b7a2f
package
com
.
censoft
.
censoftrongtong
.
domain
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.ruoyi.common.annotation.Excel
;
...
...
@@ -11,254 +16,99 @@ import com.ruoyi.common.core.domain.BaseEntity;
* @author ruoyi
* @date 2023-06-26
*/
@Data
@TableName
(
"risk_inherent_list"
)
public
class
RiskInherentList
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** id */
/**
* id
*/
@TableId
(
type
=
IdType
.
AUTO
)
private
Long
id
;
/** 风险code */
@Excel
(
name
=
"风险code"
)
private
String
code
;
/** 风险源名称 */
@Excel
(
name
=
"风险源名称"
)
/**
* 风险源名称
*/
@TableField
(
"name"
)
private
String
name
;
/**
风险类型 */
@Excel
(
name
=
"风险类型"
)
private
String
type
;
/** 风险描述 */
@Excel
(
name
=
"风险描述"
)
private
String
describe
;
/** 评估模型
*/
@
Excel
(
name
=
"评估模型
"
)
private
String
evaluationModel
;
/**
评估范围 */
@Excel
(
name
=
"评估范围"
)
private
String
evaluationRange
;
/** 风险等级 */
@Excel
(
name
=
"风险等级"
)
private
String
level
;
/** 风险因素
*/
@
Excel
(
name
=
"风险因素
"
)
/**
* 风险点类型
*/
@TableField
(
"point_type"
)
private
String
pointType
;
/**
* 是否为特种设备
*/
@
TableField
(
"special_equipment
"
)
private
Boolean
specialEquipment
;
/**
* 安全警示标志
*/
@TableField
(
"safety_warning_signs"
)
private
String
safetyWarningSigns
;
/**
* 风险因素
*/
@
TableField
(
"factor
"
)
private
String
factor
;
/** 工程技术措施 */
@Excel
(
name
=
"工程技术措施"
)
private
String
measuresProject
;
/**
* 准事故类型
*/
@TableField
(
"type"
)
private
String
type
;
/** 工程技术措施附件 */
@Excel
(
name
=
"工程技术措施附件"
)
private
String
measuresProjectFileIds
;
/**
* 工程技术措施
*/
@TableField
(
"measures_project"
)
private
String
measuresProject
;
/** 管理措施 */
@Excel
(
name
=
"管理措施"
)
/**
* 应采取的管理措施
*/
@TableField
(
"measures_administration"
)
private
String
measuresAdministration
;
/** 管理措施附件 */
@Excel
(
name
=
"管理措施附件"
)
private
String
measuresAdministrationFileIds
;
/** 应急处置措施 */
@Excel
(
name
=
"应急处置措施"
)
/**
* 应急措施
*/
@TableField
(
"measures_emergency"
)
private
String
measuresEmergency
;
/** 应急处置措施附件 */
@Excel
(
name
=
"应急处置措施附件"
)
private
String
measuresEmergencyFileIds
;
/** 参考依据 */
@Excel
(
name
=
"参考依据"
)
/**
* 是否存在重大危险源
*/
@TableField
(
"major_hazard_source"
)
private
Boolean
majorHazardSource
;
/**
* 危险源名称
*/
@TableField
(
"hazard_source_name"
)
private
String
hazardSourceName
;
/**
* 重大危险源描述
*/
@TableField
(
"major_hazard_source_description"
)
private
String
majorHazardSourceDescription
;
/**
* 参考依据
*/
@TableField
(
"reference_basis"
)
private
String
referenceBasis
;
/** 删除标志(0代表存在 1代表删除) */
/**
* 删除标志(0代表存在 1代表删除)
*/
@TableField
(
"del_flag"
)
private
String
delFlag
;
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
Long
getId
()
{
return
id
;
}
public
void
setCode
(
String
code
)
{
this
.
code
=
code
;
}
public
String
getCode
()
{
return
code
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getName
()
{
return
name
;
}
public
void
setType
(
String
type
)
{
this
.
type
=
type
;
}
public
String
getType
()
{
return
type
;
}
public
void
setDescribe
(
String
describe
)
{
this
.
describe
=
describe
;
}
public
String
getDescribe
()
{
return
describe
;
}
public
void
setEvaluationModel
(
String
evaluationModel
)
{
this
.
evaluationModel
=
evaluationModel
;
}
public
String
getEvaluationModel
()
{
return
evaluationModel
;
}
public
void
setEvaluationRange
(
String
evaluationRange
)
{
this
.
evaluationRange
=
evaluationRange
;
}
public
String
getEvaluationRange
()
{
return
evaluationRange
;
}
public
void
setLevel
(
String
level
)
{
this
.
level
=
level
;
}
public
String
getLevel
()
{
return
level
;
}
public
void
setFactor
(
String
factor
)
{
this
.
factor
=
factor
;
}
public
String
getFactor
()
{
return
factor
;
}
public
void
setMeasuresProject
(
String
measuresProject
)
{
this
.
measuresProject
=
measuresProject
;
}
public
String
getMeasuresProject
()
{
return
measuresProject
;
}
public
void
setMeasuresProjectFileIds
(
String
measuresProjectFileIds
)
{
this
.
measuresProjectFileIds
=
measuresProjectFileIds
;
}
public
String
getMeasuresProjectFileIds
()
{
return
measuresProjectFileIds
;
}
public
void
setMeasuresAdministration
(
String
measuresAdministration
)
{
this
.
measuresAdministration
=
measuresAdministration
;
}
public
String
getMeasuresAdministration
()
{
return
measuresAdministration
;
}
public
void
setMeasuresAdministrationFileIds
(
String
measuresAdministrationFileIds
)
{
this
.
measuresAdministrationFileIds
=
measuresAdministrationFileIds
;
}
public
String
getMeasuresAdministrationFileIds
()
{
return
measuresAdministrationFileIds
;
}
public
void
setMeasuresEmergency
(
String
measuresEmergency
)
{
this
.
measuresEmergency
=
measuresEmergency
;
}
public
String
getMeasuresEmergency
()
{
return
measuresEmergency
;
}
public
void
setMeasuresEmergencyFileIds
(
String
measuresEmergencyFileIds
)
{
this
.
measuresEmergencyFileIds
=
measuresEmergencyFileIds
;
}
public
String
getMeasuresEmergencyFileIds
()
{
return
measuresEmergencyFileIds
;
}
public
void
setReferenceBasis
(
String
referenceBasis
)
{
this
.
referenceBasis
=
referenceBasis
;
}
public
String
getReferenceBasis
()
{
return
referenceBasis
;
}
public
void
setDelFlag
(
String
delFlag
)
{
this
.
delFlag
=
delFlag
;
}
public
String
getDelFlag
()
{
return
delFlag
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"id"
,
getId
())
.
append
(
"code"
,
getCode
())
.
append
(
"name"
,
getName
())
.
append
(
"type"
,
getType
())
.
append
(
"describe"
,
getDescribe
())
.
append
(
"evaluationModel"
,
getEvaluationModel
())
.
append
(
"evaluationRange"
,
getEvaluationRange
())
.
append
(
"level"
,
getLevel
())
.
append
(
"factor"
,
getFactor
())
.
append
(
"measuresProject"
,
getMeasuresProject
())
.
append
(
"measuresProjectFileIds"
,
getMeasuresProjectFileIds
())
.
append
(
"measuresAdministration"
,
getMeasuresAdministration
())
.
append
(
"measuresAdministrationFileIds"
,
getMeasuresAdministrationFileIds
())
.
append
(
"measuresEmergency"
,
getMeasuresEmergency
())
.
append
(
"measuresEmergencyFileIds"
,
getMeasuresEmergencyFileIds
())
.
append
(
"referenceBasis"
,
getReferenceBasis
())
.
append
(
"delFlag"
,
getDelFlag
())
.
append
(
"createBy"
,
getCreateBy
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"updateBy"
,
getUpdateBy
())
.
append
(
"updateTime"
,
getUpdateTime
())
.
toString
();
}
}
censoft-rongtong/src/main/resources/mapper/system/RiskInherentListMapper.xml
View file @
447b7a2f
This diff is collapsed.
Click to expand it.
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