|
@@ -1083,8 +1083,15 @@ public class WmScorePackageSettleNoteServiceImpl extends ServiceImpl<WmScorePack
|
|
// data获取不到
|
|
// data获取不到
|
|
if (dataJsonObj == null) {
|
|
if (dataJsonObj == null) {
|
|
log.info("政企之星提交成功 data 获取不到");
|
|
log.info("政企之星提交成功 data 获取不到");
|
|
|
|
+ redisTemplate.delete(CacheConstants.SETTLE_PACKAGE_KEY + ":note_id_" + id);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ String requestId = dataJsonObj.getStr("requestId");
|
|
|
|
+ if (StrUtil.isBlank(requestId)) {
|
|
|
|
+ redisTemplate.delete(CacheConstants.SETTLE_PACKAGE_KEY + ":note_id_" + id);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
WmScorePackageSettleNote note = new WmScorePackageSettleNote();
|
|
WmScorePackageSettleNote note = new WmScorePackageSettleNote();
|
|
LocalDateTime now = LocalDateTime.now();
|
|
LocalDateTime now = LocalDateTime.now();
|
|
note.setId(id);
|
|
note.setId(id);
|
|
@@ -1092,7 +1099,7 @@ public class WmScorePackageSettleNoteServiceImpl extends ServiceImpl<WmScorePack
|
|
note.setSubToGigTime(now);
|
|
note.setSubToGigTime(now);
|
|
note.setSettleNoteStatus(DingEnum.NOTE_STATUS_SUBMIT.getType());
|
|
note.setSettleNoteStatus(DingEnum.NOTE_STATUS_SUBMIT.getType());
|
|
// 新增字段streamId
|
|
// 新增字段streamId
|
|
- note.setStreamId(dataJsonObj.getStr("requestId"));
|
|
|
|
|
|
+ note.setStreamId(requestId);
|
|
this.baseMapper.updateById(note);
|
|
this.baseMapper.updateById(note);
|
|
});
|
|
});
|
|
|
|
|
|
@@ -1643,13 +1650,19 @@ public class WmScorePackageSettleNoteServiceImpl extends ServiceImpl<WmScorePack
|
|
|
|
|
|
log.info("政企之星结算提交成功: {}", note.getSettleNo());
|
|
log.info("政企之星结算提交成功: {}", note.getSettleNo());
|
|
//data 获取不到
|
|
//data 获取不到
|
|
- if (dataJsonObj == null) {
|
|
|
|
|
|
+ if (dataJsonObj != null) {
|
|
|
|
+ String requestId = dataJsonObj.getStr("requestId");
|
|
|
|
+ if (StrUtil.isNotBlank(requestId)) {
|
|
|
|
+ note.setUpdateTime(LocalDateTime.now());
|
|
|
|
+ note.setSettleNoteStatus(DingEnum.NOTE_STATUS_SUBMIT.getType());
|
|
|
|
+ // 新增字段streamId
|
|
|
|
+ note.setStreamId(requestId);
|
|
|
|
+ } else {
|
|
|
|
+ log.warn("政企之星结算提交成功 requestId 获取不到: {}", note.getSettleNo());
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
log.warn("政企之星结算提交成功 data 获取不到: {}", note.getSettleNo());
|
|
log.warn("政企之星结算提交成功 data 获取不到: {}", note.getSettleNo());
|
|
}
|
|
}
|
|
- note.setUpdateTime(LocalDateTime.now());
|
|
|
|
- note.setSettleNoteStatus(DingEnum.NOTE_STATUS_SUBMIT.getType());
|
|
|
|
- // 新增字段streamId
|
|
|
|
- note.setStreamId(dataJsonObj.getStr("requestId"));
|
|
|
|
} else {
|
|
} else {
|
|
log.warn("政企之星结算提交失败: {}", note.getSettleNo());
|
|
log.warn("政企之星结算提交失败: {}", note.getSettleNo());
|
|
note.setUpdateTime(LocalDateTime.now());
|
|
note.setUpdateTime(LocalDateTime.now());
|