| | |
| | | Float nomCapAH = nomCapWH*1000/53.5f; |
| | | UpdateWrapper<Battinf> update = Wrappers.update(); |
| | | update.set("NomCapWH",nomCapWH).set("NomCapAH",nomCapAH).eq("battGroupId",inf.getBattGroupId()); |
| | | battInfMapper.update(null,update); |
| | | battInfMapper.update((Battinf) ActionUtil.objeNull,update); |
| | | return new Response().setII(1,"修改完成"); |
| | | } |
| | | |
| | |
| | | map.put("stationNum",stationNum); |
| | | map.put("stationInfList",stationInfList); |
| | | map.put("checkCapNum",hrDisNum); |
| | | return new Response().setII(1,true, map,null); |
| | | return new Response().setII(1,true, map,""); |
| | | }catch (Exception e){ |
| | | return new Response<>().set(1,false,"发生异常:"+e.getCause()); |
| | | } |