字段的批量替换 update table set 字段A=replace(字段A,'jpg','png'); 批量拼接字符串到某字段 update 表名 set 字段A = concat( 字段A , "xxx" ); update 表名 set 字段A = concat( "yyy" , 字段A ...
分类:
数据库 时间:
2020-08-01 15:50:21
阅读次数:
142
package newleetcode;/** * 搜索插入位置 * 不存在该数据即插入顺序数组适当位置 */public class LeetCode35 { public int search(int[] nums,int val){ for(int i=0;i<nums.length;i++) ...
分类:
其他好文 时间:
2020-08-01 09:19:56
阅读次数:
87
1 class Solution { 2 public int findMagicIndex(int[] nums) { 3 int len = nums.length; 4 for (int i = 0; i < len; i++){ 5 if (i == nums[i]) 6 return i; ...
分类:
其他好文 时间:
2020-08-01 00:12:16
阅读次数:
89
1.1BF算法 其实就是暴力解法,直接双重循环,干就完事了。虽然算不上什么好方法,但是非常简单。对于所有的暴力算法,我们应该思考如何进行优化,比如BF算法,当我们遇到不匹配字符的时候,只能从头的下一个字符开始匹配。这样其实做了很多无用的重复工作。那么我们可以怎样优化呢?下面介绍两种。二者的思想都是避 ...
分类:
编程语言 时间:
2020-08-01 00:11:36
阅读次数:
89
工具类1 /** * Created by Administrator on 2016/2/25. */ public class IdCard { /** 中国公民身份证号码最小长度。 */ public final int CHINA_ID_MIN_LENGTH = 15; /** 中国公民身份 ...
分类:
编程语言 时间:
2020-07-31 14:12:01
阅读次数:
114
server: port: 8006 spring: application: name: consul-provider-payment cloud: consul: host: 192.168.152.131 port: 8500 discovery: service-name: ${sprin ...
分类:
其他好文 时间:
2020-07-31 14:08:12
阅读次数:
99
在PPT中插入会动的GIF图片,播放时生动有趣;可是GIF图片插入Word文档后却变成了静态画面,表现效果大打折扣。让我们装一个小控件,让图片动起来!第一步:登录http://www.officefans.net/cdb/attachment.php?aid=1034下载控件(快车代码:CF0805BANGONG01),解开压缩包,把AniGIF.ocx复制到“windowssystem32”文件
分类:
其他好文 时间:
2020-07-31 01:14:16
阅读次数:
77
直接贴代码了: ::v-deep .el-radio__label { width: 100% !important; text-overflow: ellipsis; white-space: normal; line-height: 18px; // word-wrap: break-word ...
分类:
其他好文 时间:
2020-07-30 22:11:29
阅读次数:
323
1 //自动导出excel/pdf/word 2 private void ResponseFile(int oType, string fileName) 3 { 4 string outType; 5 if (oType == 0) 6 { 7 outType = "Excel"; 8 } 9 ...
分类:
其他好文 时间:
2020-07-30 21:57:41
阅读次数:
85