| 
						
						
							
								
							
						
						
					 | 
					@ -253,38 +253,37 @@ public class ScreenProjectQuantityOrgMonthlyServiceImpl extends BaseServiceImpl< | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        List<ScreenProjectQuantityOrgMonthlyDTO> agencyInfos = ConvertUtils.sourceToTarget(screenProjectOrgDailyDTOS, ScreenProjectQuantityOrgMonthlyDTO.class); | 
					 | 
					 | 
					        List<ScreenProjectQuantityOrgMonthlyDTO> agencyInfos = ConvertUtils.sourceToTarget(screenProjectOrgDailyDTOS, ScreenProjectQuantityOrgMonthlyDTO.class); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        List<ProjectOrgMonthlyResultDTO> projectOrg = baseDao.selectQuantityOrgMonthly(agencyInfos, monthId); | 
					 | 
					 | 
					        List<ProjectOrgMonthlyResultDTO> projectOrg = baseDao.selectQuantityOrgMonthly(agencyInfos, monthId); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        if (!CollectionUtils.isEmpty(projectOrg)){ | 
					 | 
					 | 
					        /*if (!CollectionUtils.isEmpty(projectOrg)){ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					            projectOrg.forEach(p -> { | 
					 | 
					 | 
					            projectOrg.forEach(p -> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                p.setClosedIncr(p.getClosedIncr()); | 
					 | 
					 | 
					                p.setClosedIncr(p.getClosedIncr()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                p.setProjectIncr(p.getProjectIncr()); | 
					 | 
					 | 
					                p.setProjectIncr(p.getProjectIncr()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            }); | 
					 | 
					 | 
					            }); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        } | 
					 | 
					 | 
					        }*/ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        List<ProjectOrgMonthlyResultDTO> projectGrandOrg = baseDao.selectQuantityGrandOrgMonthly(agencyInfos, monthId); | 
					 | 
					 | 
					        List<ProjectOrgMonthlyResultDTO> projectGrandOrg = baseDao.selectQuantityGrandOrgMonthly(agencyInfos, monthId); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        if (!CollectionUtils.isEmpty(projectGrandOrg)){ | 
					 | 
					 | 
					        /*if (!CollectionUtils.isEmpty(projectGrandOrg)){ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					            projectGrandOrg.forEach(p -> { | 
					 | 
					 | 
					            projectGrandOrg.forEach(p -> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                p.setClosedTotal(p.getClosedTotal()); | 
					 | 
					 | 
					                p.setClosedTotal(p.getClosedTotal()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                p.setProjectTotal(p.getProjectTotal()); | 
					 | 
					 | 
					                p.setProjectTotal(p.getProjectTotal()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                p.setUnClosedTotal(p.getUnClosedTotal()); | 
					 | 
					 | 
					                p.setUnClosedTotal(p.getUnClosedTotal()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            }); | 
					 | 
					 | 
					            }); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        } | 
					 | 
					 | 
					        }*/ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        agencyInfos.forEach(a -> { | 
					 | 
					 | 
					        agencyInfos.forEach(a -> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            a.setMonthId(monthId); | 
					 | 
					 | 
					            a.setMonthId(monthId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if (!CollectionUtils.isEmpty(projectOrg)){ | 
					 | 
					 | 
					            if (!CollectionUtils.isEmpty(projectOrg)){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                projectOrg.forEach(p -> { | 
					 | 
					 | 
					                projectOrg.forEach(p -> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    if (a.getAreaCode().equals(p.getAreaCode())){ | 
					 | 
					 | 
					                    if (a.getAreaCode().equals(p.getAreaCode())){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        a.setClosedIncr(null == p.getClosedIncr() ? NumConstant.ZERO : p.getClosedIncr()); | 
					 | 
					 | 
					                        a.setClosedIncr(null == p.getClosedIncr() ? a.getClosedIncr() : a.getClosedIncr() + p.getClosedIncr()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        a.setProjectIncr(null == p.getProjectIncr() ? NumConstant.ZERO : p.getProjectIncr()); | 
					 | 
					 | 
					                        a.setProjectIncr(null == p.getProjectIncr() ? a.getProjectIncr() : a.getProjectIncr() + p.getProjectIncr()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					                        a.setProjectIncr(null == p.getProjectIncr() ? NumConstant.ZERO : p.getProjectIncr()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                    } | 
					 | 
					 | 
					                    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                }); | 
					 | 
					 | 
					                }); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if (!CollectionUtils.isEmpty(projectGrandOrg)){ | 
					 | 
					 | 
					            if (!CollectionUtils.isEmpty(projectGrandOrg)){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                projectGrandOrg.forEach(p -> { | 
					 | 
					 | 
					                projectGrandOrg.forEach(p -> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    if (a.getAreaCode().equals(p.getAreaCode())){ | 
					 | 
					 | 
					                    if (a.getAreaCode().equals(p.getAreaCode())){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        a.setClosedTotal(null == p.getClosedTotal() ? NumConstant.ZERO : p.getClosedTotal()); | 
					 | 
					 | 
					                        a.setClosedTotal(null == p.getClosedTotal() ? a.getClosedTotal() : a.getClosedTotal() + p.getClosedTotal()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        a.setProjectTotal(null == p.getProjectTotal() ? NumConstant.ZERO : p.getProjectTotal()); | 
					 | 
					 | 
					                        a.setProjectTotal(null == p.getProjectTotal() ? a.getProjectTotal() : a.getProjectTotal() + p.getProjectTotal()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        a.setUnClosedTotal(null == p.getUnClosedTotal() ? NumConstant.ZERO : p.getUnClosedTotal()); | 
					 | 
					 | 
					                        a.setUnClosedTotal(null == p.getUnClosedTotal() ? a.getUnClosedTotal() : a.getUnClosedTotal() + p.getUnClosedTotal()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        a.setProjectIncr(null == p.getProjectIncr() ? NumConstant.ZERO : p.getProjectIncr()); | 
					 | 
					 | 
					                        a.setProjectIncr(null == p.getProjectIncr() ? a.getProjectIncr() : a.getProjectIncr() + p.getProjectIncr()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                    } | 
					 | 
					 | 
					                    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                }); | 
					 | 
					 | 
					                }); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |