Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
terrfly 2024-04-02 08:53:29 +08:00
commit da5733da6e

View File

@ -119,7 +119,11 @@ public class WxpayTransferService implements ITransferService {
TransferBatchesRequest request = new TransferBatchesRequest();
request.setAppid(wxServiceWrapper.getWxPayService().getConfig().getAppId());
request.setOutBatchNo(transferOrder.getTransferId());
request.setBatchName(transferOrder.getAccountName());
if(StringUtils.isNotBlank(transferOrder.getAccountName())){
request.setBatchName(transferOrder.getAccountName());
}else{
request.setBatchName(transferOrder.getTransferDesc());
}
request.setBatchRemark(transferOrder.getTransferDesc());
request.setTotalAmount(transferOrder.getAmount().intValue());
request.setTotalNum(1);