init_object,增加了不完全的登录API,完善数据库设计

This commit is contained in:
guo
2024-06-28 22:31:21 +08:00
parent b0deeb58af
commit f1dc42fce5
14 changed files with 417 additions and 0 deletions
@@ -0,0 +1,15 @@
package com.guo.learningprogresstracker.service;
import com.guo.learningprogresstracker.domain.entity.TestTableEntity;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author Administrator
* @description 针对表【test_table(测试表)】的数据库操作Service
* @createDate 2024-04-28 18:01:21
*/
//@Service
public interface TestTableService extends IService<TestTableEntity> {
TestTableEntity getTestEntityById(String id);
}
@@ -0,0 +1,26 @@
package com.guo.learningprogresstracker.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guo.learningprogresstracker.domain.entity.TestTableEntity;
import com.guo.learningprogresstracker.mapper.TestTableMapper;
import com.guo.learningprogresstracker.service.TestTableService;
import org.springframework.stereotype.Service;
/**
* @author Administrator
* @description 针对表【test_table(测试表)】的数据库操作Service实现
* @createDate 2024-04-28 18:01:21
*/
@Service
public class TestTableServiceImpl extends ServiceImpl<TestTableMapper, TestTableEntity>
implements TestTableService {
@Override
public TestTableEntity getTestEntityById(String id) {
return this.getById(id);
}
}