Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
¶Ô±ÈÐÂÎļþ |
| | |
| | | # å¼åç¯å¢é
ç½® |
| | | NODE_ENV = 'development' |
| | | |
| | | VUE_APP_API_URL = 'http://localhost:10010' |
| | |
| | | // è¾å
¥æ¡é«åº¦ |
| | | $input-height: 32px; |
| | | .global-window { |
| | | top: 80px !important; |
| | | top: 56px !important; |
| | | left: 218px !important; |
| | | // 头鍿 é¢ |
| | | ::v-deep .el-drawer__header { |
| | |
| | | // è¾å
¥æ¡é«åº¦ |
| | | $input-height: 32px; |
| | | .global-window { |
| | | top: 80px !important; |
| | | top: 56px !important; |
| | | left: 250px !important; |
| | | // 头鍿 é¢ |
| | | ::v-deep .el-drawer__header { |
| | |
| | | return false; |
| | | } |
| | | |
| | | public boolean uploadInputstreamBatch(InputStream inputStream, String remote, Boolean close) { |
| | | public boolean uploadInputstreamBatch(InputStream inputStream, String remote, Boolean close , Integer index ) { |
| | | // 设置PassiveModeä¼ è¾ |
| | | try { |
| | | ftpClient.enterLocalPassiveMode(); |
| | |
| | | if (remote.contains("/")) { |
| | | remoteFileName = remote.substring(remote.lastIndexOf("/") + 1); |
| | | // å建æå¡å¨è¿ç¨ç®å½ç»æï¼åå»ºå¤±è´¥ç´æ¥è¿å |
| | | if (StringUtils.equals(CreateDirecroty(remote, ftpClient), "2")) { |
| | | if (Constants.equalsInteger(index,Constants.ONE) && StringUtils.equals(CreateDirecroty(remote, ftpClient), "2")) { |
| | | log.error("å建ftpç®å½å¤±è´¥======================="+remote); |
| | | return false; |
| | | } |
| | |
| | | String date = DateUtil.getNowShortDate(); |
| | | String fName = date + "/" + UUID.randomUUID() + endType; |
| | | String fileName = folder + "/" + fName; |
| | | boolean r = ftp.uploadInputstreamBatch(is, fileName, Constants.equalsInteger(index ,fileList.size())); |
| | | boolean r = ftp.uploadInputstreamBatch(is, fileName, Constants.equalsInteger(index ,fileList.size()),index); |
| | | if (r) { |
| | | JSONObject fileJSON = new JSONObject(); |
| | | fileJSON.put("url", prefixPath + fileName); |
| | |
| | | List<Approve> levelList = getLevelListFromResult(approveGroupList,approveDateVO,memberId); |
| | | List<Approve> copyList = getAllCopyList(approveGroupList); |
| | | //éålevelæ¥è¯¢æ¯ä¸çº§å«ä¸å¡æ°æ® |
| | | if(levelList!=null){ |
| | | for(Approve level:levelList){ |
| | | List<Approve> tlist = getLevelInfoFromList(level,approveGroupList); |
| | | approveDateVO.getApproveList().addAll(tlist); |
| | |
| | | ||Constants.equalsInteger(Constants.approveStatus.unPass, tlist.get(0).getStatus()) |
| | | ||Constants.equalsInteger(Constants.approveStatus.cancel, tlist.get(0).getStatus())){ |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | if(CollectionUtils.isEmpty(approveList)){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"审æ¹ä¿¡æ¯ï¼çº§å«æ°æ®å¼å¸¸"); |
| | | // throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"审æ¹ä¿¡æ¯ï¼çº§å«æ°æ®å¼å¸¸"); |
| | | } |
| | | return approveList; |
| | | } |
| | |
| | | if(Constants.equalsInteger(model.getStatus(),Constants.FOUR)){ |
| | | String path = systemDictDataBiz.queryByCode(Constants.FTP,Constants.FTP_RESOURCE_PATH).getCode() |
| | | +systemDictDataBiz.queryByCode(Constants.FTP,Constants.MEMBER_IMG).getCode(); |
| | | Member member = memberMapper.selectById(model.getCancelUser()); |
| | | Member member1 = memberMapper.selectById(model.getCancelUser()); |
| | | |
| | | Approve approve = new Approve(); |
| | | approve.setApproveType(Constants.ZERO); |
| | | approve.setCreateDate(model.getCancelTime()); |
| | |
| | | approve.setStatusInfo("å·²æ¤é"); |
| | | approve.setStatus(Constants.FOUR); |
| | | approve.setType(Constants.ZERO); |
| | | approve.setMemberName(member.getName()); |
| | | if(StringUtils.isNotBlank(member.getFaceImg())){ |
| | | approve.setFaceImg(path + member.getFaceImg()); |
| | | if(member1!=null) { |
| | | approve.setMemberName(member1.getName()); |
| | | if (StringUtils.isNotBlank(member1.getFaceImg())) { |
| | | approve.setFaceImg(path + member1.getFaceImg()); |
| | | } |
| | | } |
| | | approve.setCheckInfo(model.getCancelInfo()); |
| | | approveList.add(approve); |