报错如下: Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory 解决方式: apt-get install -y locales locale-gen en_US.UTF-8 ...
分类:
其他好文 时间:
2021-06-24 18:14:03
阅读次数:
0
1.@Transactional修饰的方法为非public方法,这个时候@Transactional会实现。失败的原理是:@Transactional是基于动态代理来实现的,非public的方法,他@Transactional的动态代理对象信息为空,所以不能回滚。 2.在类内部没有添加@Transa ...
分类:
其他好文 时间:
2021-06-24 18:13:10
阅读次数:
0
模型事件是指在进行模型的查询和写入操作的时候触发的操作行为 模型事件只在调用模型的方法生效,使用查询构造器操作是无效的 编号 事件 描述 事件方法名1 after_read 查询后 onAfterRead2 before_insert 新增前 onBeforeInsert3 after_insert ...
分类:
Web程序 时间:
2021-06-24 18:09:59
阅读次数:
0
COCO 的jeson 文件: "images": [{"file_name": "811000171.jpg", "height": 720, "width": 1280, "id": 811000171}, {"file_name": "811000131.jpg", "height": 720 ...
分类:
其他好文 时间:
2021-06-24 18:06:36
阅读次数:
0
data() { return { krpano:null //存krpano变量 } }, // 初始化全景 embedpanoInit(name) { if (document.getElementById('krpanoObject')) { document.getElementById(' ...
分类:
其他好文 时间:
2021-06-24 18:00:55
阅读次数:
0
创建数据库: CREATE TABLE emp( eid INT , -- 员工编号 NAME VARCHAR(10), -- 姓名 age INT -- 年龄 ); 插入多条数据记录: (1)方法一:依次输入插入数据 INSERT INTO dept (eid,NAME,age) VALUES ( ...
分类:
数据库 时间:
2021-06-24 17:50:19
阅读次数:
0
结论 配置demo: location xxx { root yyy } 浏览器访问 xxx,实际访问的是 yyy/xxx浏览器访问 xxx/abc.html,实际访问的是 yyy/xxx/abc.html浏览器访问 xxx/ccc/abc.html,实际访问的是 yyy/xxx/ccc/abc.h ...
分类:
其他好文 时间:
2021-06-24 17:47:20
阅读次数:
0
QFile file("E:\\community.txt"); QTextStream in(&file); in.setCodec(QTextCodec::codecForName("UTF-8"));//让文件以UTF-8的方式译码。 if(!file.open(QIODevice::Read ...
分类:
其他好文 时间:
2021-06-24 17:42:59
阅读次数:
0
rem 设定开始时间set "ks=%date:~,4%/%date:~5,2%/%date:~8,2% %time:~0,2%:%time:~3,2%:%time:~6,2%"rem 开始导出数据 expdp 本地账户名/本地密码@localhost/orcl directory=DATA_PUM ...
分类:
数据库 时间:
2021-06-24 17:41:28
阅读次数:
0
{ "category":[ "id":"1", "isleaf":"0", "isshow":"1", "label":"根结点", "name":"根结点", "orderby":1, "parentid":"0", "children":[ { "id":"1-1 ...
分类:
Web程序 时间:
2021-06-24 17:37:47
阅读次数:
0