| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- package com.happy.service.impl;
- import com.alibaba.fastjson.JSONObject;
- import com.happy.Model.Build_elec;
- import com.happy.Model.Detail_elc;
- import com.happy.Model.ElecTotal;
- import com.happy.Model.WaterTj;
- import com.happy.dao.PropelDao;
- import com.happy.service.PropelService;
- import flexjson.JSON;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import java.util.List;
- @Service("PropelService")
- public class PropelServiceImpl implements PropelService {
- @Autowired
- public PropelDao propelDao;
- public List<JSONObject> query(){
- return propelDao.query();
- }
- public List<Build_elec> queryEt(){
- return propelDao.queryEt();
- }
- public int updateUseSize(String pointid, double use_size){
- return propelDao.updateUseSize(pointid, use_size);
- }
- public List<JSONObject> queryElecT(){
- return propelDao.queryElecT();
- }
- public List<WaterTj> queryWaterTj(){
- return propelDao.queryWaterTj();
- }
- public int updateWaterUseSize(String pointid, double use_size){
- return propelDao.updateWaterUseSize(pointid, use_size);
- }
- public List<JSONObject> queryWaterT(){
- return propelDao.queryWaterT();
- }
- public List<Detail_elc> findAll(String sqlx){
- return propelDao.findAll(sqlx);
- };
- public int total(String sqlx){
- return propelDao.total(sqlx);
- };
- }
|