| | |
| | | } |
| | | |
| | | for (int j = 0; j < page.getRecords().size(); j++) { |
| | | if (page.getRecords().get(j).getJurisdiction() != null && !page.getRecords().get(j).getWorkjurisdiction().equals("")) { |
| | | String[] split = page.getRecords().get(j).getJurisdiction().split(","); |
| | | if (page.getRecords().get(j).getWorkjurisdiction() != null && !page.getRecords().get(j).getWorkjurisdiction().equals("")) { |
| | | String[] split = page.getRecords().get(j).getWorkjurisdiction().split(","); |
| | | List<String> list = Arrays.asList(split); |
| | | StringBuffer deptNameBuiffer = new StringBuffer(); |
| | | //数据匹配封装 |
| | |
| | | zcService.inster(zc); |
| | | System.out.println("插入id++++++++++++"+zc.getId()); |
| | | //内网储存完整数据 |
| | | String s = "insert into act_zc(id,username,password,sname,sex,phone,zctime,parent_id,jurisdiction,cardid,address)" + |
| | | String s = "insert into act_zc(id,username,password,sname,sex,phone,zctime,parent_id,jurisdiction,cardid,address,workjurisdiction)" + |
| | | "values(" + "'" + zc.getId() + "'" + |
| | | "," + "'" + zc.getUsername() + "'" + |
| | | "," + "'" + zc.getPassword() + "'" + |
| | |
| | | "," + "'" + zc.getParentId() + "'" + |
| | | "," + "'" + zc.getJurisdiction() + "'" + |
| | | "," + "'" + cardids + "'" + |
| | | "," + "'" + zc.getAddress() + "'" |
| | | "," + "'" + zc.getAddress() + "'" + |
| | | "," + "'" + zc.getWorkjurisdiction() + "'" |
| | | + ");" |
| | | + |
| | | "insert into blade_user(account,password,real_name,sex,phone,workjurisdiction,role_id,jurisdiction,cardid,address)" + |