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