| | |
| | | private VExpertfeeExpertMapper vExpertfeeExpertMapper; |
| | | |
| | | @Autowired |
| | | private VExpertfeeDonorMapper vExpertfeeDonorMapper; |
| | | |
| | | @Autowired |
| | | private VExpertfeeTotalMapper vExpertfeeTotalMapper; |
| | | |
| | | |
| | |
| | | try { |
| | | uploadOAFileAndUpdateDb(serviceFunddetailShareds.get(i)); |
| | | } catch (Exception e) { |
| | | log.error("Exception中入参的ID为:{}", id); |
| | | e.printStackTrace(); |
| | | log.error("Exception中入参的ID为:{},异常信息为 : {}", id, e.getMessage()); |
| | | if (id != null) { |
| | | Boolean aBoolean = sharedService.delfundsharedInfoById(null, id); |
| | | log.error("fund2分享表里的数据是否删除成功:{}", aBoolean); |
| | |
| | | |
| | | @Override |
| | | public List<SpFinancialExpensesFundOut> getExpertfeeList(SpSelectExpertfee spSelectExpertfee) { |
| | | return serviceFundMapper.getExpertfeeList(spSelectExpertfee.getPaApplyType(), spSelectExpertfee.getDonorname(), spSelectExpertfee.getPacheckno(), spSelectExpertfee.getCheckstatus(), spSelectExpertfee.getPadepartno(), spSelectExpertfee.getPausername()); |
| | | log.info("spSelectExpertfee的入参为:{}",spSelectExpertfee); |
| | | return serviceFundMapper.getExpertfeeList(spSelectExpertfee.getPaApplyType(), spSelectExpertfee.getPfundtaxid(), spSelectExpertfee.getDonorname(), spSelectExpertfee.getPadepartid(), spSelectExpertfee.getPausername()); |
| | | } |
| | | |
| | | @Override |
| | |
| | | AjaxResult ajaxResult = util.exportExcel(list, "vExpertfeeTotal"); |
| | | String filePath = RuoYiConfig.getDownloadPath() + ajaxResult.get("msg"); |
| | | |
| | | List<VExpertfeeExpert> list2 = vExpertfeeExpertMapper.selectVExpertfeeExpertListByFaxId(faxId); |
| | | ExcelUtil<VExpertfeeExpert> util2 = new ExcelUtil<VExpertfeeExpert>(VExpertfeeExpert.class); |
| | | AjaxResult ajaxResult1 = util2.exportExcel(list2, "vExpertfeeExpert"); |
| | | List<VExpertfeeDonor> list2 = vExpertfeeDonorMapper.selectVExpertfeeDonorList2(faxId); |
| | | ExcelUtil<VExpertfeeDonor> util2 = new ExcelUtil<VExpertfeeDonor>(VExpertfeeDonor.class); |
| | | AjaxResult ajaxResult2 = util2.exportExcel(list2, "VExpertfeeDonor"); |
| | | |
| | | List<VExpertfeeExpert> list3 = vExpertfeeExpertMapper.selectVExpertfeeExpertListByFaxId(faxId); |
| | | ExcelUtil<VExpertfeeExpert> util3 = new ExcelUtil<VExpertfeeExpert>(VExpertfeeExpert.class); |
| | | AjaxResult ajaxResult3 = util3.exportExcel(list3, "vExpertfeeExpert"); |
| | | |
| | | List<String> list1 = new ArrayList<>(); |
| | | list1.add(ajaxResult.get("msg").toString()); |
| | | list1.add(ajaxResult1.get("msg").toString()); |
| | | list1.add(ajaxResult2.get("msg").toString()); |
| | | list1.add(ajaxResult3.get("msg").toString()); |
| | | |
| | | |
| | | String name = "专家费汇总单" + new SimpleDateFormat("yyyyMMddHHmmss").format(new Date()) + ".xlsx"; |
| | |
| | | log.info("第三方传回的数据获取的atts : {}", jsonArr); |
| | | for (int j = 0; j < jsonArr.size(); j++) { |
| | | JSONObject jsonRet = jsonArr.getJSONObject(j); |
| | | if (StringUtils.isEmpty(jsonRet.get("fileUrl").toString())) { |
| | | throw new BaseException("fileID为空,请联系第三方处理"); |
| | | } |
| | | rbDetailFile.setFileid(jsonRet.get("fileUrl").toString()); |
| | | } |
| | | |