|
|
|
@@ -449,10 +449,10 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService { |
|
|
|
logger.error("证书路径为空"); |
|
|
|
throw new MallinkException(ErrorCode.CERT_PATH_NOT_FOUND.getCode(), "证书路径为空,请联系商城管理员"); |
|
|
|
} |
|
|
|
// if (!Utility.isFileExist(payAccount.getCertPath())) { |
|
|
|
// logger.error("证书文件不存在"); |
|
|
|
// throw new MallinkException(ErrorCode.CERT_PATH_NOT_FOUND.getCode(), "证书文件不存在,请联系商城管理员"); |
|
|
|
// } |
|
|
|
if (!Utility.isFileExist(payAccount.getCertPath())) { |
|
|
|
logger.error("证书文件不存在"); |
|
|
|
throw new MallinkException(ErrorCode.CERT_PATH_NOT_FOUND.getCode(), "证书文件不存在,请联系商城管理员"); |
|
|
|
} |
|
|
|
// check 是否有退款订单 |
|
|
|
List<WxRefundOrder> refundList = wxRefundOrderMapper.findList(record); |
|
|
|
if (refundList.size() > 0) { |
|
|
|
|