Commit 8544e562 authored by yanghao's avatar yanghao

chore: 客户联系人查询返回客户编码

parent 77aab16c
...@@ -68,6 +68,7 @@ public interface CustomerContactsMapper extends BaseMapperX<CustomerContactsDO> ...@@ -68,6 +68,7 @@ public interface CustomerContactsMapper extends BaseMapperX<CustomerContactsDO>
"c.id as customer_id, ", "c.id as customer_id, ",
"c.name as customer_name, ", "c.name as customer_name, ",
"c.name_en as customer_name_en, ", "c.name_en as customer_name_en, ",
"c.number as customer_number, ",
"c.default_pay as default_pay, ", "c.default_pay as default_pay, ",
"c.no_consignee as no_consignee, ", "c.no_consignee as no_consignee, ",
"cc.* , ", "cc.* , ",
...@@ -110,6 +111,7 @@ public interface CustomerContactsMapper extends BaseMapperX<CustomerContactsDO> ...@@ -110,6 +111,7 @@ public interface CustomerContactsMapper extends BaseMapperX<CustomerContactsDO>
"c.id as customer_id, ", "c.id as customer_id, ",
"c.name as customer_name, ", "c.name as customer_name, ",
"c.name_en as customer_name_en, ", "c.name_en as customer_name_en, ",
"c.number as customer_number, ",
"c.default_pay as default_pay, ", "c.default_pay as default_pay, ",
"c.no_consignee as no_consignee, ", "c.no_consignee as no_consignee, ",
"cc.* , ", "cc.* , ",
......
...@@ -13,6 +13,9 @@ public class CustomerContactsDto { ...@@ -13,6 +13,9 @@ public class CustomerContactsDto {
@ApiModelProperty(value = "客户联系人ID") @ApiModelProperty(value = "客户联系人ID")
private Long customerContactsId; private Long customerContactsId;
@ApiModelProperty(value = "客户编码")
private String customerNumber;
@ApiModelProperty(value = "客户名称", required = true) @ApiModelProperty(value = "客户名称", required = true)
@NotNull(message = "客户名称不能为空") @NotNull(message = "客户名称不能为空")
private String customerName; private String customerName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment