|
|
|
@@ -192,6 +192,8 @@ public class WxProfitSharingOrderServiceImpl implements WxProfitSharingOrderServ |
|
|
|
} |
|
|
|
List<WxProfitSharingResult> resultList = new ArrayList<WxProfitSharingResult>(); |
|
|
|
if(jsonArray == null || jsonArray.isEmpty()){ |
|
|
|
shareResult = payShareAdapterService.noReciverShare(cAppInfo, payAccount, sharingOrder); |
|
|
|
}else{ |
|
|
|
final IdWorker idworker = IdWorker.get(); |
|
|
|
Date currentDate = new Date(); |
|
|
|
try { |
|
|
|
@@ -213,8 +215,6 @@ public class WxProfitSharingOrderServiceImpl implements WxProfitSharingOrderServ |
|
|
|
logger.error("分账详细信息为null",e); |
|
|
|
return new ResultData(ErrorCode.PROFIT_SHARING_RECEIVER_INVALID); |
|
|
|
} |
|
|
|
shareResult = payShareAdapterService.noReciverShare(cAppInfo, payAccount, sharingOrder); |
|
|
|
}else{ |
|
|
|
shareResult = payShareAdapterService.haveReciversShare(cAppInfo, payAccount, sharingOrder, jsonArray, wxPayOrder.getMchType()); |
|
|
|
} |
|
|
|
|
|
|
|
|