| 
														
															@@ -35,13 +35,12 @@ public class LandService extends BaseService<Land,Long> { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 农业地块统计 
														 | 
														
														 | 
														
															      * 农业地块统计 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-     * @param date 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * @param districtCode 
														 | 
														
														 | 
														
															      * @param districtCode 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * @param city 
														 | 
														
														 | 
														
															      * @param city 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * @return 
														 | 
														
														 | 
														
															      * @return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    public List<TownStatLand> getLandAreaStat(Date date, String districtCode, String city){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        Double percent = getPercent(date); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public List<TownStatLand> getLandAreaStat(Integer month, String districtCode, String city){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        Double percent = getPercent(month); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         List<Object[]> res = null; 
														 | 
														
														 | 
														
															         List<Object[]> res = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         Map<Integer,String> namesMap = null; 
														 | 
														
														 | 
														
															         Map<Integer,String> namesMap = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if(districtCode != null){ 
														 | 
														
														 | 
														
															         if(districtCode != null){ 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -106,15 +105,14 @@ public class LandService extends BaseService<Land,Long> { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 根据月份得到一个1到 1.5的系数 
														 | 
														
														 | 
														
															      * 根据月份得到一个1到 1.5的系数 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-     * @param date 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     * @param month 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * @return 
														 | 
														
														 | 
														
															      * @return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    public Double getPercent(Date date){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        if(date == null){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public Double getPercent(Integer month){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if(month == null){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return 1.0; 
														 | 
														
														 | 
														
															             return 1.0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        String mm = TextUtil.leftSubstring("-",TextUtil.rightSubstring("-", MySimpleDateFormat.formatDate(date))); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        Double percent = Double.parseDouble("1." + Integer.parseInt(mm) % 5); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        Double percent = Double.parseDouble("1." + month % 5); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return percent; 
														 | 
														
														 | 
														
															         return percent; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -122,8 +120,8 @@ public class LandService extends BaseService<Land,Long> { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 种植类型统计 
														 | 
														
														 | 
														
															      * 种植类型统计 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * @return 
														 | 
														
														 | 
														
															      * @return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    public List<TownStatCrop> getCropAreaStat(Date date, String districtCode, String city){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        Double percent = getPercent(date); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public List<TownStatCrop> getCropAreaStat(Integer month, String districtCode, String city){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        Double percent = getPercent(month); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         List<Object[]> res = null; 
														 | 
														
														 | 
														
															         List<Object[]> res = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         Map<Integer,String> namesMap = null; 
														 | 
														
														 | 
														
															         Map<Integer,String> namesMap = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if(districtCode != null){ 
														 | 
														
														 | 
														
															         if(districtCode != null){ 
														 |