|
@@ -328,12 +328,12 @@ public class WebsitSalesLogic {
|
|
final Integer payConfigCount = adminWebsitPayConfigService.lambdaQuery()
|
|
final Integer payConfigCount = adminWebsitPayConfigService.lambdaQuery()
|
|
.eq(AdminWebsitPayConfig::getCompanyWechatId, wechat.getCompanyWechatId())
|
|
.eq(AdminWebsitPayConfig::getCompanyWechatId, wechat.getCompanyWechatId())
|
|
.eq(AdminWebsitPayConfig::getWebsitId, websitId)
|
|
.eq(AdminWebsitPayConfig::getWebsitId, websitId)
|
|
- .eq(AdminWebsitPayConfig::getType, sales.getGoodsType())
|
|
|
|
|
|
+ .eq(AdminWebsitPayConfig::getType, goodsType)
|
|
.eq(AdminWebsitPayConfig::getStatus, true)
|
|
.eq(AdminWebsitPayConfig::getStatus, true)
|
|
.count();
|
|
.count();
|
|
|
|
|
|
if (payConfigCount == 0) {
|
|
if (payConfigCount == 0) {
|
|
- throw new RemoteServiceException(sales.getWebsitName() + " 未配置线上收款");
|
|
|
|
|
|
+ throw new RemoteServiceException("未配置线上收款");
|
|
}
|
|
}
|
|
|
|
|
|
sales.setTotalAmount(BigDecimal.ZERO);
|
|
sales.setTotalAmount(BigDecimal.ZERO);
|