购买解决框架

master
chaiyapeng 2024-09-01 14:45:28 +08:00
parent 3c72e49be8
commit 0aed87c444
4 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package com.muyu.system.controller;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @Authorchaiyapeng
* @Packagecom.muyu.system.controller
* @Projectcloud-system
* @nameBuyInterface
* @Date2024/9/1 14:37
*/
@RestController
@RequestMapping("/buy")
@Tag(name = "BuyMapper", description = "购买接口")
public class BuyInterface {
}

View File

@ -0,0 +1,15 @@
package com.muyu.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muyu.system.domain.Connector;
/**
* @Authorchaiyapeng
* @Packagecom.muyu.system.mapper
* @Projectcloud-system
* @nameBuyInterface
* @Date2024/9/1 14:38
*
*/
public interface BuyMapper extends BaseMapper<Connector> {
}

View File

@ -0,0 +1,15 @@
package com.muyu.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.muyu.system.domain.Connector;
/**
* @Authorchaiyapeng
* @Packagecom.muyu.system.service
* @Projectcloud-system
* @nameBuyService
* @Date2024/9/1 14:40
*
*/
public interface BuyService extends IService<Connector> {
}

View File

@ -0,0 +1,19 @@
package com.muyu.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muyu.system.domain.Connector;
import com.muyu.system.mapper.BuyMapper;
import com.muyu.system.service.BuyService;
import org.springframework.stereotype.Service;
/**
* @Authorchaiyapeng
* @Packagecom.muyu.system.service.impl
* @Projectcloud-system
* @nameBuyServiceImpl
* @Date2024/9/1 14:40
*
*/
@Service
public class BuyServiceImpl extends ServiceImpl<BuyMapper, Connector> implements BuyService {
}