| | |
| | | user.setExamination_type("0"); |
| | | user.setExamination_mx("正常"); |
| | | user.setCardid(zc.getCardid()); |
| | | if (zc.getSignals() != "") { |
| | | if (!zc.getSignals().equals("")) { |
| | | user.setSignals(zc.getSignals()); |
| | | } |
| | | user.setStype("0"); |
| | | if (zc.getAddress()!=""){ |
| | | if (!zc.getAddress().equals("")) { |
| | | user.setAddress(zc.getAddress()); |
| | | user.setJurisdiction(zc.getJurisdiction()); |
| | | } |
| | | if (!zc.getJobUnit().equals("")) { |
| | | user.setJobUnit(zc.getJobUnit()); |
| | | } |
| | | iUserService.saveOrUpdate(user); |
| | | String s = "insert into act_zc(id,username,password,sname,sex,phone,zctime,parent_id,jurisdiction,cardid,address)" + |
| | |
| | | // "," + "'" + zc.getCardid() + "'" + |
| | | // "," + "'" + zc.getAddress() + "'" |
| | | // + ")"; |
| | | // FtpUtil.sqlFileUpload(s); |
| | | FtpUtil.sqlFileUpload(s); |
| | | return R.success("新增成功"); |
| | | } |
| | | |