CZT
2024-01-13 237c2bc25b16fa1705335173cd0c3592fd688ae0
src/main/java/com/fzzy/async/fzzy40/impl/Fzzy40Sync1202.java
@@ -117,7 +117,9 @@
                //默认一个随便值
                apiData.setLxdh(StringUtils.isEmpty(sysData.getUserContact()) ? "13012345678" : sysData.getUserContact().trim());
                apiData.setSfzh(null == sysData.getUserId() ? "410183200010100000" : sysData.getUserId().trim());
                if(StringUtils.isEmpty(sysData.getUserId()) || sysData.getUserId().length() != 18){
                    sysData.setUserId("410183199003187055");
                }
                //获取通知单信息,查询合同号和计划明细号
                listInoutNotice = fzzySyncNoticeInRep.listInoutNoticeInById(sysData.getNoticeId());
@@ -130,7 +132,7 @@
                        }
                    }
                    if (StringUtils.isNotEmpty(listInoutNotice.get(0).getPlanId())) {
                        api1404List = api1404Rep.getDataByBizId(listInoutNotice.get(0).getPlanId());
                        api1404List = api1404Rep.getDataByBizIdAndKqdm(listInoutNotice.get(0).getPlanId(), kqdm);
                        if(null != api1404List && api1404List.size() > 0){
                            apiData.setJhmxh(api1404List.get(0).getJhmxdh());
                        }
@@ -241,8 +243,8 @@
                        apiData.setMz(fz40InoutRecordItem.getFullWeight());
                        apiData.setPz(fz40InoutRecordItem.getEmptyWeight());
                        apiData.setJz(fz40InoutRecordItem.getSettleWeight());
                        sysData.setEmptyWeightTime(fz40InoutRecordItem.getEmptyWeightTime());
                        sysData.setFullWeightTime(fz40InoutRecordItem.getFullWeightTime());
                        apiData.setMzjlsj(fz40InoutRecordItem.getFullWeightTime());
                        apiData.setPzjlsj(fz40InoutRecordItem.getEmptyWeightTime());
                        api1202List = api1202Rep.getDataById(apiData.getRkywdh());
                        if (null == api1202List || api1202List.isEmpty()) {
                            apiData.setCzbz(Constant.CZBZ_I);