|
@@ -1309,15 +1309,17 @@ public class WmScorePackageSettleNoteServiceImpl extends ServiceImpl<WmScorePack
|
|
|
|
|
|
|
|
|
if (Objects.equals(settelObj.getInt("code"), CommonConstants.SUCCESS)) {
|
|
|
+ JSONObject dataJsonObj = settelObj.getJSONObject("data");
|
|
|
+
|
|
|
log.info("政企之星结算提交成功: {}", note.getSettleNo());
|
|
|
- //streamId 获取不到
|
|
|
- if (StringUtils.isEmpty(settelObj.getStr("data"))) {
|
|
|
- log.warn("政企之星结算提交成功 requestId 获取不到: {}", note.getSettleNo());
|
|
|
+ //data 获取不到
|
|
|
+ if (dataJsonObj == null) {
|
|
|
+ log.warn("政企之星结算提交成功 data 获取不到: {}", note.getSettleNo());
|
|
|
}
|
|
|
note.setUpdateTime(LocalDateTime.now());
|
|
|
note.setSettleNoteStatus(DingEnum.NOTE_STATUS_SUBMIT.getType());
|
|
|
// 新增字段streamId
|
|
|
- note.setStreamId(settelObj.getStr("data"));
|
|
|
+ note.setStreamId(dataJsonObj.getStr("requestId"));
|
|
|
} else {
|
|
|
log.warn("政企之星结算提交失败: {}", note.getSettleNo());
|
|
|
note.setUpdateTime(LocalDateTime.now());
|