|
@@ -378,7 +378,7 @@ public class DetailDownloadServiceImpl implements DetailDownloadService {
|
|
.eq(ItfTblAzWgmxJyktFjDownload::getSynStatus,0).list();
|
|
.eq(ItfTblAzWgmxJyktFjDownload::getSynStatus,0).list();
|
|
|
|
|
|
|
|
|
|
- log.info("采集明细");
|
|
|
|
|
|
+ log.info("采集明细 pgguid {}",pgguid);
|
|
|
|
|
|
// 提取采集数据
|
|
// 提取采集数据
|
|
oids = orderInstallDetailService.lambdaQuery()
|
|
oids = orderInstallDetailService.lambdaQuery()
|
|
@@ -389,10 +389,15 @@ public class DetailDownloadServiceImpl implements DetailDownloadService {
|
|
if (!CollectionUtils.isEmpty(jykts)){
|
|
if (!CollectionUtils.isEmpty(jykts)){
|
|
log.info("采集明细a {}", JSONObject.toJSONString(jykts));
|
|
log.info("采集明细a {}", JSONObject.toJSONString(jykts));
|
|
|
|
|
|
|
|
+ log.info("采集明细b {}", JSONObject.toJSONString(oids));
|
|
|
|
+
|
|
// 提取工单数据
|
|
// 提取工单数据
|
|
OrderBase order = orderBaseService.lambdaQuery()
|
|
OrderBase order = orderBaseService.lambdaQuery()
|
|
.eq(OrderBase::getId,oids.get(0).getOrderBaseId())
|
|
.eq(OrderBase::getId,oids.get(0).getOrderBaseId())
|
|
.last("limit 1").one();
|
|
.last("limit 1").one();
|
|
|
|
+
|
|
|
|
+ log.info("采集明细c {}", JSONObject.toJSONString(order));
|
|
|
|
+
|
|
if (order!=null){
|
|
if (order!=null){
|
|
// 提取现有的采集附件数据
|
|
// 提取现有的采集附件数据
|
|
List<OrderDetailFile> fs = orderDetailFileService.lambdaQuery()
|
|
List<OrderDetailFile> fs = orderDetailFileService.lambdaQuery()
|
|
@@ -407,6 +412,9 @@ public class DetailDownloadServiceImpl implements DetailDownloadService {
|
|
log.info("采集明细 fsFjguid {}", JSONObject.toJSONString(fsFjguid));
|
|
log.info("采集明细 fsFjguid {}", JSONObject.toJSONString(fsFjguid));
|
|
|
|
|
|
for (ItfTblAzWgmxJyktFjDownload item :jykts){
|
|
for (ItfTblAzWgmxJyktFjDownload item :jykts){
|
|
|
|
+
|
|
|
|
+ log.info("采集明细x ");
|
|
|
|
+
|
|
// 采集明细表未同步不处理
|
|
// 采集明细表未同步不处理
|
|
if (!oidsMap.containsKey(item.getPgwcmxid())){
|
|
if (!oidsMap.containsKey(item.getPgwcmxid())){
|
|
odfs.clear();
|
|
odfs.clear();
|