YYC
2025-06-30 a1a25c1830029c6eb3a8fc6ce4d23d7a20b3a515
src/main/java/com/fzzy/async/fzzy40/impl/Fzzy40Sync9201.java
@@ -109,12 +109,12 @@
                if (null != api1101List && api1101List.size() > 0) {
                    api9201.setDwmc(api1101List.get(0).getDwmc());
                }
                api9201.setYjmc(data.getDrugName());
                api9201.setYjlx(data.getDrugType());
                api9201.setYjmc(data.getDrugName().trim());
                api9201.setYjlx(data.getDrugType().trim());
                api9201.setLqrq(data.getLqsj());
                api9201.setZhgxsj(data.getUpdateTime());
                if (data.getLqr().contains("、")) {
                    api9201.setLqr(data.getLqr().replace('、', '|'));
                    api9201.setLqr(data.getLqr().replace('、', '|').trim());
                }
                //储粮粮情明细表
@@ -134,11 +134,12 @@
                        //粮食品种
                        String mappingCode = apiTriggerService.getMappingCode(Constant.TRIGGER_P_LSPZ, dtl.getFoodVariety());
                        api9201Dtl.setLspzdm(mappingCode);
                        api9201Dtl.setLsxzdm(data.getFoodType());
                        api9201Dtl.setLsdjdm(data.getFoodLevel());
                        api9201Dtl.setLssl(data.getNumber());
                        api9201Dtl.setSf(data.getPerWet());
                        api9201Dtl.setZz(data.getPerImpurity());
                        mappingCode = apiTriggerService.getMappingCode(Constant.TRIGGER_P_LSXZ, dtl.getFoodType());
                        api9201Dtl.setLsxzdm(mappingCode);
                        api9201Dtl.setLsdjdm(dtl.getFoodLevel());
                        api9201Dtl.setLssl(dtl.getNumber());
                        api9201Dtl.setSf(dtl.getPerWet());
                        api9201Dtl.setZz(dtl.getPerImpurity());
                        dtlList.add(api9201Dtl);
                    }
                    api9201.setDtl(JSON.toJSONString(dtlList));
@@ -167,10 +168,14 @@
                    for (Fz40DrugLogPeople people : peoples) {
                        api9201People = new Gd2022Api1023People();
                        BeanUtils.copyProperties(people, api9201People);
                        api9201People.setXm(people.getMx());
                        api9201People.setXm(people.getMx().trim());
                        api9201People.setZw(people.getZw().trim());
                        api9201People.setXzrwfg(people.getXzrwfg().trim());
                        api9201People.setStzk(people.getStzk().trim());
                        if (StringUtils.isEmpty(people.getZyzg())) {
                            api9201People.setZyzg("培训合格");
                        }
                        api9201People.setZyzg(people.getZyzg().trim());
                        peopleList.add(api9201People);
                    }
                    api9201.setPeople(JSON.toJSONString(peopleList));