进件关联

This commit is contained in:
2026-01-16 17:42:02 +08:00
parent 1f6593c957
commit 592cc99db4
6 changed files with 21 additions and 33 deletions

View File

@@ -23,7 +23,7 @@ public class ShopMerchantDTO {
* 聚合支付商户
* native 必填 对应 tb_shop_direct_merchant 的 licence_no 营业执照
*/
private String relatedLicenceNo;
private Long relatedId;
/**
* 原生支付参数
*/

View File

@@ -3,7 +3,6 @@ package com.czg.order.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@@ -42,9 +41,9 @@ public class ShopMerchant implements Serializable {
/**
* 聚合支付商户
* native 必填 对应 tb_shop_direct_merchant 的 licence_no 营业执照
* native 必填 对应 tb_shop_direct_merchant 的 shopId
*/
private String relatedLicenceNo;
private Long relatedId;
/**
* 微信appid

View File

@@ -28,7 +28,7 @@ public interface ShopMerchantService extends IService<ShopMerchant> {
* 已绑定的支付
* 更新商户支付参数
*/
void upMerchant(@NotBlank String relatedLicenceNo, @NotNull NativeMerchantDTO nativeMerchantDTO);
void upMerchant(@NotBlank Long relatedId, @NotNull NativeMerchantDTO nativeMerchantDTO);
ShopMerchant getByShopId(Long shopId);