Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
tianjin-cement
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
竹天卫
tianjin-cement
Commits
df036b76
Commit
df036b76
authored
Oct 18, 2020
by
竹天卫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://111.203.232.171:8888/zhutianwei/tianjin-cement
parents
2cb80504
cd8e18c0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
26 deletions
+35
-26
NormProductionController.java
.../cement/business/controller/NormProductionController.java
+1
-0
NormProduction.java
...ava/cn/wise/sc/cement/business/entity/NormProduction.java
+0
-1
ProductionVo.java
...ava/cn/wise/sc/cement/business/model/vo/ProductionVo.java
+2
-0
NormProductionServiceImpl.java
...ment/business/service/impl/NormProductionServiceImpl.java
+32
-25
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/controller/NormProductionController.java
View file @
df036b76
...
@@ -164,6 +164,7 @@ public class NormProductionController {
...
@@ -164,6 +164,7 @@ public class NormProductionController {
finalNormProduction
.
setPosition
(
productionVo
.
getPosition
());
finalNormProduction
.
setPosition
(
productionVo
.
getPosition
());
finalNormProduction
.
setTime
(
productionVo
.
getTime
());
finalNormProduction
.
setTime
(
productionVo
.
getTime
());
finalNormProduction
.
setGroupId
(
productionVo
.
getGroupId
());
finalNormProduction
.
setGroupId
(
productionVo
.
getGroupId
());
finalNormProduction
.
setGroupName
(
productionVo
.
getGroupName
());
Double
newFinalValue
=
productionVo
.
getProductionTotalValue
()+
finalNormProduction
.
getProductionTotalValue
();
Double
newFinalValue
=
productionVo
.
getProductionTotalValue
()+
finalNormProduction
.
getProductionTotalValue
();
finalNormProduction
.
setProductionTotalValue
(
newFinalValue
);
finalNormProduction
.
setProductionTotalValue
(
newFinalValue
);
...
...
cement-business/src/main/java/cn/wise/sc/cement/business/entity/NormProduction.java
View file @
df036b76
...
@@ -120,7 +120,6 @@ public class NormProduction implements Serializable {
...
@@ -120,7 +120,6 @@ public class NormProduction implements Serializable {
private
BigDecimal
workTimeCoefficient
;
private
BigDecimal
workTimeCoefficient
;
private
Integer
type
;
private
Integer
type
;
private
String
groupTeamName
;
private
String
groupTeamName
;
private
Integer
groupId
;
}
}
}
}
cement-business/src/main/java/cn/wise/sc/cement/business/model/vo/ProductionVo.java
View file @
df036b76
...
@@ -38,4 +38,6 @@ public class ProductionVo implements Serializable {
...
@@ -38,4 +38,6 @@ public class ProductionVo implements Serializable {
private
Double
productionTotalValue
=
0
D
;
private
Double
productionTotalValue
=
0
D
;
@ApiModelProperty
(
"部门id"
)
@ApiModelProperty
(
"部门id"
)
private
Integer
groupId
;
private
Integer
groupId
;
@ApiModelProperty
(
"部门名"
)
private
String
groupName
;
}
}
cement-business/src/main/java/cn/wise/sc/cement/business/service/impl/NormProductionServiceImpl.java
View file @
df036b76
...
@@ -5,17 +5,7 @@ import cn.hutool.core.collection.CollectionUtil;
...
@@ -5,17 +5,7 @@ import cn.hutool.core.collection.CollectionUtil;
import
cn.hutool.core.date.DateTime
;
import
cn.hutool.core.date.DateTime
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.core.util.StrUtil
;
import
cn.wise.sc.cement.business.entity.EntrustSample
;
import
cn.wise.sc.cement.business.entity.*
;
import
cn.wise.sc.cement.business.entity.Handle
;
import
cn.wise.sc.cement.business.entity.NonStandardValue
;
import
cn.wise.sc.cement.business.entity.NormProduction
;
import
cn.wise.sc.cement.business.entity.NormProductionStatistics
;
import
cn.wise.sc.cement.business.entity.SampleCheckTeam
;
import
cn.wise.sc.cement.business.entity.SampleDistribution
;
import
cn.wise.sc.cement.business.entity.SampleHandle
;
import
cn.wise.sc.cement.business.entity.SysPost
;
import
cn.wise.sc.cement.business.entity.SysUser
;
import
cn.wise.sc.cement.business.entity.TeamGroup
;
import
cn.wise.sc.cement.business.mapper.NormProductionMapper
;
import
cn.wise.sc.cement.business.mapper.NormProductionMapper
;
import
cn.wise.sc.cement.business.model.BaseResponse
;
import
cn.wise.sc.cement.business.model.BaseResponse
;
import
cn.wise.sc.cement.business.model.PageQuery
;
import
cn.wise.sc.cement.business.model.PageQuery
;
...
@@ -261,13 +251,19 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -261,13 +251,19 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
qw
.
in
(
"id"
,
userIds
);
qw
.
in
(
"id"
,
userIds
);
List
<
SysUser
>
users
=
iSysUserService
.
list
(
qw
);
List
<
SysUser
>
users
=
iSysUserService
.
list
(
qw
);
List
<
SysPost
>
sysPosts
=
iSysPostService
.
list
();
List
<
SysPost
>
sysPosts
=
iSysPostService
.
list
();
List
<
SysGroup
>
sysGroups
=
iSysGroupService
.
list
();
for
(
Integer
userId
:
coefficientMap
.
keySet
())
{
for
(
Integer
userId
:
coefficientMap
.
keySet
())
{
SysUser
sysUser
=
users
.
stream
()
SysUser
sysUser
=
users
.
stream
()
.
filter
(
arg
->
arg
.
getId
().
intValue
()
==
userId
)
.
filter
(
arg
->
arg
.
getId
().
intValue
()
==
userId
)
.
findFirst
().
orElse
(
null
);
.
findFirst
().
orElse
(
null
);
SysGroup
sysGroup
=
sysGroups
.
stream
().
filter
(
arg
->
arg
.
getId
().
intValue
()
==
userId
)
.
findFirst
().
orElse
(
null
);
if
(
sysUser
==
null
)
{
if
(
sysUser
==
null
)
{
continue
;
continue
;
}
}
if
(
sysGroup
==
null
)
{
continue
;
}
NormProductionStatistics
productionStatistics
=
new
NormProductionStatistics
();
NormProductionStatistics
productionStatistics
=
new
NormProductionStatistics
();
productionStatistics
.
setAccount
(
sysUser
.
getUsername
());
productionStatistics
.
setAccount
(
sysUser
.
getUsername
());
productionStatistics
.
setCoefficient
(
coefficientMap
.
get
(
userId
).
doubleValue
());
productionStatistics
.
setCoefficient
(
coefficientMap
.
get
(
userId
).
doubleValue
());
...
@@ -285,11 +281,17 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -285,11 +281,17 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
productionStatistics
.
setUserId
(
sysUser
.
getId
()
+
""
);
productionStatistics
.
setUserId
(
sysUser
.
getId
()
+
""
);
productionStatistics
.
setUserName
(
sysUser
.
getName
());
productionStatistics
.
setUserName
(
sysUser
.
getName
());
productionStatistics
.
setGroupId
(
sysUser
.
getGroupId
());
productionStatistics
.
setGroupId
(
sysUser
.
getGroupId
());
productionStatistics
.
setGroupName
(
sysGroup
.
getName
());
SysPost
sysPost
=
sysPosts
.
stream
()
SysPost
sysPost
=
sysPosts
.
stream
()
.
filter
(
arg
->
arg
.
getId
().
intValue
()
==
sysUser
.
getPostId
()).
.
filter
(
arg
->
arg
.
getId
().
intValue
()
==
sysUser
.
getPostId
()).
findFirst
().
orElse
(
null
);
findFirst
().
orElse
(
null
);
SysGroup
sysGroup1
=
sysGroups
.
stream
()
.
filter
(
arg
->
arg
.
getId
().
intValue
()
==
sysGroup
.
getId
()).
findFirst
().
orElse
(
null
);
productionStatistics
.
setPosition
(
sysPost
==
null
?
"职务一"
:
sysPost
.
getName
());
productionStatistics
.
setPosition
(
sysPost
==
null
?
"职务一"
:
sysPost
.
getName
());
productionStatistics
.
setGroupName
(
sysGroup
==
null
?
"部门名"
:
sysGroup
.
getName
());
rts
.
add
(
productionStatistics
);
rts
.
add
(
productionStatistics
);
}
}
...
@@ -357,6 +359,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -357,6 +359,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
List
<
Integer
>
userIds
=
rts
.
stream
()
List
<
Integer
>
userIds
=
rts
.
stream
()
.
map
(
NormProduction
.
NormProductionDetail
::
getUserId
)
.
map
(
NormProduction
.
NormProductionDetail
::
getUserId
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
if
(
userIds
.
size
()
==
0
)
{
if
(
userIds
.
size
()
==
0
)
{
return
new
ArrayList
<>();
return
new
ArrayList
<>();
}
}
...
@@ -365,10 +368,6 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -365,10 +368,6 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
.
filter
(
opt
->
opt
.
getId
().
intValue
()
==
arg
.
getUserId
())
.
filter
(
opt
->
opt
.
getId
().
intValue
()
==
arg
.
getUserId
())
.
findFirst
()
.
findFirst
()
.
ifPresent
(
sysUser
->
arg
.
setUserName
(
sysUser
.
getName
())));
.
ifPresent
(
sysUser
->
arg
.
setUserName
(
sysUser
.
getName
())));
rts
.
forEach
(
arg
->
users
.
stream
()
.
filter
(
opt
->
opt
.
getId
().
intValue
()
==
arg
.
getUserId
())
.
findFirst
()
.
ifPresent
(
sysUser
->
arg
.
setGroupId
(
sysUser
.
getGroupId
())));
return
rts
;
return
rts
;
}
}
...
@@ -406,6 +405,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -406,6 +405,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
productionVo
.
setPosition
(
opt
.
getPosition
());
productionVo
.
setPosition
(
opt
.
getPosition
());
productionVo
.
setAccount
(
opt
.
getAccount
());
productionVo
.
setAccount
(
opt
.
getAccount
());
productionVo
.
setGroupId
(
opt
.
getGroupId
());
productionVo
.
setGroupId
(
opt
.
getGroupId
());
productionVo
.
setGroupName
(
opt
.
getGroupName
());
}
}
});
});
//找到标准产值里面的数据
//找到标准产值里面的数据
...
@@ -421,6 +421,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -421,6 +421,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
qw
.
in
(
"id"
,
userIds
);
qw
.
in
(
"id"
,
userIds
);
List
<
SysUser
>
users
=
iSysUserService
.
list
(
qw
);
List
<
SysUser
>
users
=
iSysUserService
.
list
(
qw
);
List
<
SysPost
>
sysPosts
=
iSysPostService
.
list
();
List
<
SysPost
>
sysPosts
=
iSysPostService
.
list
();
List
<
SysGroup
>
sysGroups
=
iSysGroupService
.
list
();
Date
finalStartDate
=
startDate
;
Date
finalStartDate
=
startDate
;
Date
finalEndDate
=
endDate
;
Date
finalEndDate
=
endDate
;
rts
.
forEach
(
arg
->
{
rts
.
forEach
(
arg
->
{
...
@@ -438,6 +439,10 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -438,6 +439,10 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
sysPosts
.
stream
().
filter
(
opt
->
arg
.
getPositionId
().
intValue
()
==
opt
.
getId
())
sysPosts
.
stream
().
filter
(
opt
->
arg
.
getPositionId
().
intValue
()
==
opt
.
getId
())
.
findFirst
()
.
findFirst
()
.
ifPresent
(
opt
->
arg
.
setPosition
(
opt
.
getName
()));
.
ifPresent
(
opt
->
arg
.
setPosition
(
opt
.
getName
()));
sysGroups
.
stream
().
filter
(
opt
->
arg
.
getGroupId
().
intValue
()
==
opt
.
getId
())
.
findFirst
()
.
ifPresent
(
opt
->
arg
.
setGroupName
(
opt
.
getName
()));
}
}
arg
.
setProductionTotalValue
(
arg
.
getNonProductionValue
()
+
arg
.
getProductionValue
());
arg
.
setProductionTotalValue
(
arg
.
getNonProductionValue
()
+
arg
.
getProductionValue
());
});
});
...
@@ -463,7 +468,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -463,7 +468,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
if
(
listBaseResponse
.
getCode
()
==
200
)
{
if
(
listBaseResponse
.
getCode
()
==
200
)
{
List
<
NormProductionStatistics
>
data
=
listBaseResponse
.
getData
();
List
<
NormProductionStatistics
>
data
=
listBaseResponse
.
getData
();
if
(
CollectionUtil
.
isNotEmpty
(
data
))
{
if
(
CollectionUtil
.
isNotEmpty
(
data
))
{
String
[]
headers
=
new
String
[
9
];
String
[]
headers
=
new
String
[
10
];
headers
[
0
]
=
"用户编号"
;
headers
[
0
]
=
"用户编号"
;
headers
[
1
]
=
"用户名"
;
headers
[
1
]
=
"用户名"
;
headers
[
2
]
=
"账号"
;
headers
[
2
]
=
"账号"
;
...
@@ -473,10 +478,11 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -473,10 +478,11 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
headers
[
6
]
=
"检测项目数"
;
headers
[
6
]
=
"检测项目数"
;
headers
[
7
]
=
"产值绩效"
;
headers
[
7
]
=
"产值绩效"
;
headers
[
8
]
=
"部门id"
;
headers
[
8
]
=
"部门id"
;
headers
[
9
]
=
"部门名"
;
List
<
Object
[]>
exportData
=
new
ArrayList
<>(
data
.
size
());
List
<
Object
[]>
exportData
=
new
ArrayList
<>(
data
.
size
());
for
(
NormProductionStatistics
productionStatistics
:
data
)
{
for
(
NormProductionStatistics
productionStatistics
:
data
)
{
Object
[]
objs
=
new
Object
[
9
];
Object
[]
objs
=
new
Object
[
10
];
objs
[
0
]
=
productionStatistics
.
getUserId
();
objs
[
0
]
=
productionStatistics
.
getUserId
();
objs
[
1
]
=
productionStatistics
.
getUserName
();
objs
[
1
]
=
productionStatistics
.
getUserName
();
objs
[
2
]
=
productionStatistics
.
getAccount
();
objs
[
2
]
=
productionStatistics
.
getAccount
();
...
@@ -486,6 +492,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -486,6 +492,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
objs
[
6
]
=
productionStatistics
.
getCount
();
objs
[
6
]
=
productionStatistics
.
getCount
();
objs
[
7
]
=
productionStatistics
.
getCoefficient
();
objs
[
7
]
=
productionStatistics
.
getCoefficient
();
objs
[
8
]
=
productionStatistics
.
getGroupId
();
objs
[
8
]
=
productionStatistics
.
getGroupId
();
objs
[
9
]
=
productionStatistics
.
getGroupName
();
exportData
.
add
(
objs
);
exportData
.
add
(
objs
);
}
}
ExcelUtil
.
excelExport
(
ExcelUtil
.
excelExport
(
...
@@ -499,7 +506,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -499,7 +506,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
public
void
exportNormProductionDetail
(
Integer
userId
,
Long
startTime
,
Long
endTime
,
HttpServletResponse
response
)
{
public
void
exportNormProductionDetail
(
Integer
userId
,
Long
startTime
,
Long
endTime
,
HttpServletResponse
response
)
{
List
<
NormProduction
.
NormProductionDetail
>
normProductionDetails
=
normProductionDetails
(
userId
,
startTime
,
endTime
);
List
<
NormProduction
.
NormProductionDetail
>
normProductionDetails
=
normProductionDetails
(
userId
,
startTime
,
endTime
);
if
(
CollectionUtil
.
isNotEmpty
(
normProductionDetails
))
{
if
(
CollectionUtil
.
isNotEmpty
(
normProductionDetails
))
{
String
[]
headers
=
new
String
[
1
2
];
String
[]
headers
=
new
String
[
1
3
];
headers
[
0
]
=
"序号"
;
headers
[
0
]
=
"序号"
;
headers
[
1
]
=
"名字"
;
headers
[
1
]
=
"名字"
;
headers
[
2
]
=
"检测项目"
;
headers
[
2
]
=
"检测项目"
;
...
@@ -510,13 +517,12 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -510,13 +517,12 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
headers
[
7
]
=
"分样占比"
;
headers
[
7
]
=
"分样占比"
;
headers
[
8
]
=
"校核占比"
;
headers
[
8
]
=
"校核占比"
;
headers
[
9
]
=
"报结果占比"
;
headers
[
9
]
=
"报结果占比"
;
headers
[
10
]
=
"部门id"
;
headers
[
10
]
=
"合计"
;
headers
[
11
]
=
"合计"
;
List
<
Object
[]>
exportData
=
new
ArrayList
<>(
normProductionDetails
.
size
());
List
<
Object
[]>
exportData
=
new
ArrayList
<>(
normProductionDetails
.
size
());
int
count
=
0
;
int
count
=
0
;
DateTimeFormatter
timeFormatter
=
DateTimeFormatter
.
ofPattern
(
"yyyy年MM月dd日 hh:mm:ss"
);
DateTimeFormatter
timeFormatter
=
DateTimeFormatter
.
ofPattern
(
"yyyy年MM月dd日 hh:mm:ss"
);
for
(
NormProduction
.
NormProductionDetail
target
:
normProductionDetails
)
{
for
(
NormProduction
.
NormProductionDetail
target
:
normProductionDetails
)
{
Object
[]
objs
=
new
Object
[
1
2
];
Object
[]
objs
=
new
Object
[
1
3
];
objs
[
0
]
=
count
++;
objs
[
0
]
=
count
++;
objs
[
1
]
=
target
.
getUserName
();
objs
[
1
]
=
target
.
getUserName
();
objs
[
2
]
=
target
.
getGroupTeamName
();
objs
[
2
]
=
target
.
getGroupTeamName
();
...
@@ -527,8 +533,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -527,8 +533,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
objs
[
7
]
=
target
.
getSeparateRate
();
objs
[
7
]
=
target
.
getSeparateRate
();
objs
[
8
]
=
target
.
getAssessRate
();
objs
[
8
]
=
target
.
getAssessRate
();
objs
[
9
]
=
target
.
getReportedResultRate
();
objs
[
9
]
=
target
.
getReportedResultRate
();
objs
[
10
]
=
target
.
getGroupId
();
objs
[
10
]
=
target
.
getWorkTimeCoefficient
();
objs
[
11
]
=
target
.
getWorkTimeCoefficient
();
exportData
.
add
(
objs
);
exportData
.
add
(
objs
);
}
}
ExcelUtil
.
excelExport
(
"标准产值详情—"
+
normProductionDetails
.
get
(
0
).
getUserName
(),
headers
,
exportData
,
response
);
ExcelUtil
.
excelExport
(
"标准产值详情—"
+
normProductionDetails
.
get
(
0
).
getUserName
(),
headers
,
exportData
,
response
);
...
@@ -539,7 +544,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -539,7 +544,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
public
void
exportProduction
(
String
name
,
Long
startTime
,
Long
endTime
,
Integer
groupId
,
HttpServletResponse
response
)
{
public
void
exportProduction
(
String
name
,
Long
startTime
,
Long
endTime
,
Integer
groupId
,
HttpServletResponse
response
)
{
List
<
ProductionVo
>
data
=
production
(
name
,
startTime
,
endTime
,
groupId
);
List
<
ProductionVo
>
data
=
production
(
name
,
startTime
,
endTime
,
groupId
);
if
(
CollectionUtil
.
isNotEmpty
(
data
))
{
if
(
CollectionUtil
.
isNotEmpty
(
data
))
{
String
[]
headers
=
new
String
[
9
];
String
[]
headers
=
new
String
[
10
];
headers
[
0
]
=
"序号"
;
headers
[
0
]
=
"序号"
;
headers
[
1
]
=
"姓名"
;
headers
[
1
]
=
"姓名"
;
headers
[
2
]
=
"账户"
;
headers
[
2
]
=
"账户"
;
...
@@ -549,10 +554,11 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -549,10 +554,11 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
headers
[
6
]
=
"非标准产值"
;
headers
[
6
]
=
"非标准产值"
;
headers
[
7
]
=
"产值统计"
;
headers
[
7
]
=
"产值统计"
;
headers
[
8
]
=
"部门id"
;
headers
[
8
]
=
"部门id"
;
headers
[
9
]
=
"部门名"
;
List
<
Object
[]>
exportData
=
new
ArrayList
<>(
data
.
size
());
List
<
Object
[]>
exportData
=
new
ArrayList
<>(
data
.
size
());
int
count
=
0
;
int
count
=
0
;
for
(
ProductionVo
target
:
data
)
{
for
(
ProductionVo
target
:
data
)
{
Object
[]
objs
=
new
Object
[
9
];
Object
[]
objs
=
new
Object
[
10
];
objs
[
0
]
=
count
++;
objs
[
0
]
=
count
++;
objs
[
1
]
=
target
.
getUserName
();
objs
[
1
]
=
target
.
getUserName
();
objs
[
2
]
=
target
.
getAccount
();
objs
[
2
]
=
target
.
getAccount
();
...
@@ -562,6 +568,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
...
@@ -562,6 +568,7 @@ public class NormProductionServiceImpl extends ServiceImpl<NormProductionMapper,
objs
[
6
]
=
target
.
getNonProductionValue
();
objs
[
6
]
=
target
.
getNonProductionValue
();
objs
[
7
]
=
target
.
getProductionTotalValue
();
objs
[
7
]
=
target
.
getProductionTotalValue
();
objs
[
8
]
=
target
.
getGroupId
();
objs
[
8
]
=
target
.
getGroupId
();
objs
[
9
]
=
target
.
getGroupName
();
exportData
.
add
(
objs
);
exportData
.
add
(
objs
);
}
}
ExcelUtil
.
excelExport
(
"产值统计"
,
headers
,
exportData
,
response
);
ExcelUtil
.
excelExport
(
"产值统计"
,
headers
,
exportData
,
response
);
...
...
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