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
09afdd69
Commit
09afdd69
authored
Jul 19, 2024
by
耿迪迪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://111.61.77.35:9999/wanghao/zh-baseversion-project
parents
2fdd9995
1e799bc2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
TConGasProInforController.java
.../web/controller/thirdbuild/TConGasProInforController.java
+3
-1
TConGasProInfor.java
...c/main/java/com/zehong/system/domain/TConGasProInfor.java
+7
-5
TConGasProInforServiceImpl.java
...ehong/system/service/impl/TConGasProInforServiceImpl.java
+8
-3
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/thirdbuild/TConGasProInforController.java
View file @
09afdd69
...
...
@@ -58,7 +58,9 @@ public class TConGasProInforController extends BaseController
{
List
<
TConGasProInfor
>
list
=
tConGasProInforService
.
exportTConGasProInforList
(
tConGasProInfor
);
ExcelUtil
<
TConGasProInfor
>
util
=
new
ExcelUtil
<
TConGasProInfor
>(
TConGasProInfor
.
class
);
return
util
.
exportExcel
(
list
,
"第三方施工-涉气第三方施工项目档案数据"
);
AjaxResult
ajaxResult
=
util
.
exportExcel
(
list
,
"第三方施工-涉气第三方施工项目档案数据"
);
ExcelUtil
.
hiddencolumns
.
clear
();
return
ajaxResult
;
}
/**
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TConGasProInfor.java
View file @
09afdd69
...
...
@@ -203,16 +203,18 @@ public class TConGasProInfor extends BaseEntity
private
Date
entUploadTime
;
/**
* 政府端上传时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
govUploadTime
;
/**
* 企业端上传状态 0-未上传,1-已上传*/
@Excel
(
name
=
"上传状态"
,
readConverterExp
=
"1=已上传,0=未上传"
)
private
String
govUploadState
;
/**
* 政府端上传时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@Excel
(
name
=
"上传时间"
,
dateFormat
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
govUploadTime
;
public
void
updateFields
()
{
this
.
entUploadState
=
govUploadState
;
if
(
govUploadTime
!=
null
)
{
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TConGasProInforServiceImpl.java
View file @
09afdd69
...
...
@@ -5,6 +5,7 @@ import com.zehong.common.core.domain.entity.SysRole;
import
com.zehong.common.core.domain.model.LoginUser
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.*
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.domain.TConGasProInfor
;
import
com.zehong.system.domain.TPipeOldPlanProcess
;
...
...
@@ -99,9 +100,13 @@ public class TConGasProInforServiceImpl implements ITConGasProInforService
List
<
TConGasProInfor
>
tConGasProInfors
=
tConGasProInforMapper
.
exportTConGasProInforList
(
tConGasProInfor
);
if
(
loginUser
.
getUser
().
getRoles
().
get
(
0
).
getRoleId
()==
3
){
if
(
tConGasProInfors
.
size
()
>
0
)
{
return
tConGasProInfors
.
stream
().
peek
(
TConGasProInfor:
:
updateFields
).
collect
(
Collectors
.
toList
());
}
ExcelUtil
.
hiddencolumns
.
add
(
36
);
ExcelUtil
.
hiddencolumns
.
add
(
37
);
}
if
(
loginUser
.
getUser
().
getRoles
().
get
(
0
).
getRoleId
()==
5
){
ExcelUtil
.
hiddencolumns
.
add
(
38
);
ExcelUtil
.
hiddencolumns
.
add
(
39
);
}
return
tConGasProInforMapper
.
exportTConGasProInforList
(
tConGasProInfor
);
}
...
...
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