src/main/java/com/fgkj/controller/Batt_electricityController.java
@@ -31,7 +31,7 @@ public ServiceModel add(@RequestBody Batt_electricity be){ // Batt_electricity be = getGson().fromJson(json, Batt_electricity.class); ServiceModel model = service.add(be); { if (model.getCode().equals(1)){ String msg="添加对"+be.getDev_name()+"设备的记录"; User_log ulog= UinfDaoFactory.CreateULog(UinfDaoFactory.Increase, msg); uservice.add(ulog);//将用户的操作记录下来