From b8e64e9ac514d86d8e6c6bbfe39cd04b01b5cf7f Mon Sep 17 00:00:00 2001 From: 81041 <81041@192.168.10.16> Date: 星期二, 11 十二月 2018 17:22:37 +0800 Subject: [PATCH] 设备告警修改 --- gx_tieta/src/com/fgkj/dao/impl/Battinf_applyImpl.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gx_tieta/src/com/fgkj/dao/impl/Battinf_applyImpl.java b/gx_tieta/src/com/fgkj/dao/impl/Battinf_applyImpl.java index 1ea140c..a8ba004 100644 --- a/gx_tieta/src/com/fgkj/dao/impl/Battinf_applyImpl.java +++ b/gx_tieta/src/com/fgkj/dao/impl/Battinf_applyImpl.java @@ -41,8 +41,8 @@ if(list!=null && list.size()>0){ for (int i = 0; i < list.size(); i++) { Battinf_apply bapply=list.get(i); - /*int uid=((User_inf)ActionUtil.getUser()).getUId(); - bapply.setApply_uid(uid);*/ + int uid=((User_inf)ActionUtil.getUser()).getUId(); + bapply.setApply_uid(uid); BattInf binf=bapply.getBinf(); //楠岃瘉鏂版坊鍔犵殑鏈烘埧鏄惁瀛樺湪 List listS=(new BattInfImpl()).judgeBatt(binf); @@ -67,11 +67,11 @@ } maxb++; sql_str.add(sql); - /*{ + { String msg=((User_inf)ActionUtil.getUser()).getUId()+"鐢宠娣诲姞"+binf.getStationName()+"鏈烘埧"+binf.getBattGroupId()+"鐢垫睜缁勭殑淇℃伅"; User_log ulog=UinfDaoFactory.CreateULog(UinfDaoFactory.Increase, msg); listU.add(ulog); - }*/ + } } } Boolean bl=false; @@ -81,7 +81,7 @@ }else{ return false; } - //(new User_logService()).addPro(listU);//灏嗙敤鎴风殑鎿嶄綔璁板綍涓嬫潵 + (new User_logService()).addPro(listU);//灏嗙敤鎴风殑鎿嶄綔璁板綍涓嬫潵 return bl; } @@ -109,7 +109,7 @@ ",'"+binf.getBattProducer()+"','"+binf.getBattModel()+"','"+DAOHelper.sdf.format(binf.getBattProductDate())+"','"+DAOHelper.sdf.format(binf.getBattInUseDate())+"',"+binf.getLoad_curr()+",'"+binf.getInstall_user()+"',"+binf.getDisCurrMax()+",'"+binf.getStation_phone()+"',"+binf.getStation_install()+")"; sql_str.add(sql_insert_binf); { - String msg=((User_inf)ActionUtil.getUser()).getUId()+"纭娣诲姞"+binf.getStationName()+"鏈烘埧"+binf.getBattGroupId()+"鐢垫睜缁勭殑淇℃伅"; + String msg="纭娣诲姞"+binf.getStationName()+"鏈烘埧"+binf.getBattGroupId()+"鐢垫睜缁勭殑淇℃伅"; User_log ulog=UinfDaoFactory.CreateULog(UinfDaoFactory.Alter, msg); listU.add(ulog); } -- Gitblit v1.9.1