|
@@ -13416,7 +13416,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
|
|
|
//导出FTE报表数据
|
|
|
@Override
|
|
|
- public HttpRespMsg exportFTEData(String monthStart,String monthEnd, String area,HttpServletRequest request) {
|
|
|
+ public HttpRespMsg exportFTEData(String monthStart,String monthEnd, String area,Integer departmentId,HttpServletRequest request) {
|
|
|
HttpRespMsg httpRespMsg = new HttpRespMsg();
|
|
|
User user = userMapper.selectById(request.getHeader("token"));
|
|
|
WxCorpInfo wxCorpInfo = wxCorpInfoMapper.selectOne(new QueryWrapper<WxCorpInfo>().eq("company_id", user.getCompanyId()));
|
|
@@ -13426,7 +13426,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
if (userCustoms.size() != 0){
|
|
|
customName = userCustoms.get(0).getName();
|
|
|
}
|
|
|
- HttpRespMsg fteData = getFTEData(null, null, monthStart,monthEnd, area,null,null,null,null,request);
|
|
|
+ HttpRespMsg fteData = getFTEData(null, null, monthStart,monthEnd, area,null,null,null,departmentId,request);
|
|
|
LocalDate timeStart = LocalDate.parse(monthStart, DateTimeFormatter.ofPattern("yyyy-MM-dd"));
|
|
|
LocalDate timeEnd = LocalDate.parse(monthEnd, DateTimeFormatter.ofPattern("yyyy-MM-dd"));
|
|
|
timeStart=timeStart.with(TemporalAdjusters.firstDayOfMonth());
|