今天来试试mybatis新的写法,0配置文件 代码可以这么写 package com.cnsuning.com.mapper; public interface UserMapper { @Select("SELECT * FROM users") @Results({ @Result(proper ...
分类:
编程语言 时间:
2021-03-01 13:06:16
阅读次数:
0
Problem: Whenever I run spyder, It results in the error below QXcbConnection: Failed to initialize XRandr Qt: XKEYBOARD extension not present on the X ...
分类:
编程语言 时间:
2021-01-08 10:52:06
阅读次数:
0
占位... from https://gobyexample.com/worker-pools package main import ( "fmt" "time" ) func worker(id int, jobs <-chan int, results chan<- int) { for j ...
分类:
其他好文 时间:
2020-12-30 10:49:19
阅读次数:
0
今天用RF工具做UI自动化的时候,jenkins上的Rebots Results不显示报告。 具体:点击log.html,report .html的时候,出现如下情况: 但是呢,保存到本地的log.html,report .html却能用浏览器打开。 解决办法: 1,先安装两个插件:Startup ...
分类:
其他好文 时间:
2020-11-06 01:54:15
阅读次数:
21
有点坑 参考 https://www.pythonheidong.com/blog/article/366299/ 在designer左边是横竖找不到QWebEngineView这个控件的, 得自己拖1个最矬的Widget,然后自己promoted to, 分别填入 QWebEngineView P ...
分类:
Web程序 时间:
2020-09-17 19:49:09
阅读次数:
45
如题 ,在maven 打包编译的时候发现这个报错: 查看代码: /** * 请求成功 * @return */ public static <T> ResultStatus<T> success(String msg){ ResultStatus resultStatus = new ResultS ...
分类:
编程语言 时间:
2020-08-26 17:17:11
阅读次数:
77
直接进入正题,对于使用robotframework编写自动化用例时,经常会碰到各种下拉框,下面详情说明各种下拉框的操作。 div格式的下拉框 源码如下 <ul class="select2-results" xpath="1"> <li class="select2-results-dept-0 s ...
分类:
其他好文 时间:
2020-08-05 14:24:52
阅读次数:
75
mybatis 注解@Results、@Result、@ResultMap、@One的使用 column是数据库列名 property是实体类的属性名 javaType是实体类的类名(全路径格式) one对应的是一对一 many对应的是一对多 ...
分类:
其他好文 时间:
2020-07-29 12:36:35
阅读次数:
81
# 格式化字符串: 在字符串前加上 f 或者 F 使用 {变量名} 的形式来使用变量名的值 year = 2020 event = 'Referendum' value = f'Results of the {year} {event}' print(f'Results of the {year} ...
分类:
编程语言 时间:
2020-07-19 00:35:57
阅读次数:
139
Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont ...
分类:
其他好文 时间:
2020-07-18 15:29:10
阅读次数:
71