1、NVL(expr1,expr2[,expr3]) 1.1、NVL(expr1,expr2),替换NULL值,如果expr1为NULL值,则返回expr2的值,否则返回expr1的值。 该函数要求两个参数类型一致至少相互之间可以进行隐式的转换。 1.2、NVL(expr1,expr2,expr3) ...
分类:
数据库 时间:
2021-06-18 18:51:23
阅读次数:
0
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if i ...
分类:
其他好文 时间:
2021-06-17 17:13:05
阅读次数:
0
1.2 注解@Import 该注解可以给容器导入很多的组件,有一个value属性,是Class的数组,所以可以 一下导入多个组件,该注解可以添加在组件类上面。具体使用如下,在MyConfig配置类上面添加该注解 package com.studymyself.config; import ch.qo ...
分类:
编程语言 时间:
2021-06-17 17:12:18
阅读次数:
0
1、批量插入 ServiceImpl层 List<Person> addPeople = new ArrayList<>(); //addPeople存放多个Person对象 personMapper.insetPeopleReturnIds(addPeople); Dao层接口(这里的注解para ...
分类:
数据库 时间:
2021-06-17 17:02:57
阅读次数:
0
插入数据,存在就更新,不存在就插入: insert into tablename (key1,key2,key3) values ('xxx','xxx','xxx') on conflict(key1) do update set key2 = 'yyy',key3 = 'yyy'; 修改表中的字 ...
分类:
数据库 时间:
2021-06-17 17:01:10
阅读次数:
0
两数之间随机数,可以用两数之间的最小数(min),最大数(max) 一·、(最大数max-最小数min)+最小数(min) Math.ceil(Math.random()*(max-min)+min) 二、(最小数min-最大数max)+最大数(max) Math.ceil(Math.random( ...
分类:
其他好文 时间:
2021-06-17 16:44:03
阅读次数:
0
python中max 与lambda函数联用 dic={'k1':10,'k2':100,'k3':30} print(dic[max(dic,key=lambda k:dic[k])]) #输出结果为100 当看到*max(dic,key=lambda k:dic[k])*时懵逼了,这怎么比大小, ...
分类:
编程语言 时间:
2021-06-17 16:43:38
阅读次数:
0
VS2015 NX12 //关键代码 //用户代码NXString YN_Shrinkage::doubleToNXString(double value)//double转换NXString{ stringstream tmpValue1; tmpValue1 << setprecision(16 ...
分类:
其他好文 时间:
2021-06-17 16:35:34
阅读次数:
0
<?php /** * BCmath 封装类 * Calc::init(10)->add(1,2,3)->sub(1,2)->mul(4, 5)->value(2); // (10+1+2+3-1-2)*4*5 最后 get 保留 2位小数 * Calc::add(10, 2)->div(2)->v ...
分类:
Web程序 时间:
2021-06-16 18:18:02
阅读次数:
0
四种格式的解析: filelist slicelist download.cfg third_party_download.cfg 还是2个文件。替换之前版本即可。 初步测试正常,但时间轴不对。 代码如下: # -*- coding: UTF-8 -*- import os import io im ...
分类:
其他好文 时间:
2021-06-16 17:41:38
阅读次数:
0