81041
2018-11-02 2ca81db7219eddf6b6c67790718c45cf431af82f
gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java
@@ -23,7 +23,7 @@
   private List<File> file;
   //用户手动添加问题
   public String add(){
      Deverror_record dev_record=getGson("yyyy-MM-dd").fromJson(json, Deverror_record.class);
      Deverror_record dev_record=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Deverror_record.class);
      User_inf uinf=(User_inf) getUser();
      dev_record.setUid(uinf.getUId());
      if(file.size()>0&&file!=null){
@@ -46,7 +46,7 @@
            }
         }
      }
      dev_record.setPicture_num(file.size());
      //dev_record.setPicture_num(file.size());
      ServiceModel model=service.add(dev_record);
      result=tojson(model);
      return SUCCESS;