Commit 79c0f0ca by 程裕兵

feat:apply

parent 9ca7c90d
......@@ -239,10 +239,14 @@ public class MerchantConvert {
.openFailMessage(openFailMessage)
.aliOpenState(ali.getState().getCode())
.aliAuthState(convertAliAuthState(auths))
.aliMerchantNo(JSON.toJSONString(ali.getMerchantNos()))
.aliMerchantNo(
Optional.ofNullable(ali.getMerchantNos()).orElse(new ArrayList<>(1)).stream().findFirst()
.orElse(null))
.aliOpenFailMessage(ali.getFailMessage())
.wxOfflineOpenState(wxOfflineState.getCode())
.wxOfflineMerchantNo(JSON.toJSONString(wxGzhOffline.getMerchantNos()))
.wxOfflineMerchantNo(
Optional.ofNullable(wxGzhOffline.getMerchantNos()).orElse(new ArrayList<>(1)).stream().findFirst()
.orElse(null))
.wxOfflineAuthState(convertWxOfflineAuthState(auths))
.wxOfflineOpenFailMessage(wxOfflineFailMessage)
.finishTime(OpenStateEnums.SUCCESS == state ? new Date() : null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment