| | |
| | | api9201.setYjlx(data.getDrugType().trim()); |
| | | api9201.setLqrq(data.getLqsj()); |
| | | api9201.setZhgxsj(data.getUpdateTime()); |
| | | api9201.setXcfzr(data.getXcfzr().trim()); |
| | | if (data.getLqr().contains("、")) { |
| | | api9201.setLqr(data.getLqr().replace('、', '|').trim()); |
| | | } |
| | |
| | | api9201Way = new Gd2022Api1023Way(); |
| | | BeanUtils.copyProperties(data, api9201Way); |
| | | wayList = new ArrayList<>(); |
| | | api9201Way.setSqfs(data.getSqfs().trim()); |
| | | api9201Way.setXzfs(data.getXzfs().trim()); |
| | | wayList.add(api9201Way); |
| | | api9201.setWay(JSON.toJSONString(wayList)); |
| | | |
| | |
| | | api9201People.setXzrwfg(people.getXzrwfg().trim()); |
| | | api9201People.setStzk(people.getStzk().trim()); |
| | | if (StringUtils.isEmpty(people.getZyzg())) { |
| | | api9201People.setZyzg("培训合格"); |
| | | people.setZyzg("培训合格"); |
| | | } |
| | | api9201People.setZyzg(people.getZyzg().trim()); |
| | | peopleList.add(api9201People); |
| | |
| | | } |
| | | |
| | | } catch (Exception e) { |
| | | log.error("---熏蒸备案同步执行失败----{}", e.toString()); |
| | | log.error("---熏蒸备案同步执行失败----{}", e); |
| | | apiLog.setResult("熏蒸备案信息同步执行失败:" + e.getMessage()); |
| | | apiLogRep.save(apiLog); |
| | | } |