洪城义警-正式版后台
zengh
2022-02-22 6d1c495c50d6e1ed6044ed28be3f76e7d536b77a
src/main/java/org/springblade/modules/zc/controller/ZcController.java
@@ -223,8 +223,9 @@
      user.setExamination_mx("正常");
      user.setCardid(zc.getCardid());
      user.setStype("0");
      user.setAddress(zc.getAddress());
      iUserService.saveOrUpdate(user);
      String s = "insert into act_zc(id,username,password,sname,sex,phone,zctime,deptid,parent_id,jurisdiction,cardid)" +
      String s = "insert into act_zc(id,username,password,sname,sex,phone,zctime,deptid,parent_id,jurisdiction,cardid,address)" +
         "values(" + "'" + zc.getId() + "'" +
         "," + "'" + zc.getUsername() + "'" +
         "," + "'" + zc.getPassword() + "'" +
@@ -235,7 +236,9 @@
         "," + "'" + zc.getDeptid() + "'" +
         "," + "'" + zc.getParentId() + "'" +
         "," + "'" + zc.getJurisdiction() + "'" +
         "," + "'" + zc.getCardid() + "'" + ")";
         "," + "'" + zc.getCardid() + "'" +
         "," + "'" + zc.getAddress() + "'"
         + ")";
      FtpUtil.sqlFileUpload(s);
      return R.success("新增成功");
   }