|
|
|
|
366
|
@Path("/transducer/update")
|
366
|
@Path("/transducer/update")
|
367
|
public void updateTransducer(@JdbcConn(true) Connection con, @LoginUser SessionUser sessionUser, Transducer transducer) throws SQLException {
|
367
|
public void updateTransducer(@JdbcConn(true) Connection con, @LoginUser SessionUser sessionUser, Transducer transducer) throws SQLException {
|
368
|
transducer.setModifier(sessionUser.getId());
|
368
|
transducer.setModifier(sessionUser.getId());
|
|
|
369
|
CollectDevice device = this.collectDeviceDao.query(con, transducer.getDeviceId());
|
|
|
370
|
transducer.setServerId(device.getServerId());
|
369
|
this.transducerDao.update(con, transducer);
|
371
|
this.transducerDao.update(con, transducer);
|
370
|
}
|
372
|
}
|
371
|
|
373
|
|