feat: remove example
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(git add:*)"
|
||||
"Bash(git add:*)",
|
||||
"Bash(git commit:*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
package icu.sunway.ai_spring_example.Controller.ExampleEntityController;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import jakarta.annotation.Resource;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import icu.sunway.ai_spring_example.Service.IExampleEntityService;
|
||||
|
||||
@Controller
|
||||
@RestController
|
||||
@RequestMapping("/example")
|
||||
public class EaxmpleEntityController {
|
||||
@Resource
|
||||
private IExampleEntityService exampleEntityService;
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package icu.sunway.ai_spring_example.Entity;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName("example_entity")
|
||||
public class ExampleEntity {
|
||||
private Long id;
|
||||
private String name;
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
package icu.sunway.ai_spring_example.Mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import icu.sunway.ai_spring_example.Entity.ExampleEntity;
|
||||
|
||||
@Mapper
|
||||
public interface ExampleEntityMapper extends BaseMapper<ExampleEntity> {
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package icu.sunway.ai_spring_example.Service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import icu.sunway.ai_spring_example.Entity.ExampleEntity;
|
||||
|
||||
public interface IExampleEntityService extends IService<ExampleEntity> {
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package icu.sunway.ai_spring_example.Service.Implements;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import icu.sunway.ai_spring_example.Entity.ExampleEntity;
|
||||
import icu.sunway.ai_spring_example.Mapper.ExampleEntityMapper;
|
||||
import icu.sunway.ai_spring_example.Service.IExampleEntityService;
|
||||
import jakarta.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class ExampleEntityServiceImpl extends ServiceImpl<ExampleEntityMapper, ExampleEntity>
|
||||
implements IExampleEntityService {
|
||||
|
||||
@Resource
|
||||
private ExampleEntityMapper exampleEntityMapper;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user