@Override
 public String toString() {
   String slfStr;
   try {
     slfStr = JSON.json(this);
   } catch (Exception e) {
     slfStr = toSimpleString();
   }
   return slfStr;
 }
 /**
  * 保存上一次的操作记录
  *
  * @param id
  * @param createUser
  * @throws Exception
  */
 private IpoTrusteeship saveHis(Long id, String createUser) throws Exception {
   IpoTrusteeship dbShip = shipMapper.get(id);
   String content = JSON.json(dbShip);
   IpoTrusteeshipHis his = new IpoTrusteeshipHis();
   his.setContent(content);
   his.setTrusteeshipId(id);
   his.setCreateUser(createUser);
   his.setCreateDate(new Date());
   his.setState(dbShip.getState());
   shipHisMapper.insert(his);
   return dbShip;
 }
 public void writeObject(Object obj) throws IOException {
   JSON.json(obj, writer, writeClass);
   writer.println();
   writer.flush();
 }