From 18cf7a6b456cb0f401c48ad16b12de1877541558 Mon Sep 17 00:00:00 2001 From: LiJun <LiJun@192.168.10.10> Date: 星期一, 22 十月 2018 09:50:34 +0800 Subject: [PATCH] Merge branch 'dev_lxw' of https://whyclj@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw --- gx_tieta/src/com/fgkj/actions/ram/Bts_station_stateAction.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/ram/Bts_station_stateAction.java b/gx_tieta/src/com/fgkj/actions/ram/Bts_station_stateAction.java index d9b5ec5..a3acfa2 100644 --- a/gx_tieta/src/com/fgkj/actions/ram/Bts_station_stateAction.java +++ b/gx_tieta/src/com/fgkj/actions/ram/Bts_station_stateAction.java @@ -3,6 +3,7 @@ import com.fgkj.actions.ActionUtil; import com.fgkj.dto.BattInf; import com.fgkj.dto.ServiceModel; +import com.fgkj.dto.User_inf; import com.fgkj.services.ram.Bts_station_stateService; public class Bts_station_stateAction extends ActionUtil{ @@ -12,10 +13,19 @@ //鏌ヨ鏈烘埧瀹炴椂鐘舵�� public String serchByCondition(){ BattInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BattInf.class); + User_inf uinf=(User_inf) getUser(); + binf.setNum(uinf.getUId()); ServiceModel model=service.serchByCondition(binf); result=tojson(model); return SUCCESS; } + //鏌ヨ褰撳墠鏈烘埧鍋滅數鏁� + public String serchByState(){ + User_inf uinf=(User_inf) getUser(); + ServiceModel model=service.serchByState(uinf); + result=tojson(model); + return SUCCESS; + } -- Gitblit v1.9.1