public void updateObjectById(String datastr, Integer id) {
   String queryString = "update Issuedcommand mo set mo.datas=:datastr where mo.id=:id ";
   String[] paramNames = new String[] {"datastr", "id"};
   Object[] values = new Object[] {datastr, id};
   issuedcommandDao.updateByHql(queryString, paramNames, values);
 }