feat():修改查询时sql空格问题
parent
2db258ecb7
commit
f8eb23c289
|
@ -47,7 +47,7 @@ public class OrderPayCustomer extends BaseEntity {
|
|||
*/
|
||||
private String status;
|
||||
|
||||
public static OrderPayCustomer addBuild(com.muyu.pay.common.domain.req.CustomerAddReq customerAddReq){
|
||||
public static OrderPayCustomer addBuild(com.muyu.cloud.pay.domain.req.CustomerAddReq customerAddReq){
|
||||
return OrderPayCustomer.builder()
|
||||
.appName(customerAddReq.getAppName())
|
||||
.appCode(customerAddReq.getAppCode())
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.muyu.pay.common.domain.req;
|
||||
package com.muyu.cloud.pay.domain.req;
|
||||
|
||||
import com.muyu.common.core.validation.custom.IsSystemYesNo;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
|
|
@ -63,7 +63,7 @@ public class OrderPayCustomerController {
|
|||
*/
|
||||
@PostMapping
|
||||
@Operation(summary = "添加客户信息",description = "添加支付平台客户信息,添加成功后可以使用支付信息")
|
||||
public Result<String> save(@Validated @RequestBody com.muyu.pay.common.domain.req.CustomerAddReq customerAddReq){
|
||||
public Result<String> save(@Validated @RequestBody com.muyu.cloud.pay.domain.req.CustomerAddReq customerAddReq){
|
||||
orderPayCustomerService.save(OrderPayCustomer.addBuild(customerAddReq));
|
||||
return Result.success(null,"操作成功");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue