feat: remove example

This commit is contained in:
set
2026-02-05 18:53:34 +08:00
parent d03897c525
commit 6c0ed89397
6 changed files with 2 additions and 72 deletions

View File

@@ -1,7 +1,8 @@
{ {
"permissions": { "permissions": {
"allow": [ "allow": [
"Bash(git add:*)" "Bash(git add:*)",
"Bash(git commit:*)"
] ]
} }
} }

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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> {
}

View File

@@ -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> {
}

View File

@@ -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;
}