feat():更新内容
parent
edf47ce9f1
commit
0eb48326db
|
@ -19,7 +19,7 @@ import lombok.experimental.SuperBuilder;
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@EqualsAndHashCode(callSuper = true)
|
@EqualsAndHashCode(callSuper = true)
|
||||||
@TableName(value = "order_pay_customer")
|
@TableName(value = "order_pay_customer",autoResultMap = true)
|
||||||
public class OrderPayCustomer extends BaseEntity {
|
public class OrderPayCustomer extends BaseEntity {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -27,20 +27,20 @@ public class CustomerListReq {
|
||||||
/**
|
/**
|
||||||
* 服务/客户名称
|
* 服务/客户名称
|
||||||
*/
|
*/
|
||||||
@Schema(name = "服务/客户名称",type = "String",description = "客户名称,为微服务中文名称")
|
@Schema(type = "String",defaultValue = "客户名称1",description = "客户名称,为微服务中文名称")
|
||||||
private String appName;
|
private String appName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*服务/客户编码
|
*服务/客户编码
|
||||||
*/
|
*/
|
||||||
@Schema(name = "服务/客户编码",type = "String",description = "客户名称,为微服务名称")
|
@Schema(type = "String",defaultValue = "customer_code",description = "客户名称,为微服务名称")
|
||||||
private String appCode;
|
private String appCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*是否开启 sys_yes_no
|
*是否开启 sys_yes_no
|
||||||
*/
|
*/
|
||||||
@Schema(name = "是否开启",type = "String",description = "客户状态,Y是开启 N是关闭")
|
@Schema(type = "String",defaultValue = "Y",description = "客户状态,Y是开启 N是关闭")
|
||||||
@NotNull
|
// @NotNull
|
||||||
@IsSystemYesNo
|
@IsSystemYesNo
|
||||||
private String status;
|
private String status;
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,11 +32,11 @@ public class OrderPayCustomerServiceImpl
|
||||||
OrderPayCustomer::getAppName,customerListReq.getClass()
|
OrderPayCustomer::getAppName,customerListReq.getClass()
|
||||||
);
|
);
|
||||||
queryWrapper.like(
|
queryWrapper.like(
|
||||||
StringUtils.isNotEmpty(customerListReq.getAppName()),
|
StringUtils.isNotEmpty(customerListReq.getAppCode()),
|
||||||
OrderPayCustomer::getAppCode,customerListReq.getClass()
|
OrderPayCustomer::getAppCode,customerListReq.getClass()
|
||||||
);
|
);
|
||||||
queryWrapper.eq(
|
queryWrapper.eq(
|
||||||
StringUtils.isNotEmpty(customerListReq.getAppName()),
|
StringUtils.isNotEmpty(customerListReq.getStatus()),
|
||||||
OrderPayCustomer::getStatus,customerListReq.getClass()
|
OrderPayCustomer::getStatus,customerListReq.getClass()
|
||||||
);
|
);
|
||||||
return this.list(queryWrapper);
|
return this.list(queryWrapper);
|
||||||
|
|
Loading…
Reference in New Issue