| | |
| | | param.put(TokenConstant.NICK_NAME, user.getRealName()); |
| | | param.put(TokenConstant.ROLE_NAME, Func.join(userInfo.getRoles())); |
| | | param.put(TokenConstant.DETAIL, userInfo.getDetail()); |
| | | param.put("jurisdiction", user.getJurisdiction()); |
| | | param.put("cardid", user.getCardid()); |
| | | param.put("Id", user.getId()); |
| | | param.put("rname", userInfo.getRoles()); |
| | | param.put("list", user); |
| | | |
| | | //拼装accessToken |
| | | try { |
| | |
| | | .set(TokenConstant.USER_ID, Func.toStr(user.getId())) |
| | | .set(TokenConstant.DEPT_ID, user.getDeptId()) |
| | | .set(TokenConstant.POST_ID, user.getPostId()) |
| | | .set("jurisdiction", user.getJurisdiction()) |
| | | .set("cardid", user.getCardid()) |
| | | .set("Id", user.getId()) |
| | | .set("rname", userInfo.getRoles()) |
| | | .set("list", user) |
| | | .set(TokenConstant.ROLE_ID, user.getRoleId()) |
| | | .set(TokenConstant.OAUTH_ID, userInfo.getOauthId()) |
| | | .set(TokenConstant.ACCOUNT, user.getAccount()) |
| | |
| | | params.put("beginTime", beginTime); |
| | | params.put("endTime", endTime); |
| | | params.put("rectify", rectify); |
| | | params.put("callbackUrl", "http://s16s652780.51mypc.cn/car/SaveUrl"); |
| | | params.put("callbackUrl", "http://s16s652780.51mypc.cn/api/car/SaveUrl"); |
| | | params.put("callbackId", "1"); |
| | | params.put("appId", "PO00000761"); |
| | | params.put("timestamp", System.currentTimeMillis()); |
| | |
| | | csvurl = null; |
| | | List<String> allString = new ArrayList<>(); |
| | | DowloadZipUtil dowloadZipUtil = new DowloadZipUtil(); |
| | | File file = dowloadZipUtil.downloadFile(fileUrl, "E:\\nginx-1.18.0\\dist"); |
| | | File file = dowloadZipUtil.downloadFile(fileUrl, "E:\\nginx-1.18.0\\dist\\car"); |
| | | //文件名 |
| | | String name = file.getName(); |
| | | String substring = name.substring(0, name.length() - 4); |
| | | System.out.println(substring); |
| | | //解压数据 |
| | | FileZip fileZip = new FileZip(); |
| | | fileZip.ZipUncompress("E:\\nginx-1.18.0\\dist" + substring + ".zip", "E:\\nginx-1.18.0\\dist"); |
| | | fileZip.ZipUncompress("E:\\nginx-1.18.0\\dist\\car\\" + substring + ".zip", "E:\\nginx-1.18.0\\dist\\car"); |
| | | csvurl = substring + ".csv"; |
| | | } |
| | | /** |
| | |
| | | private String xopinion; |
| | | //市意见 |
| | | private String sopinion; |
| | | @ApiModelProperty(value = "提交时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | @ApiModelProperty(value = "审批时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date overtime; |
| | | |
| | | |
| | | @ApiModelProperty(value = "派出所审批时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date permitime; |
| | | private Date ptime; |
| | | |
| | | @ApiModelProperty(value = "县审批时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date stime; |
| | | |
| | | @ApiModelProperty(value = "市审批时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date xtime; |
| | | |
| | | |
| | | } |
| | |
| | | <result column="popinion" property="popinion"/> |
| | | <result column="xopinion" property="xopinion"/> |
| | | <result column="sopinion" property="sopinion"/> |
| | | <result column="overtime" property="overtime"/> |
| | | <result column="ptime" property="ptime"/> |
| | | <result column="stime" property="stime"/> |
| | | <result column="xtime" property="xtime"/> |
| | | </resultMap> |
| | | |
| | | |