From 35fefed0792c40cb99b8d15fa5811bbb5992bff9 Mon Sep 17 00:00:00 2001 From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139> Date: 星期一, 21 一月 2019 10:42:24 +0800 Subject: [PATCH] 修改 --- gx_tieta/src/com/fgkj/actions/Bts_station_eventAction.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/Bts_station_eventAction.java b/gx_tieta/src/com/fgkj/actions/Bts_station_eventAction.java index b65ea75..cc71771 100644 --- a/gx_tieta/src/com/fgkj/actions/Bts_station_eventAction.java +++ b/gx_tieta/src/com/fgkj/actions/Bts_station_eventAction.java @@ -5,6 +5,7 @@ import com.fgkj.dto.BattInf; import com.fgkj.dto.Bts_station_event; import com.fgkj.dto.ServiceModel; +import com.fgkj.dto.User_inf; import com.fgkj.services.Batt_devalarm_data_historyService; import com.fgkj.services.Bts_station_eventService; @@ -17,6 +18,8 @@ //鏈烘埧浜嬩欢缁熻 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; @@ -24,6 +27,8 @@ //鏈烘埧浜嬩欢缁熻 public String serchByInfo(){ Bts_station_event bevent=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Bts_station_event.class); + User_inf uinf=(User_inf) getUser(); + bevent.setNum(uinf.getUId()); ServiceModel model=service.serchByInfo(bevent); result=tojson(model); return SUCCESS; -- Gitblit v1.9.1