|
@@ -81,7 +81,7 @@ public class BusOrgDaoImpl extends GenericDaoImpl<BusOrg, Long>
|
|
|
+ " jan_reply,feb_reply,mar_reply,apr_reply,may_reply,jun_reply,jul_reply,aug_reply,sept_reply,oct_reply,nov_reply,dec_reply "
|
|
|
+ " ) "
|
|
|
+ " ( "
|
|
|
- + " SELECT b.`org_id`,"+yearSql+","+yearSql+", "+yearSql+", "
|
|
|
+ + " SELECT b.`org_id`,SUM(bm.`water`),"+yearSql+", "+yearSql+", "
|
|
|
+ " "+quarterSql+", "+quarterSql+","+quarterSql+","+quarterSql+", "
|
|
|
+ " "+quarterSql+", "+quarterSql+","+quarterSql+","+quarterSql+", "
|
|
|
+ " ?,?,?,'yes', "
|