1、if 查询语句自带where固定条件的情况下用; 正确示例: <select id="findActiveBlogLike" resultType="Blog"> SELECT * FROM BLOG WHERE state = ‘ACTIVE’ <if test="title != null" ...
分类:
数据库 时间:
2020-02-25 22:59:45
阅读次数:
89
1. IWebHostEnvironment获取常用属性 (1).获取项目的根目录 _env.ContentRootPath 等价于 Directory.GetCurrentDirectory() (2).获取项目下wwwroot目录 _env.WebRootPath (3).获取项目最终dll的目 ...
分类:
Web程序 时间:
2020-02-25 18:08:49
阅读次数:
69
1. 阿里百秀案例(bootstrap) 在阿里百秀顶端添加导航条:在container容器里面最顶端创建一个行row,将代码复制进去,在对内容稍加修改(删掉不需要的内容,多复制需要的内容,文字内容的修改等)bootstrap 组件 导航条 点击登陆出现模态框bootstrap js 模态框 将模态 ...
分类:
Web程序 时间:
2020-02-25 17:27:53
阅读次数:
71
效果图: 使用: 1.<template> <el-header style="height: 61px" > <el-menu mode = "horizontal" background-color = "#76c7f4" text-color = "#000000" active-text-c ...
分类:
其他好文 时间:
2020-02-24 23:46:29
阅读次数:
432
Abstract Input: A query image Source: A point cloud reconstruction of a large scene (有一百多万3D点) Result:pose 关键:an efficient and effective search method ...
分类:
其他好文 时间:
2020-02-24 20:24:08
阅读次数:
68
最近,项目中遇到这样的问题。 要给这个tab的底部蓝线左右加上圆角。 然而,这个元素确实如上图所示,只是active的时候加了个underline的类,蓝线并没有单独的html。 若给这个span加上border-bottom-left-radius和border-bottom-right-radi ...
分类:
Web程序 时间:
2020-02-24 18:16:54
阅读次数:
104
盘符切换 直接写想转到的盘,如(D:)注意一定要是英文输入。 切换目录 cd/x想换的目录名;cd(change directory) 返回上一级 md.. 清理屏幕 cls (clear screen) 退出终端 exit 查看电脑的ip ipconfig(可以看到电脑的状态,电脑联网才好使哦) ...
分类:
其他好文 时间:
2020-02-24 16:46:57
阅读次数:
65
解决方法:build中加过滤存在多级目录要把目录多级处理定位: <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <excludes> <exclude>stati ...
分类:
其他好文 时间:
2020-02-24 16:46:34
阅读次数:
298
warning: LF will be replaced by CRLF in about/index.html.The file will have its original line endings in your working directory 原因是存在符号转义问题;windows的换行 ...
分类:
其他好文 时间:
2020-02-24 12:48:48
阅读次数:
92
安装QT后第一次新建一个console程序,执行qmake--构建--运行,弹出The CDB process terminated; debug工具已经装过,应该不是工具的问题。后来发现是运行设置里working directory设置的问题。 应该是%{sourceDir}。 以此记录。 ...
分类:
数据库 时间:
2020-02-24 09:39:03
阅读次数:
329