| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import com.yeshi.fanli.entity.SystemEnum;
|
| | | import org.apache.commons.httpclient.HttpClient;
|
| | | import org.apache.commons.httpclient.HttpMethod;
|
| | | import org.apache.commons.httpclient.NameValuePair;
|
| | |
| | | form.setPortrait(shamUser.getPicUrl());
|
| | | form.setLoginType(-1);
|
| | | form.setOpenid(UUID.randomUUID().toString().replaceAll("-", "") + "-1");
|
| | | userInfoService.addUser(form, "23649898");
|
| | | userInfoService.addUser(form, SystemEnum.blks);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | if (cell.getContents() == null || "".equals(cell.getContents().trim())) {
|
| | | continue;
|
| | | }
|
| | | shamUserService.delete(Long.parseLong(cell.getContents()));
|
| | | shamUserService.deleteByPrimaryKey(Long.parseLong(cell.getContents()));
|
| | | }
|
| | | } catch (BiffException e) {
|
| | | e.printStackTrace();
|