|
@@ -222,10 +222,6 @@ public class BusInitController extends BaseController {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 导入年计划
|
|
* 导入年计划
|
|
- * @param ids
|
|
|
|
- * @param startTime
|
|
|
|
- * @param endTime
|
|
|
|
- * @param param
|
|
|
|
* @return
|
|
* @return
|
|
* @throws ParseException
|
|
* @throws ParseException
|
|
*/
|
|
*/
|
|
@@ -1390,13 +1386,25 @@ public class BusInitController extends BaseController {
|
|
sheet.addCell(new Label(4, 0, "水表户号"));
|
|
sheet.addCell(new Label(4, 0, "水表户号"));
|
|
sheet.addCell(new Label(5, 0, "年度"));
|
|
sheet.addCell(new Label(5, 0, "年度"));
|
|
sheet.addCell(new Label(6, 0, "上一年度实际用水量(m³)"));
|
|
sheet.addCell(new Label(6, 0, "上一年度实际用水量(m³)"));
|
|
- sheet.addCell(new Label(7, 0, "一季度计划"));
|
|
|
|
- sheet.addCell(new Label(8, 0, "二季度计划"));
|
|
|
|
- sheet.addCell(new Label(9, 0, "三季度计划"));
|
|
|
|
- sheet.addCell(new Label(10, 0, "四季度计划"));
|
|
|
|
- sheet.addCell(new Label(11, 0, "全年计划"));
|
|
|
|
- sheet.addCell(new Label(12, 0, "全年批复"));
|
|
|
|
- sheet.addCell(new Label(13, 0, "是否居民用水"));
|
|
|
|
|
|
+// sheet.addCell(new Label(7, 0, "一季度计划"));
|
|
|
|
+// sheet.addCell(new Label(8, 0, "二季度计划"));
|
|
|
|
+// sheet.addCell(new Label(9, 0, "三季度计划"));
|
|
|
|
+// sheet.addCell(new Label(10, 0, "四季度计划"));
|
|
|
|
+ sheet.addCell(new Label(7, 0, "全年计划"));
|
|
|
|
+ sheet.addCell(new Label(8, 0, "全年批复"));
|
|
|
|
+ sheet.addCell(new Label(9, 0, "是否居民用水"));
|
|
|
|
+ sheet.addCell(new Label(10, 0, "一月份计划"));
|
|
|
|
+ sheet.addCell(new Label(11, 0, "二月份计划"));
|
|
|
|
+ sheet.addCell(new Label(12, 0, "三月份计划"));
|
|
|
|
+ sheet.addCell(new Label(13, 0, "四月份计划"));
|
|
|
|
+ sheet.addCell(new Label(14, 0, "五月份计划"));
|
|
|
|
+ sheet.addCell(new Label(15, 0, "六月份计划"));
|
|
|
|
+ sheet.addCell(new Label(16, 0, "七月份计划"));
|
|
|
|
+ sheet.addCell(new Label(17, 0, "八月份计划"));
|
|
|
|
+ sheet.addCell(new Label(18, 0, "九月份计划"));
|
|
|
|
+ sheet.addCell(new Label(19, 0, "十月份计划"));
|
|
|
|
+ sheet.addCell(new Label(20, 0, "十一月份计划"));
|
|
|
|
+ sheet.addCell(new Label(21, 0, "十二月份计划"));
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
// TODO: handle exception
|
|
// TODO: handle exception
|
|
}
|
|
}
|
|
@@ -1417,15 +1425,26 @@ public class BusInitController extends BaseController {
|
|
sheet.addCell(new Label(3, row, plan.getPostCode()));//邮编
|
|
sheet.addCell(new Label(3, row, plan.getPostCode()));//邮编
|
|
sheet.addCell(new Label(4, row, plan.getOrgMeterNumber()));//水表户号
|
|
sheet.addCell(new Label(4, row, plan.getOrgMeterNumber()));//水表户号
|
|
sheet.addCell(new Label(5, row, plan.getYear()));//年度
|
|
sheet.addCell(new Label(5, row, plan.getYear()));//年度
|
|
- sheet.addCell(new Label(6, row, Math.round(plan.getPriYearUseWater()) + ""));//上一年实际用水量
|
|
|
|
- sheet.addCell(new Label(7, row, Math.round(plan.getFirstQuarterReply()) + ""));//一季度
|
|
|
|
- sheet.addCell(new Label(8, row, Math.round(plan.getSecondQuarterReply()) + ""));//二季度
|
|
|
|
- sheet.addCell(new Label(9, row, Math.round(plan.getThirdQuarterReply()) + ""));//三季度
|
|
|
|
- sheet.addCell(new Label(10, row, Math.round(plan.getFourthQuarterReply()) + ""));//四季度
|
|
|
|
- sheet.addCell(new Label(11, row, Math.round(plan.getPlanOfWater()) + ""));//全年计划
|
|
|
|
- sheet.addCell(new Label(12, row, Math.round(plan.getReplyOfWater()) + ""));//全年批复
|
|
|
|
- sheet.addCell(new Label(13, row, plan.getOrgType()));//用户类型
|
|
|
|
-
|
|
|
|
|
|
+ sheet.addCell(new Label(6, row, (plan.getPriYearUseWater()!=null?Math.round(plan.getPriYearUseWater()):0) + ""));//上一年实际用水量
|
|
|
|
+// sheet.addCell(new Label(7, row, Math.round(plan.getFirstQuarterReply()) + ""));//一季度
|
|
|
|
+// sheet.addCell(new Label(8, row, Math.round(plan.getSecondQuarterReply()) + ""));//二季度
|
|
|
|
+// sheet.addCell(new Label(9, row, Math.round(plan.getThirdQuarterReply()) + ""));//三季度
|
|
|
|
+// sheet.addCell(new Label(10, row, Math.round(plan.getFourthQuarterReply()) + ""));//四季度
|
|
|
|
+ sheet.addCell(new Label(7, row, (plan.getPlanOfWater()!=null?Math.round(plan.getPlanOfWater()):0)+ ""));//全年计划
|
|
|
|
+ sheet.addCell(new Label(8, row, (plan.getReplyOfWater()!=null?Math.round(plan.getReplyOfWater()):0) + ""));//全年批复
|
|
|
|
+ sheet.addCell(new Label(9, row, plan.getOrgType()));//用户类型
|
|
|
|
+ sheet.addCell(new Label(10, row, (plan.getJanPlan()!=null?Math.round(plan.getJanPlan()):0)+""));//一月份计划
|
|
|
|
+ sheet.addCell(new Label(11, row, (plan.getFebPlan()!=null?Math.round(plan.getFebPlan()):0)+""));//二月份计划
|
|
|
|
+ sheet.addCell(new Label(12, row, (plan.getMarPlan()!=null?Math.round(plan.getMarPlan()):0)+""));//三月份计划
|
|
|
|
+ sheet.addCell(new Label(13, row, (plan.getAprPlan()!=null?Math.round(plan.getAprPlan()):0)+""));//四月份计划
|
|
|
|
+ sheet.addCell(new Label(14, row, (plan.getMayPlan()!=null?Math.round(plan.getMayPlan()):0)+""));//五月份计划
|
|
|
|
+ sheet.addCell(new Label(15, row, (plan.getJunPlan()!=null?Math.round(plan.getJunPlan()):0)+""));//六月份计划
|
|
|
|
+ sheet.addCell(new Label(16, row, (plan.getJulPlan()!=null?Math.round(plan.getJulPlan()):0)+""));//七月份计划
|
|
|
|
+ sheet.addCell(new Label(17, row, (plan.getAugPlan()!=null?Math.round(plan.getAugPlan()):0)+""));//八月份计划
|
|
|
|
+ sheet.addCell(new Label(18, row, (plan.getSeptPlan()!=null?Math.round(plan.getSeptPlan()):0)+""));//九月份计划
|
|
|
|
+ sheet.addCell(new Label(19, row, (plan.getOctPlan()!=null?Math.round(plan.getOctPlan()):0)+""));//十月份计划
|
|
|
|
+ sheet.addCell(new Label(20, row, (plan.getNovPlan()!=null?Math.round(plan.getNovPlan()):0)+""));//十一月份计划
|
|
|
|
+ sheet.addCell(new Label(21, row, (plan.getDecPlan()!=null?Math.round(plan.getDecPlan()):0)+""));//十二月份计划
|
|
row += 1;
|
|
row += 1;
|
|
}
|
|
}
|
|
if (this.page.hasNextPage()) {
|
|
if (this.page.hasNextPage()) {
|