From c2ccef767347776a533af44bf140783a6783c790 Mon Sep 17 00:00:00 2001
From: CJJ <Administrator@192.168.10.18>
Date: 星期四, 22 十一月 2018 17:34:26 +0800
Subject: [PATCH] 手机 机房问题记录
---
gx_tieta/src/com/fgkj/services/ram/Bts_station_stateService.java | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/gx_tieta/src/com/fgkj/services/ram/Bts_station_stateService.java b/gx_tieta/src/com/fgkj/services/ram/Bts_station_stateService.java
index 10eec0b..1416cc3 100644
--- a/gx_tieta/src/com/fgkj/services/ram/Bts_station_stateService.java
+++ b/gx_tieta/src/com/fgkj/services/ram/Bts_station_stateService.java
@@ -4,6 +4,8 @@
import com.fgkj.dao.BaseDAO;
import com.fgkj.dao.BaseDAOFactory;
+import com.fgkj.dao.impl.BattInfImpl;
+import com.fgkj.dao.impl.BattPower_offImpl;
import com.fgkj.dao.impl.ram.Bts_station_stateImpl;
import com.fgkj.dto.ServiceModel;
@@ -35,5 +37,14 @@
model.setNewsum(nums);
return model;
}
-
+ //鏈烘埧鏂數缁熻(棣栭〉涓婄殑楗肩姸鍥�)
+ public ServiceModel serchPowerOff(Object obj){
+ int powerNum=((Bts_station_stateImpl)dao).serchByState(obj); //鏂數瀹炴椂鏁�
+ int dianzhanNum=((Bts_station_stateImpl)dao).serchByState_diaozhan(obj); //鎺夌珯瀹炴椂鏁�
+ int devNum=(new BattInfImpl()).serchByDeviceId(obj); //鎬昏澶囨暟
+ model.setSum(powerNum);
+ model.setNewsum(devNum);
+ model.setCode(dianzhanNum);
+ return model;
+ }
}
--
Gitblit v1.9.1