更新pom依赖版本
parent
e0bddcfa82
commit
5e870f51e1
|
@ -0,0 +1,70 @@
|
|||
package com.muyu.cloud.pay.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.muyu.common.core.web.domain.BaseEntity;
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* @Author:yang
|
||||
* @Package:com.muyu.cloud.pay.domain
|
||||
* @Project:cloud-pay
|
||||
* @name:OrdePayCustomer
|
||||
* @Date:2024/8/5 19:02
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName(value = "order_pay_customer")
|
||||
public class OrderPayCustomer extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 注解
|
||||
*/
|
||||
@TableId(value = "id",type= IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 服务/客户名称
|
||||
*/
|
||||
private String appName;
|
||||
|
||||
/**
|
||||
*服务/客户编码
|
||||
*/
|
||||
private String appCode;
|
||||
|
||||
/**
|
||||
*客户描述
|
||||
*/
|
||||
private String appDesc;
|
||||
|
||||
/**
|
||||
*是否开启
|
||||
*/
|
||||
private String status;
|
||||
|
||||
// /**
|
||||
// *
|
||||
// */
|
||||
// private String createdBy;
|
||||
//
|
||||
// /**
|
||||
// *
|
||||
// */
|
||||
// private String createdTime;
|
||||
//
|
||||
// /**
|
||||
// *
|
||||
// */
|
||||
// private String updateBy;
|
||||
//
|
||||
// /**
|
||||
// *
|
||||
// */
|
||||
// private String updatedTime;
|
||||
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
package com.muyu.cloud.pay.domain.req;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.apache.skywalking.apm.toolkit.trace.Tags;
|
||||
|
||||
/**
|
||||
* @Author:yang
|
||||
* @Package:com.muyu.cloud.pay.domain.req
|
||||
* @Project:cloud-pay
|
||||
* @name:CustomerListReq
|
||||
* @Date:2024/8/5 20:28
|
||||
*/
|
||||
@Tag(name="客户列表请求对象")
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class CustomerListReq {
|
||||
|
||||
/**
|
||||
* 服务/客户名称
|
||||
*/
|
||||
@Schema(name = "服务/客户名称",type = "String",description = "客户名称,为微服务中文名称")
|
||||
private String appName;
|
||||
|
||||
/**
|
||||
*服务/客户编码
|
||||
*/
|
||||
@Schema(name = "服务/客户编码",type = "String",description = "客户名称,为微服务名称")
|
||||
private String appCode;
|
||||
|
||||
/**
|
||||
*是否开启
|
||||
*/
|
||||
@Schema(name = "是否开启",type = "String",description = "客户状态,Y是开启 N是关闭")
|
||||
private String status;
|
||||
}
|
|
@ -9,10 +9,9 @@
|
|||
<version>1.0.0</version>
|
||||
|
||||
</parent>
|
||||
<groupId>com.muyu</groupId>
|
||||
|
||||
<artifactId>cloud-server-parent</artifactId>
|
||||
<version>3.6.4</version>
|
||||
<artifactId>cloud-pay-server</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
|
@ -86,6 +85,10 @@
|
|||
<artifactId>cloud-common-rabbit</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.muyu</groupId>
|
||||
<artifactId>cloud-pay-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
package com.muyu.cloud.pay.controller;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Author:yang
|
||||
* @Package:com.muyu.cloud.pay.controller
|
||||
* @Project:cloud-pay
|
||||
* @name:OrderPayCustomerController
|
||||
* @Date:2024/8/5 20:05
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/customer")
|
||||
public class OrderPayCustomerController {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
package com.muyu.cloud.pay.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.muyu.cloud.pay.domain.OrderPayCustomer;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Author:yang
|
||||
* @Package:com.muyu.cloud.pay.mapper
|
||||
* @Project:cloud-pay
|
||||
* @name:OrderPayCustomerMapper
|
||||
* @Date:2024/8/5 19:49
|
||||
*/
|
||||
@Mapper
|
||||
public interface OrderPayCustomerMapper extends BaseMapper<OrderPayCustomer> {
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
package com.muyu.cloud.pay.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.muyu.cloud.pay.domain.OrderPayCustomer;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Author:yang
|
||||
* @Package:com.muyu.cloud.pay.service.impl
|
||||
* @Project:cloud-pay
|
||||
* @name:OrderPayCustomerService
|
||||
* @Date:2024/8/5 19:54
|
||||
*/
|
||||
@Service
|
||||
public interface OrderPayCustomerService extends IService<OrderPayCustomer> {
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
package com.muyu.cloud.pay.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.muyu.cloud.pay.domain.OrderPayCustomer;
|
||||
import com.muyu.cloud.pay.mapper.OrderPayCustomerMapper;
|
||||
import com.muyu.cloud.pay.service.OrderPayCustomerService;
|
||||
import org.apache.catalina.mapper.Mapper;
|
||||
|
||||
/**
|
||||
* @Author:yang
|
||||
* @Package:com.muyu.cloud.pay.service.impl.OrderPayCustomerService
|
||||
* @Project:cloud-pay
|
||||
* @name:impl
|
||||
* @Date:2024/8/5 19:56
|
||||
*/
|
||||
public class OrderPayCustomerServiceImpl
|
||||
extends ServiceImpl<OrderPayCustomerMapper,OrderPayCustomer>
|
||||
implements OrderPayCustomerService {
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue