Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
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
ca11e965
Commit
ca11e965
authored
Jul 09, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 液化石油气监管-气瓶档案模块功能开发
parent
371043f1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1935 additions
and
2 deletions
+1935
-2
TLpgGasBottleFilesController.java
...ontroller/lpgRegulation/TLpgGasBottleFilesController.java
+97
-0
TLpgGasBottleFiles.java
...ain/java/com/zehong/system/domain/TLpgGasBottleFiles.java
+659
-0
TLpgGasBottleFilesMapper.java
...va/com/zehong/system/mapper/TLpgGasBottleFilesMapper.java
+61
-0
ITLpgGasBottleFilesService.java
...com/zehong/system/service/ITLpgGasBottleFilesService.java
+61
-0
GovernmentSupervisionInfoServiceImpl.java
...em/service/impl/GovernmentSupervisionInfoServiceImpl.java
+6
-2
TLpgGasBottleFilesServiceImpl.java
...ng/system/service/impl/TLpgGasBottleFilesServiceImpl.java
+93
-0
TLpgGasBottleFilesMapper.xml
...main/resources/mapper/system/TLpgGasBottleFilesMapper.xml
+246
-0
files.js
zh-baseversion-web/src/api/lpgRegulation/files.js
+53
-0
indexInfo.vue
...ews/lpgRegulation/gasbottlefiles/components/indexInfo.vue
+326
-0
index.vue
...sion-web/src/views/lpgRegulation/gasbottlefiles/index.vue
+333
-0
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/lpgRegulation/TLpgGasBottleFilesController.java
0 → 100644
View file @
ca11e965
package
com
.
zehong
.
web
.
controller
.
lpgRegulation
;
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.TLpgGasBottleFiles
;
import
com.zehong.system.service.ITLpgGasBottleFilesService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* 液化石油气-气瓶档案Controller
*
* @author zehong
* @date 2024-07-09
*/
@RestController
@RequestMapping
(
"/lpg/gasbottlefiles"
)
public
class
TLpgGasBottleFilesController
extends
BaseController
{
@Autowired
private
ITLpgGasBottleFilesService
tLpgGasBottleFilesService
;
/**
* 查询液化石油气-气瓶档案列表
*/
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
startPage
();
List
<
TLpgGasBottleFiles
>
list
=
tLpgGasBottleFilesService
.
selectTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
return
getDataTable
(
list
);
}
/**
* 导出液化石油气-气瓶档案列表
*/
@Log
(
title
=
"液化石油气-气瓶档案"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
List
<
TLpgGasBottleFiles
>
list
=
tLpgGasBottleFilesService
.
selectTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<
TLpgGasBottleFiles
>(
TLpgGasBottleFiles
.
class
);
return
util
.
exportExcel
(
list
,
"液化石油气-气瓶档案数据"
);
}
/**
* 获取液化石油气-气瓶档案详细信息
*/
@GetMapping
(
value
=
"/{fGasBottleFilesId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"fGasBottleFilesId"
)
Long
fGasBottleFilesId
)
{
return
AjaxResult
.
success
(
tLpgGasBottleFilesService
.
selectTLpgGasBottleFilesById
(
fGasBottleFilesId
));
}
/**
* 新增液化石油气-气瓶档案
*/
@Log
(
title
=
"液化石油气-气瓶档案"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
return
toAjax
(
tLpgGasBottleFilesService
.
insertTLpgGasBottleFiles
(
tLpgGasBottleFiles
));
}
/**
* 修改液化石油气-气瓶档案
*/
@Log
(
title
=
"液化石油气-气瓶档案"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
return
toAjax
(
tLpgGasBottleFilesService
.
updateTLpgGasBottleFiles
(
tLpgGasBottleFiles
));
}
/**
* 删除液化石油气-气瓶档案
*/
@Log
(
title
=
"液化石油气-气瓶档案"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{fGasBottleFilesIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
fGasBottleFilesIds
)
{
return
toAjax
(
tLpgGasBottleFilesService
.
deleteTLpgGasBottleFilesByIds
(
fGasBottleFilesIds
));
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/TLpgGasBottleFiles.java
0 → 100644
View file @
ca11e965
This diff is collapsed.
Click to expand it.
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TLpgGasBottleFilesMapper.java
0 → 100644
View file @
ca11e965
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.TLpgGasBottleFiles
;
/**
* 液化石油气-气瓶档案Mapper接口
*
* @author zehong
* @date 2024-07-09
*/
public
interface
TLpgGasBottleFilesMapper
{
/**
* 查询液化石油气-气瓶档案
*
* @param fGasBottleFilesId 液化石油气-气瓶档案ID
* @return 液化石油气-气瓶档案
*/
public
TLpgGasBottleFiles
selectTLpgGasBottleFilesById
(
Long
fGasBottleFilesId
);
/**
* 查询液化石油气-气瓶档案列表
*
* @param tLpgGasBottleFiles 液化石油气-气瓶档案
* @return 液化石油气-气瓶档案集合
*/
public
List
<
TLpgGasBottleFiles
>
selectTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 新增液化石油气-气瓶档案
*
* @param tLpgGasBottleFiles 液化石油气-气瓶档案
* @return 结果
*/
public
int
insertTLpgGasBottleFiles
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 修改液化石油气-气瓶档案
*
* @param tLpgGasBottleFiles 液化石油气-气瓶档案
* @return 结果
*/
public
int
updateTLpgGasBottleFiles
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 删除液化石油气-气瓶档案
*
* @param fGasBottleFilesId 液化石油气-气瓶档案ID
* @return 结果
*/
public
int
deleteTLpgGasBottleFilesById
(
Long
fGasBottleFilesId
);
/**
* 批量删除液化石油气-气瓶档案
*
* @param fGasBottleFilesIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteTLpgGasBottleFilesByIds
(
Long
[]
fGasBottleFilesIds
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITLpgGasBottleFilesService.java
0 → 100644
View file @
ca11e965
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.TLpgGasBottleFiles
;
/**
* 液化石油气-气瓶档案Service接口
*
* @author zehong
* @date 2024-07-09
*/
public
interface
ITLpgGasBottleFilesService
{
/**
* 查询液化石油气-气瓶档案
*
* @param fGasBottleFilesId 液化石油气-气瓶档案ID
* @return 液化石油气-气瓶档案
*/
public
TLpgGasBottleFiles
selectTLpgGasBottleFilesById
(
Long
fGasBottleFilesId
);
/**
* 查询液化石油气-气瓶档案列表
*
* @param tLpgGasBottleFiles 液化石油气-气瓶档案
* @return 液化石油气-气瓶档案集合
*/
public
List
<
TLpgGasBottleFiles
>
selectTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 新增液化石油气-气瓶档案
*
* @param tLpgGasBottleFiles 液化石油气-气瓶档案
* @return 结果
*/
public
int
insertTLpgGasBottleFiles
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 修改液化石油气-气瓶档案
*
* @param tLpgGasBottleFiles 液化石油气-气瓶档案
* @return 结果
*/
public
int
updateTLpgGasBottleFiles
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 批量删除液化石油气-气瓶档案
*
* @param fGasBottleFilesIds 需要删除的液化石油气-气瓶档案ID
* @return 结果
*/
public
int
deleteTLpgGasBottleFilesByIds
(
Long
[]
fGasBottleFilesIds
);
/**
* 删除液化石油气-气瓶档案信息
*
* @param fGasBottleFilesId 液化石油气-气瓶档案ID
* @return 结果
*/
public
int
deleteTLpgGasBottleFilesById
(
Long
fGasBottleFilesId
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/GovernmentSupervisionInfoServiceImpl.java
View file @
ca11e965
...
...
@@ -191,8 +191,10 @@ public class GovernmentSupervisionInfoServiceImpl implements GovernmentSupervisi
GovernmentDataCopyUtil
.
copyToLocalData
(
proAppInforBrowseVo
,
tProAppInforBrowse
);
proAppInforBrowseList
.
add
(
tProAppInforBrowse
);
}
if
(
proAppInforBrowseList
.
size
()
>
0
)
{
tProAppInforBrowseMapper
.
batchInsertTProAppInforBrowse
(
proAppInforBrowseList
);
}
}
return
json
;
}
...
...
@@ -216,8 +218,10 @@ public class GovernmentSupervisionInfoServiceImpl implements GovernmentSupervisi
GovernmentDataCopyUtil
.
copyToLocalData
(
proBehInfoBrowseVo
,
proBehInforBrowse
);
proBehInforBrowseList
.
add
(
proBehInforBrowse
);
}
if
(
proBehInforBrowseList
.
size
()
>
0
)
{
fProBehInforBrowseMapper
.
batchInsertFProBehInforBrowse
(
proBehInforBrowseList
);
}
}
return
json
;
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TLpgGasBottleFilesServiceImpl.java
0 → 100644
View file @
ca11e965
package
com
.
zehong
.
system
.
service
.
impl
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.TLpgGasBottleFilesMapper
;
import
com.zehong.system.domain.TLpgGasBottleFiles
;
import
com.zehong.system.service.ITLpgGasBottleFilesService
;
/**
* 液化石油气-气瓶档案Service业务层处理
*
* @author zehong
* @date 2024-07-09
*/
@Service
public
class
TLpgGasBottleFilesServiceImpl
implements
ITLpgGasBottleFilesService
{
@Autowired
private
TLpgGasBottleFilesMapper
tLpgGasBottleFilesMapper
;
/**
* 查询液化石油气-气瓶档案
*
* @param fGasBottleFilesId 液化石油气-气瓶档案ID
* @return 液化石油气-气瓶档案
*/
@Override
public
TLpgGasBottleFiles
selectTLpgGasBottleFilesById
(
Long
fGasBottleFilesId
)
{
return
tLpgGasBottleFilesMapper
.
selectTLpgGasBottleFilesById
(
fGasBottleFilesId
);
}
/**
* 查询液化石油气-气瓶档案列表
*
* @param tLpgGasBottleFiles 液化石油气-气瓶档案
* @return 液化石油气-气瓶档案
*/
@Override
public
List
<
TLpgGasBottleFiles
>
selectTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
return
tLpgGasBottleFilesMapper
.
selectTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
}
/**
* 新增液化石油气-气瓶档案
*
* @param tLpgGasBottleFiles 液化石油气-气瓶档案
* @return 结果
*/
@Override
public
int
insertTLpgGasBottleFiles
(
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
return
tLpgGasBottleFilesMapper
.
insertTLpgGasBottleFiles
(
tLpgGasBottleFiles
);
}
/**
* 修改液化石油气-气瓶档案
*
* @param tLpgGasBottleFiles 液化石油气-气瓶档案
* @return 结果
*/
@Override
public
int
updateTLpgGasBottleFiles
(
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
return
tLpgGasBottleFilesMapper
.
updateTLpgGasBottleFiles
(
tLpgGasBottleFiles
);
}
/**
* 批量删除液化石油气-气瓶档案
*
* @param fGasBottleFilesIds 需要删除的液化石油气-气瓶档案ID
* @return 结果
*/
@Override
public
int
deleteTLpgGasBottleFilesByIds
(
Long
[]
fGasBottleFilesIds
)
{
return
tLpgGasBottleFilesMapper
.
deleteTLpgGasBottleFilesByIds
(
fGasBottleFilesIds
);
}
/**
* 删除液化石油气-气瓶档案信息
*
* @param fGasBottleFilesId 液化石油气-气瓶档案ID
* @return 结果
*/
@Override
public
int
deleteTLpgGasBottleFilesById
(
Long
fGasBottleFilesId
)
{
return
tLpgGasBottleFilesMapper
.
deleteTLpgGasBottleFilesById
(
fGasBottleFilesId
);
}
}
zh-baseversion-system/src/main/resources/mapper/system/TLpgGasBottleFilesMapper.xml
0 → 100644
View file @
ca11e965
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/api/lpgRegulation/files.js
0 → 100644
View file @
ca11e965
import
request
from
'@/utils/request'
// 查询液化石油气-气瓶档案列表
export
function
listFiles
(
query
)
{
return
request
({
url
:
'/lpg/gasbottlefiles/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询液化石油气-气瓶档案详细
export
function
getFiles
(
fGasBottleFilesId
)
{
return
request
({
url
:
'/lpg/gasbottlefiles/'
+
fGasBottleFilesId
,
method
:
'get'
})
}
// 新增液化石油气-气瓶档案
export
function
addFiles
(
data
)
{
return
request
({
url
:
'/lpg/gasbottlefiles'
,
method
:
'post'
,
data
:
data
})
}
// 修改液化石油气-气瓶档案
export
function
updateFiles
(
data
)
{
return
request
({
url
:
'/lpg/gasbottlefiles'
,
method
:
'put'
,
data
:
data
})
}
// 删除液化石油气-气瓶档案
export
function
delFiles
(
fGasBottleFilesId
)
{
return
request
({
url
:
'/lpg/gasbottlefiles/'
+
fGasBottleFilesId
,
method
:
'delete'
})
}
// 导出液化石油气-气瓶档案
export
function
exportFiles
(
query
)
{
return
request
({
url
:
'/lpg/gasbottlefiles/export'
,
method
:
'get'
,
params
:
query
})
}
zh-baseversion-web/src/views/lpgRegulation/gasbottlefiles/components/indexInfo.vue
0 → 100644
View file @
ca11e965
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/views/lpgRegulation/gasbottlefiles/index.vue
0 → 100644
View file @
ca11e965
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