代码拉取完成,页面将自动刷新
同步操作将从 CoCoTea/sra-admin 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
![]() |
![]() |
![]() |
![]() |
v1.0.1
public interface IUserService {
// 注释已省略......
boolean add(UserAddParam param) throws BusinessException;
boolean deleteBatch(List<String> idList) throws BusinessException;
boolean update(UserUpdateParam param) throws BusinessException;
Page<UserVO> listByPage(Page<UserVO> param) throws BusinessException;
boolean delete(String id) throws BusinessException;
}
v1.0.2
public interface IUserService extends IBaseService<Page<UserVO>, UserPageParam, UserAddParam, UserUpdateParam> {
}
mybatits
public class UserServiceImpl{
@Autowired
private UserMapper userMapper;
public List<User> getAll() {
return userMapper.getAll();
}
}
// + 这里还得加一个mapper
public class UserMapper{
public List<User> getAll();
}
// mapper的xml文件......
sqltoy
public class UserServiceImpl{
@Autowired
private SqlToyLazyDao sqlToyLazyDao;
public List<User> getAll() {
return sqlToyLazyDao.findBySql("getAll");
}
}
// - 这里不用再写一个mapper.java文件
// mapper的xml文件......
application.yml配置文件位置:src/main/resources/application.yml
数据库脚本:/doc/db/DB_SRA_V1.sql
Main入口主类:sra-bootstrap/src/main/java/com/jwss/bootstrap/SraApplicationBoot.java
$ cd sra-ui #切换到前端目录
$ npm install || yarn #安装依赖
$ npm run serve || yarn serve #开发环境
$ npm run build || yarn build #生产环境
├─logs ------------------------日志文件
├─doc -------------------------文档
│ └─db -----------------------数据库脚本
├─sra-bootstrap ---------------启动模块
├─sra-common ------------------常用模块
├─sra-config ------------------配置模块
├─sra-framework ---------------框架模块
├─sra-system ------------------系统模块
└─sra-ui ----------------------前端项目
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。