From 6eb6f0949430667648f7adbb5742b76a1b0d1d34 Mon Sep 17 00:00:00 2001 From: LiJun <LiJun@192.168.10.18> Date: 星期六, 03 十一月 2018 13:28:23 +0800 Subject: [PATCH] 从首页上的机房图标弹出的面板上的落后机房数后的详情定位到落后单体统计分析查询页面中并且选中当前的省,市,区县,机房 --- gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java b/gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java index 5f923d6..ffc7b38 100644 --- a/gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java +++ b/gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java @@ -46,12 +46,19 @@ } } } - dev_record.setPicture_num(file.size()); + //dev_record.setPicture_num(file.size()); //System.out.println(dev_record); ServiceModel model=service.add(dev_record); result=tojson(model); return SUCCESS; } + //鐢ㄦ埛澶勭悊鐨勭粨鏋� + public String update(){ + Deverror_record dev_record=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Deverror_record.class); + ServiceModel model=service.update(dev_record); + result=tojson(model); + return SUCCESS; + } //鏍规嵁stationid鏌ヨ璁惧鐨勯棶棰樿褰� public String serchByCondition(){ BattInf binf=getGson().fromJson(json, BattInf.class); -- Gitblit v1.9.1