Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zh-baseversion-project
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
王浩
zh-baseversion-project
Commits
d9d6237b
Commit
d9d6237b
authored
Mar 20, 2026
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
液化气违法档案,气瓶异常分析
parent
a7a5d1df
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
2032 additions
and
0 deletions
+2032
-0
TGasAbnormalityController.java
.../controller/gasBottleTrack/TGasAbnormalityController.java
+97
-0
TGasIllegalController.java
.../web/controller/gasBottleTrack/TGasIllegalController.java
+97
-0
TGasAbnormality.java
...c/main/java/com/zehong/system/domain/TGasAbnormality.java
+147
-0
TGasIllegal.java
...m/src/main/java/com/zehong/system/domain/TGasIllegal.java
+149
-0
TGasAbnormalityMapper.java
.../java/com/zehong/system/mapper/TGasAbnormalityMapper.java
+61
-0
TGasIllegalMapper.java
...main/java/com/zehong/system/mapper/TGasIllegalMapper.java
+61
-0
ITGasAbnormalityService.java
...va/com/zehong/system/service/ITGasAbnormalityService.java
+61
-0
ITGasIllegalService.java
...n/java/com/zehong/system/service/ITGasIllegalService.java
+61
-0
TGasAbnormalityServiceImpl.java
...ehong/system/service/impl/TGasAbnormalityServiceImpl.java
+95
-0
TGasIllegalServiceImpl.java
...om/zehong/system/service/impl/TGasIllegalServiceImpl.java
+95
-0
TGasAbnormalityMapper.xml
...rc/main/resources/mapper/system/TGasAbnormalityMapper.xml
+90
-0
TGasIllegalMapper.xml
...em/src/main/resources/mapper/system/TGasIllegalMapper.xml
+90
-0
abnormality.js
zh-baseversion-web/src/api/gasBottleTrack/abnormality.js
+53
-0
illegal.js
zh-baseversion-web/src/api/gasBottleTrack/illegal.js
+53
-0
index.vue
...ersion-web/src/views/gasBottleTrack/abnormality/index.vue
+405
-0
index.vue
...aseversion-web/src/views/gasBottleTrack/illegal/index.vue
+417
-0
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/gasBottleTrack/TGasAbnormalityController.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
web
.
controller
.
gasBottleTrack
;
import
java.util.List
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.zehong.common.annotation.Log
;
import
com.zehong.common.core.controller.BaseController
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.system.domain.TGasAbnormality
;
import
com.zehong.system.service.ITGasAbnormalityService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* 气瓶异常分析Controller
*
* @author zehong
* @date 2026-03-19
*/
@RestController
@RequestMapping
(
"/gasBottleTrack/abnormality"
)
public
class
TGasAbnormalityController
extends
BaseController
{
@Autowired
private
ITGasAbnormalityService
tGasAbnormalityService
;
/**
* 查询气瓶异常分析列表
*/
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
TGasAbnormality
tGasAbnormality
)
{
startPage
();
List
<
TGasAbnormality
>
list
=
tGasAbnormalityService
.
selectTGasAbnormalityList
(
tGasAbnormality
);
return
getDataTable
(
list
);
}
/**
* 导出气瓶异常分析列表
*/
@Log
(
title
=
"气瓶异常分析"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TGasAbnormality
tGasAbnormality
)
{
List
<
TGasAbnormality
>
list
=
tGasAbnormalityService
.
selectTGasAbnormalityList
(
tGasAbnormality
);
ExcelUtil
<
TGasAbnormality
>
util
=
new
ExcelUtil
<
TGasAbnormality
>(
TGasAbnormality
.
class
);
return
util
.
exportExcel
(
list
,
"气瓶异常分析数据"
);
}
/**
* 获取气瓶异常分析详细信息
*/
@GetMapping
(
value
=
"/{abnormalityId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"abnormalityId"
)
Long
abnormalityId
)
{
return
AjaxResult
.
success
(
tGasAbnormalityService
.
selectTGasAbnormalityById
(
abnormalityId
));
}
/**
* 新增气瓶异常分析
*/
@Log
(
title
=
"气瓶异常分析"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
TGasAbnormality
tGasAbnormality
)
{
return
toAjax
(
tGasAbnormalityService
.
insertTGasAbnormality
(
tGasAbnormality
));
}
/**
* 修改气瓶异常分析
*/
@Log
(
title
=
"气瓶异常分析"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
TGasAbnormality
tGasAbnormality
)
{
return
toAjax
(
tGasAbnormalityService
.
updateTGasAbnormality
(
tGasAbnormality
));
}
/**
* 删除气瓶异常分析
*/
@Log
(
title
=
"气瓶异常分析"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{abnormalityIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
abnormalityIds
)
{
return
toAjax
(
tGasAbnormalityService
.
deleteTGasAbnormalityByIds
(
abnormalityIds
));
}
}
zh-baseversion-admin/src/main/java/com/zehong/web/controller/gasBottleTrack/TGasIllegalController.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
web
.
controller
.
gasBottleTrack
;
import
java.util.List
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.zehong.common.annotation.Log
;
import
com.zehong.common.core.controller.BaseController
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.system.domain.TGasIllegal
;
import
com.zehong.system.service.ITGasIllegalService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* 违法行为档案Controller
*
* @author zehong
* @date 2026-03-19
*/
@RestController
@RequestMapping
(
"/gasBottleTrack/illegal"
)
public
class
TGasIllegalController
extends
BaseController
{
@Autowired
private
ITGasIllegalService
tGasIllegalService
;
/**
* 查询违法行为档案列表
*/
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
TGasIllegal
tGasIllegal
)
{
startPage
();
List
<
TGasIllegal
>
list
=
tGasIllegalService
.
selectTGasIllegalList
(
tGasIllegal
);
return
getDataTable
(
list
);
}
/**
* 导出违法行为档案列表
*/
@Log
(
title
=
"违法行为档案"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TGasIllegal
tGasIllegal
)
{
List
<
TGasIllegal
>
list
=
tGasIllegalService
.
selectTGasIllegalList
(
tGasIllegal
);
ExcelUtil
<
TGasIllegal
>
util
=
new
ExcelUtil
<
TGasIllegal
>(
TGasIllegal
.
class
);
return
util
.
exportExcel
(
list
,
"违法行为档案数据"
);
}
/**
* 获取违法行为档案详细信息
*/
@GetMapping
(
value
=
"/{illegalId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"illegalId"
)
Long
illegalId
)
{
return
AjaxResult
.
success
(
tGasIllegalService
.
selectTGasIllegalById
(
illegalId
));
}
/**
* 新增违法行为档案
*/
@Log
(
title
=
"违法行为档案"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
TGasIllegal
tGasIllegal
)
{
return
toAjax
(
tGasIllegalService
.
insertTGasIllegal
(
tGasIllegal
));
}
/**
* 修改违法行为档案
*/
@Log
(
title
=
"违法行为档案"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
TGasIllegal
tGasIllegal
)
{
return
toAjax
(
tGasIllegalService
.
updateTGasIllegal
(
tGasIllegal
));
}
/**
* 删除违法行为档案
*/
@Log
(
title
=
"违法行为档案"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{illegalIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
illegalIds
)
{
return
toAjax
(
tGasIllegalService
.
deleteTGasIllegalByIds
(
illegalIds
));
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/TGasAbnormality.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
system
.
domain
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
/**
* 气瓶异常分析对象 t_gas_abnormality
*
* @author zehong
* @date 2026-03-19
*/
public
class
TGasAbnormality
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** id */
private
Long
abnormalityId
;
/** 异常类型 */
@Excel
(
name
=
"异常类型"
)
private
String
abnormalityType
;
/** 所属企业 */
@Excel
(
name
=
"所属企业"
)
private
String
enterpriseName
;
private
String
beyondEnterpriseId
;
/** 气瓶编号 */
@Excel
(
name
=
"气瓶编号"
)
private
String
bottleCode
;
/** 异常信息 */
@Excel
(
name
=
"异常信息"
)
private
String
message
;
/** 核实状态 0未核实 1无需处理 2已处理 */
@Excel
(
name
=
"核实状态 0未核实 1无需处理 2已处理"
)
private
String
status
;
/** 处理方式 */
@Excel
(
name
=
"处理方式"
)
private
String
content
;
/** 处理人 */
@Excel
(
name
=
"处理人"
)
private
String
people
;
public
String
getEnterpriseName
()
{
return
enterpriseName
;
}
public
void
setEnterpriseName
(
String
enterpriseName
)
{
this
.
enterpriseName
=
enterpriseName
;
}
public
void
setAbnormalityId
(
Long
abnormalityId
)
{
this
.
abnormalityId
=
abnormalityId
;
}
public
Long
getAbnormalityId
()
{
return
abnormalityId
;
}
public
void
setAbnormalityType
(
String
abnormalityType
)
{
this
.
abnormalityType
=
abnormalityType
;
}
public
String
getAbnormalityType
()
{
return
abnormalityType
;
}
public
void
setBeyondEnterpriseId
(
String
beyondEnterpriseId
)
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
public
String
getBeyondEnterpriseId
()
{
return
beyondEnterpriseId
;
}
public
void
setBottleCode
(
String
bottleCode
)
{
this
.
bottleCode
=
bottleCode
;
}
public
String
getBottleCode
()
{
return
bottleCode
;
}
public
void
setMessage
(
String
message
)
{
this
.
message
=
message
;
}
public
String
getMessage
()
{
return
message
;
}
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
;
}
public
String
getStatus
()
{
return
status
;
}
public
void
setContent
(
String
content
)
{
this
.
content
=
content
;
}
public
String
getContent
()
{
return
content
;
}
public
void
setPeople
(
String
people
)
{
this
.
people
=
people
;
}
public
String
getPeople
()
{
return
people
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"abnormalityId"
,
getAbnormalityId
())
.
append
(
"abnormalityType"
,
getAbnormalityType
())
.
append
(
"beyondEnterpriseId"
,
getBeyondEnterpriseId
())
.
append
(
"bottleCode"
,
getBottleCode
())
.
append
(
"message"
,
getMessage
())
.
append
(
"status"
,
getStatus
())
.
append
(
"content"
,
getContent
())
.
append
(
"people"
,
getPeople
())
.
append
(
"createTime"
,
getCreateTime
())
.
toString
();
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/TGasIllegal.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
system
.
domain
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
/**
* 违法行为档案对象 t_gas_illegal
*
* @author zehong
* @date 2026-03-19
*/
public
class
TGasIllegal
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 档案id */
private
Long
illegalId
;
/** 企业id */
private
String
beyondEnterpriseId
;
@Excel
(
name
=
"企业"
)
private
String
enterpriseName
;
/** 违法标题 */
@Excel
(
name
=
"违法标题"
)
private
String
illegalTitle
;
/** 违法内容 */
@Excel
(
name
=
"违法内容"
)
private
String
content
;
/** 违法人员 */
@Excel
(
name
=
"违法人员"
)
private
String
people
;
/** 违法时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"违法时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
illegalTime
;
/** 处罚结果 */
@Excel
(
name
=
"处罚结果"
)
private
String
penalty
;
/** 档案附件 */
@Excel
(
name
=
"档案附件"
)
private
String
fileUrl
;
public
String
getEnterpriseName
()
{
return
enterpriseName
;
}
public
void
setEnterpriseName
(
String
enterpriseName
)
{
this
.
enterpriseName
=
enterpriseName
;
}
public
void
setIllegalId
(
Long
illegalId
)
{
this
.
illegalId
=
illegalId
;
}
public
Long
getIllegalId
()
{
return
illegalId
;
}
public
void
setBeyondEnterpriseId
(
String
beyondEnterpriseId
)
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
public
String
getBeyondEnterpriseId
()
{
return
beyondEnterpriseId
;
}
public
void
setIllegalTitle
(
String
illegalTitle
)
{
this
.
illegalTitle
=
illegalTitle
;
}
public
String
getIllegalTitle
()
{
return
illegalTitle
;
}
public
void
setContent
(
String
content
)
{
this
.
content
=
content
;
}
public
String
getContent
()
{
return
content
;
}
public
void
setPeople
(
String
people
)
{
this
.
people
=
people
;
}
public
String
getPeople
()
{
return
people
;
}
public
void
setIllegalTime
(
Date
illegalTime
)
{
this
.
illegalTime
=
illegalTime
;
}
public
Date
getIllegalTime
()
{
return
illegalTime
;
}
public
void
setPenalty
(
String
penalty
)
{
this
.
penalty
=
penalty
;
}
public
String
getPenalty
()
{
return
penalty
;
}
public
void
setFileUrl
(
String
fileUrl
)
{
this
.
fileUrl
=
fileUrl
;
}
public
String
getFileUrl
()
{
return
fileUrl
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"illegalId"
,
getIllegalId
())
.
append
(
"beyondEnterpriseId"
,
getBeyondEnterpriseId
())
.
append
(
"illegalTitle"
,
getIllegalTitle
())
.
append
(
"content"
,
getContent
())
.
append
(
"people"
,
getPeople
())
.
append
(
"illegalTime"
,
getIllegalTime
())
.
append
(
"penalty"
,
getPenalty
())
.
append
(
"fileUrl"
,
getFileUrl
())
.
append
(
"createTime"
,
getCreateTime
())
.
toString
();
}
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TGasAbnormalityMapper.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.TGasAbnormality
;
/**
* 气瓶异常分析Mapper接口
*
* @author zehong
* @date 2026-03-19
*/
public
interface
TGasAbnormalityMapper
{
/**
* 查询气瓶异常分析
*
* @param abnormalityId 气瓶异常分析ID
* @return 气瓶异常分析
*/
public
TGasAbnormality
selectTGasAbnormalityById
(
Long
abnormalityId
);
/**
* 查询气瓶异常分析列表
*
* @param tGasAbnormality 气瓶异常分析
* @return 气瓶异常分析集合
*/
public
List
<
TGasAbnormality
>
selectTGasAbnormalityList
(
TGasAbnormality
tGasAbnormality
);
/**
* 新增气瓶异常分析
*
* @param tGasAbnormality 气瓶异常分析
* @return 结果
*/
public
int
insertTGasAbnormality
(
TGasAbnormality
tGasAbnormality
);
/**
* 修改气瓶异常分析
*
* @param tGasAbnormality 气瓶异常分析
* @return 结果
*/
public
int
updateTGasAbnormality
(
TGasAbnormality
tGasAbnormality
);
/**
* 删除气瓶异常分析
*
* @param abnormalityId 气瓶异常分析ID
* @return 结果
*/
public
int
deleteTGasAbnormalityById
(
Long
abnormalityId
);
/**
* 批量删除气瓶异常分析
*
* @param abnormalityIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteTGasAbnormalityByIds
(
Long
[]
abnormalityIds
);
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TGasIllegalMapper.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.TGasIllegal
;
/**
* 违法行为档案Mapper接口
*
* @author zehong
* @date 2026-03-19
*/
public
interface
TGasIllegalMapper
{
/**
* 查询违法行为档案
*
* @param illegalId 违法行为档案ID
* @return 违法行为档案
*/
public
TGasIllegal
selectTGasIllegalById
(
Long
illegalId
);
/**
* 查询违法行为档案列表
*
* @param tGasIllegal 违法行为档案
* @return 违法行为档案集合
*/
public
List
<
TGasIllegal
>
selectTGasIllegalList
(
TGasIllegal
tGasIllegal
);
/**
* 新增违法行为档案
*
* @param tGasIllegal 违法行为档案
* @return 结果
*/
public
int
insertTGasIllegal
(
TGasIllegal
tGasIllegal
);
/**
* 修改违法行为档案
*
* @param tGasIllegal 违法行为档案
* @return 结果
*/
public
int
updateTGasIllegal
(
TGasIllegal
tGasIllegal
);
/**
* 删除违法行为档案
*
* @param illegalId 违法行为档案ID
* @return 结果
*/
public
int
deleteTGasIllegalById
(
Long
illegalId
);
/**
* 批量删除违法行为档案
*
* @param illegalIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteTGasIllegalByIds
(
Long
[]
illegalIds
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITGasAbnormalityService.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.TGasAbnormality
;
/**
* 气瓶异常分析Service接口
*
* @author zehong
* @date 2026-03-19
*/
public
interface
ITGasAbnormalityService
{
/**
* 查询气瓶异常分析
*
* @param abnormalityId 气瓶异常分析ID
* @return 气瓶异常分析
*/
public
TGasAbnormality
selectTGasAbnormalityById
(
Long
abnormalityId
);
/**
* 查询气瓶异常分析列表
*
* @param tGasAbnormality 气瓶异常分析
* @return 气瓶异常分析集合
*/
public
List
<
TGasAbnormality
>
selectTGasAbnormalityList
(
TGasAbnormality
tGasAbnormality
);
/**
* 新增气瓶异常分析
*
* @param tGasAbnormality 气瓶异常分析
* @return 结果
*/
public
int
insertTGasAbnormality
(
TGasAbnormality
tGasAbnormality
);
/**
* 修改气瓶异常分析
*
* @param tGasAbnormality 气瓶异常分析
* @return 结果
*/
public
int
updateTGasAbnormality
(
TGasAbnormality
tGasAbnormality
);
/**
* 批量删除气瓶异常分析
*
* @param abnormalityIds 需要删除的气瓶异常分析ID
* @return 结果
*/
public
int
deleteTGasAbnormalityByIds
(
Long
[]
abnormalityIds
);
/**
* 删除气瓶异常分析信息
*
* @param abnormalityId 气瓶异常分析ID
* @return 结果
*/
public
int
deleteTGasAbnormalityById
(
Long
abnormalityId
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITGasIllegalService.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.TGasIllegal
;
/**
* 违法行为档案Service接口
*
* @author zehong
* @date 2026-03-19
*/
public
interface
ITGasIllegalService
{
/**
* 查询违法行为档案
*
* @param illegalId 违法行为档案ID
* @return 违法行为档案
*/
public
TGasIllegal
selectTGasIllegalById
(
Long
illegalId
);
/**
* 查询违法行为档案列表
*
* @param tGasIllegal 违法行为档案
* @return 违法行为档案集合
*/
public
List
<
TGasIllegal
>
selectTGasIllegalList
(
TGasIllegal
tGasIllegal
);
/**
* 新增违法行为档案
*
* @param tGasIllegal 违法行为档案
* @return 结果
*/
public
int
insertTGasIllegal
(
TGasIllegal
tGasIllegal
);
/**
* 修改违法行为档案
*
* @param tGasIllegal 违法行为档案
* @return 结果
*/
public
int
updateTGasIllegal
(
TGasIllegal
tGasIllegal
);
/**
* 批量删除违法行为档案
*
* @param illegalIds 需要删除的违法行为档案ID
* @return 结果
*/
public
int
deleteTGasIllegalByIds
(
Long
[]
illegalIds
);
/**
* 删除违法行为档案信息
*
* @param illegalId 违法行为档案ID
* @return 结果
*/
public
int
deleteTGasIllegalById
(
Long
illegalId
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TGasAbnormalityServiceImpl.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
system
.
service
.
impl
;
import
java.util.List
;
import
com.zehong.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.TGasAbnormalityMapper
;
import
com.zehong.system.domain.TGasAbnormality
;
import
com.zehong.system.service.ITGasAbnormalityService
;
/**
* 气瓶异常分析Service业务层处理
*
* @author zehong
* @date 2026-03-19
*/
@Service
public
class
TGasAbnormalityServiceImpl
implements
ITGasAbnormalityService
{
@Autowired
private
TGasAbnormalityMapper
tGasAbnormalityMapper
;
/**
* 查询气瓶异常分析
*
* @param abnormalityId 气瓶异常分析ID
* @return 气瓶异常分析
*/
@Override
public
TGasAbnormality
selectTGasAbnormalityById
(
Long
abnormalityId
)
{
return
tGasAbnormalityMapper
.
selectTGasAbnormalityById
(
abnormalityId
);
}
/**
* 查询气瓶异常分析列表
*
* @param tGasAbnormality 气瓶异常分析
* @return 气瓶异常分析
*/
@Override
public
List
<
TGasAbnormality
>
selectTGasAbnormalityList
(
TGasAbnormality
tGasAbnormality
)
{
return
tGasAbnormalityMapper
.
selectTGasAbnormalityList
(
tGasAbnormality
);
}
/**
* 新增气瓶异常分析
*
* @param tGasAbnormality 气瓶异常分析
* @return 结果
*/
@Override
public
int
insertTGasAbnormality
(
TGasAbnormality
tGasAbnormality
)
{
tGasAbnormality
.
setCreateTime
(
DateUtils
.
getNowDate
());
return
tGasAbnormalityMapper
.
insertTGasAbnormality
(
tGasAbnormality
);
}
/**
* 修改气瓶异常分析
*
* @param tGasAbnormality 气瓶异常分析
* @return 结果
*/
@Override
public
int
updateTGasAbnormality
(
TGasAbnormality
tGasAbnormality
)
{
return
tGasAbnormalityMapper
.
updateTGasAbnormality
(
tGasAbnormality
);
}
/**
* 批量删除气瓶异常分析
*
* @param abnormalityIds 需要删除的气瓶异常分析ID
* @return 结果
*/
@Override
public
int
deleteTGasAbnormalityByIds
(
Long
[]
abnormalityIds
)
{
return
tGasAbnormalityMapper
.
deleteTGasAbnormalityByIds
(
abnormalityIds
);
}
/**
* 删除气瓶异常分析信息
*
* @param abnormalityId 气瓶异常分析ID
* @return 结果
*/
@Override
public
int
deleteTGasAbnormalityById
(
Long
abnormalityId
)
{
return
tGasAbnormalityMapper
.
deleteTGasAbnormalityById
(
abnormalityId
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TGasIllegalServiceImpl.java
0 → 100644
View file @
d9d6237b
package
com
.
zehong
.
system
.
service
.
impl
;
import
java.util.List
;
import
com.zehong.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.TGasIllegalMapper
;
import
com.zehong.system.domain.TGasIllegal
;
import
com.zehong.system.service.ITGasIllegalService
;
/**
* 违法行为档案Service业务层处理
*
* @author zehong
* @date 2026-03-19
*/
@Service
public
class
TGasIllegalServiceImpl
implements
ITGasIllegalService
{
@Autowired
private
TGasIllegalMapper
tGasIllegalMapper
;
/**
* 查询违法行为档案
*
* @param illegalId 违法行为档案ID
* @return 违法行为档案
*/
@Override
public
TGasIllegal
selectTGasIllegalById
(
Long
illegalId
)
{
return
tGasIllegalMapper
.
selectTGasIllegalById
(
illegalId
);
}
/**
* 查询违法行为档案列表
*
* @param tGasIllegal 违法行为档案
* @return 违法行为档案
*/
@Override
public
List
<
TGasIllegal
>
selectTGasIllegalList
(
TGasIllegal
tGasIllegal
)
{
return
tGasIllegalMapper
.
selectTGasIllegalList
(
tGasIllegal
);
}
/**
* 新增违法行为档案
*
* @param tGasIllegal 违法行为档案
* @return 结果
*/
@Override
public
int
insertTGasIllegal
(
TGasIllegal
tGasIllegal
)
{
tGasIllegal
.
setCreateTime
(
DateUtils
.
getNowDate
());
return
tGasIllegalMapper
.
insertTGasIllegal
(
tGasIllegal
);
}
/**
* 修改违法行为档案
*
* @param tGasIllegal 违法行为档案
* @return 结果
*/
@Override
public
int
updateTGasIllegal
(
TGasIllegal
tGasIllegal
)
{
return
tGasIllegalMapper
.
updateTGasIllegal
(
tGasIllegal
);
}
/**
* 批量删除违法行为档案
*
* @param illegalIds 需要删除的违法行为档案ID
* @return 结果
*/
@Override
public
int
deleteTGasIllegalByIds
(
Long
[]
illegalIds
)
{
return
tGasIllegalMapper
.
deleteTGasIllegalByIds
(
illegalIds
);
}
/**
* 删除违法行为档案信息
*
* @param illegalId 违法行为档案ID
* @return 结果
*/
@Override
public
int
deleteTGasIllegalById
(
Long
illegalId
)
{
return
tGasIllegalMapper
.
deleteTGasIllegalById
(
illegalId
);
}
}
zh-baseversion-system/src/main/resources/mapper/system/TGasAbnormalityMapper.xml
0 → 100644
View file @
d9d6237b
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.TGasAbnormalityMapper"
>
<resultMap
type=
"TGasAbnormality"
id=
"TGasAbnormalityResult"
>
<result
property=
"abnormalityId"
column=
"abnormality_id"
/>
<result
property=
"abnormalityType"
column=
"abnormality_type"
/>
<result
property=
"beyondEnterpriseId"
column=
"beyond_enterprise_id"
/>
<result
property=
"bottleCode"
column=
"bottle_code"
/>
<result
property=
"message"
column=
"message"
/>
<result
property=
"status"
column=
"status"
/>
<result
property=
"content"
column=
"content"
/>
<result
property=
"people"
column=
"people"
/>
<result
property=
"createTime"
column=
"create_time"
/>
</resultMap>
<sql
id=
"selectTGasAbnormalityVo"
>
select abnormality_id, abnormality_type, beyond_enterprise_id, bottle_code, message,
(SELECT enterprise_name FROM t_enterprise_info WHERE enterprise_id = beyond_enterprise_id) AS enterpriseName,
status, content, people, create_time from t_gas_abnormality
</sql>
<select
id=
"selectTGasAbnormalityList"
parameterType=
"TGasAbnormality"
resultMap=
"TGasAbnormalityResult"
>
<include
refid=
"selectTGasAbnormalityVo"
/>
<where>
<if
test=
"abnormalityType != null and abnormalityType != ''"
>
and abnormality_type = #{abnormalityType}
</if>
<if
test=
"beyondEnterpriseId != null and beyondEnterpriseId != ''"
>
and beyond_enterprise_id = #{beyondEnterpriseId}
</if>
<if
test=
"bottleCode != null and bottleCode != ''"
>
and bottle_code = #{bottleCode}
</if>
<if
test=
"status != null and status != ''"
>
and status = #{status}
</if>
</where>
order by create_time desc
</select>
<select
id=
"selectTGasAbnormalityById"
parameterType=
"Long"
resultMap=
"TGasAbnormalityResult"
>
<include
refid=
"selectTGasAbnormalityVo"
/>
where abnormality_id = #{abnormalityId}
</select>
<insert
id=
"insertTGasAbnormality"
parameterType=
"TGasAbnormality"
useGeneratedKeys=
"true"
keyProperty=
"abnormalityId"
>
insert into t_gas_abnormality
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"abnormalityType != null"
>
abnormality_type,
</if>
<if
test=
"beyondEnterpriseId != null"
>
beyond_enterprise_id,
</if>
<if
test=
"bottleCode != null"
>
bottle_code,
</if>
<if
test=
"message != null"
>
message,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"content != null"
>
content,
</if>
<if
test=
"people != null"
>
people,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"abnormalityType != null"
>
#{abnormalityType},
</if>
<if
test=
"beyondEnterpriseId != null"
>
#{beyondEnterpriseId},
</if>
<if
test=
"bottleCode != null"
>
#{bottleCode},
</if>
<if
test=
"message != null"
>
#{message},
</if>
<if
test=
"status != null"
>
#{status},
</if>
<if
test=
"content != null"
>
#{content},
</if>
<if
test=
"people != null"
>
#{people},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
</trim>
</insert>
<update
id=
"updateTGasAbnormality"
parameterType=
"TGasAbnormality"
>
update t_gas_abnormality
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"abnormalityType != null"
>
abnormality_type = #{abnormalityType},
</if>
<if
test=
"beyondEnterpriseId != null"
>
beyond_enterprise_id = #{beyondEnterpriseId},
</if>
<if
test=
"bottleCode != null"
>
bottle_code = #{bottleCode},
</if>
<if
test=
"message != null"
>
message = #{message},
</if>
<if
test=
"status != null"
>
status = #{status},
</if>
<if
test=
"content != null"
>
content = #{content},
</if>
<if
test=
"people != null"
>
people = #{people},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
</trim>
where abnormality_id = #{abnormalityId}
</update>
<delete
id=
"deleteTGasAbnormalityById"
parameterType=
"Long"
>
delete from t_gas_abnormality where abnormality_id = #{abnormalityId}
</delete>
<delete
id=
"deleteTGasAbnormalityByIds"
parameterType=
"String"
>
delete from t_gas_abnormality where abnormality_id in
<foreach
item=
"abnormalityId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{abnormalityId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
zh-baseversion-system/src/main/resources/mapper/system/TGasIllegalMapper.xml
0 → 100644
View file @
d9d6237b
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.TGasIllegalMapper"
>
<resultMap
type=
"TGasIllegal"
id=
"TGasIllegalResult"
>
<result
property=
"illegalId"
column=
"illegal_id"
/>
<result
property=
"beyondEnterpriseId"
column=
"beyond_enterprise_id"
/>
<result
property=
"illegalTitle"
column=
"illegal_title"
/>
<result
property=
"content"
column=
"content"
/>
<result
property=
"people"
column=
"people"
/>
<result
property=
"illegalTime"
column=
"illegal_time"
/>
<result
property=
"penalty"
column=
"penalty"
/>
<result
property=
"fileUrl"
column=
"file_url"
/>
<result
property=
"createTime"
column=
"create_time"
/>
</resultMap>
<sql
id=
"selectTGasIllegalVo"
>
SELECT illegal_id, beyond_enterprise_id, illegal_title,
(SELECT enterprise_name FROM t_enterprise_info WHERE enterprise_id = beyond_enterprise_id) AS enterpriseName,
content, people, illegal_time, penalty, file_url, create_time
FROM t_gas_illegal
</sql>
<select
id=
"selectTGasIllegalList"
parameterType=
"TGasIllegal"
resultMap=
"TGasIllegalResult"
>
<include
refid=
"selectTGasIllegalVo"
/>
<where>
<if
test=
"beyondEnterpriseId != null and beyondEnterpriseId != ''"
>
and beyond_enterprise_id = #{beyondEnterpriseId}
</if>
<if
test=
"illegalTitle != null and illegalTitle != ''"
>
and illegal_title like concat('%', #{illegalTitle},'%')
</if>
<if
test=
"illegalTime != null "
>
and illegal_time = #{illegalTime}
</if>
</where>
order by create_time desc
</select>
<select
id=
"selectTGasIllegalById"
parameterType=
"Long"
resultMap=
"TGasIllegalResult"
>
<include
refid=
"selectTGasIllegalVo"
/>
where illegal_id = #{illegalId}
</select>
<insert
id=
"insertTGasIllegal"
parameterType=
"TGasIllegal"
useGeneratedKeys=
"true"
keyProperty=
"illegalId"
>
insert into t_gas_illegal
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"beyondEnterpriseId != null"
>
beyond_enterprise_id,
</if>
<if
test=
"illegalTitle != null"
>
illegal_title,
</if>
<if
test=
"content != null"
>
content,
</if>
<if
test=
"people != null"
>
people,
</if>
<if
test=
"illegalTime != null"
>
illegal_time,
</if>
<if
test=
"penalty != null"
>
penalty,
</if>
<if
test=
"fileUrl != null"
>
file_url,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"beyondEnterpriseId != null"
>
#{beyondEnterpriseId},
</if>
<if
test=
"illegalTitle != null"
>
#{illegalTitle},
</if>
<if
test=
"content != null"
>
#{content},
</if>
<if
test=
"people != null"
>
#{people},
</if>
<if
test=
"illegalTime != null"
>
#{illegalTime},
</if>
<if
test=
"penalty != null"
>
#{penalty},
</if>
<if
test=
"fileUrl != null"
>
#{fileUrl},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
</trim>
</insert>
<update
id=
"updateTGasIllegal"
parameterType=
"TGasIllegal"
>
update t_gas_illegal
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"beyondEnterpriseId != null"
>
beyond_enterprise_id = #{beyondEnterpriseId},
</if>
<if
test=
"illegalTitle != null"
>
illegal_title = #{illegalTitle},
</if>
<if
test=
"content != null"
>
content = #{content},
</if>
<if
test=
"people != null"
>
people = #{people},
</if>
<if
test=
"illegalTime != null"
>
illegal_time = #{illegalTime},
</if>
<if
test=
"penalty != null"
>
penalty = #{penalty},
</if>
<if
test=
"fileUrl != null"
>
file_url = #{fileUrl},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
</trim>
where illegal_id = #{illegalId}
</update>
<delete
id=
"deleteTGasIllegalById"
parameterType=
"Long"
>
delete from t_gas_illegal where illegal_id = #{illegalId}
</delete>
<delete
id=
"deleteTGasIllegalByIds"
parameterType=
"String"
>
delete from t_gas_illegal where illegal_id in
<foreach
item=
"illegalId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{illegalId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
zh-baseversion-web/src/api/gasBottleTrack/abnormality.js
0 → 100644
View file @
d9d6237b
import
request
from
'@/utils/request'
// 查询气瓶异常分析列表
export
function
listAbnormality
(
query
)
{
return
request
({
url
:
'/gasBottleTrack/abnormality/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询气瓶异常分析详细
export
function
getAbnormality
(
abnormalityId
)
{
return
request
({
url
:
'/gasBottleTrack/abnormality/'
+
abnormalityId
,
method
:
'get'
})
}
// 新增气瓶异常分析
export
function
addAbnormality
(
data
)
{
return
request
({
url
:
'/gasBottleTrack/abnormality'
,
method
:
'post'
,
data
:
data
})
}
// 修改气瓶异常分析
export
function
updateAbnormality
(
data
)
{
return
request
({
url
:
'/gasBottleTrack/abnormality'
,
method
:
'put'
,
data
:
data
})
}
// 删除气瓶异常分析
export
function
delAbnormality
(
abnormalityId
)
{
return
request
({
url
:
'/gasBottleTrack/abnormality/'
+
abnormalityId
,
method
:
'delete'
})
}
// 导出气瓶异常分析
export
function
exportAbnormality
(
query
)
{
return
request
({
url
:
'/gasBottleTrack/abnormality/export'
,
method
:
'get'
,
params
:
query
})
}
\ No newline at end of file
zh-baseversion-web/src/api/gasBottleTrack/illegal.js
0 → 100644
View file @
d9d6237b
import
request
from
'@/utils/request'
// 查询违法行为档案列表
export
function
listIllegal
(
query
)
{
return
request
({
url
:
'/gasBottleTrack/illegal/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询违法行为档案详细
export
function
getIllegal
(
illegalId
)
{
return
request
({
url
:
'/gasBottleTrack/illegal/'
+
illegalId
,
method
:
'get'
})
}
// 新增违法行为档案
export
function
addIllegal
(
data
)
{
return
request
({
url
:
'/gasBottleTrack/illegal'
,
method
:
'post'
,
data
:
data
})
}
// 修改违法行为档案
export
function
updateIllegal
(
data
)
{
return
request
({
url
:
'/gasBottleTrack/illegal'
,
method
:
'put'
,
data
:
data
})
}
// 删除违法行为档案
export
function
delIllegal
(
illegalId
)
{
return
request
({
url
:
'/gasBottleTrack/illegal/'
+
illegalId
,
method
:
'delete'
})
}
// 导出违法行为档案
export
function
exportIllegal
(
query
)
{
return
request
({
url
:
'/gasBottleTrack/illegal/export'
,
method
:
'get'
,
params
:
query
})
}
\ No newline at end of file
zh-baseversion-web/src/views/gasBottleTrack/abnormality/index.vue
0 → 100644
View file @
d9d6237b
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/views/gasBottleTrack/illegal/index.vue
0 → 100644
View file @
d9d6237b
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