石嘉懿的博客

石嘉懿的博客

MyBatis的 @ResultMap(value="studentMap")简化

使用ResultMap避免因使用@Results产生的过多的冗余代码。 @Select({"select id, name, class_id from my_student where i


小石同学i  1758  2019-12-16 阅读全文

web项目获取properties文件路径

String profilepath =Object.class.getResource("/").getPath()+"access-token.properties&


小石同学i  1869  2019-12-12 阅读全文

LayUi的后台iframe版本子页面请求父页面打开标签的方法

javascript:window.parent.layui.index.openTabsPage("地址(http://www.baidu.com)","卡片标题(百度


小石同学i  1872  2019-12-09 阅读全文

MySql当id自增长列为空时返回0

select IFNULL((select cm_id from class_management where cm_name = "训码科技2019软件0班"),0) cm_id


小石同学i  1756  2019-11-28 阅读全文

Mysql实现简单的存储过程

DELIMITER $$ CREATE PROCEDURE `delete_allcard`() BEGIN DECLARE t_error INTEGER DEFAULT


小石同学i  1806  2019-11-15 阅读全文

服务器基本配置

查看文章


小石同学i  1760  2019-10-22 阅读全文