Description 给定一个正整数序列A,要求支持以下操作 1): + a b c 表示在[a,b]上加上一个常数C。 2): * a b c 在[a,b]上乘上一个常数K。 3): QUERY a b 查询[a,b]的sum。 Input 第一行两个正整数n、m,n表示序列长度,m表示操作数 ...
分类:
其他好文 时间:
2020-07-03 15:31:03
阅读次数:
49
ProjectConfig: package com.ultiwill.utils; import com.ultiwill.entity.EsConfigEntity; import com.alibaba.fastjson.JSON; public class ProjectConfig { p ...
分类:
其他好文 时间:
2020-07-03 12:32:39
阅读次数:
54
Native Query throw exception dto code import lombok.Value; @Value public class IdsOnly { Integer id; String otherId; } repository public interface Tes ...
分类:
编程语言 时间:
2020-07-03 11:00:36
阅读次数:
147
不知不觉中,做Java开发已经四年了,趁着现在换了工作,还算比较闲,就整理一下自己学习的一些知识。 在学习过程中,我喜欢找的一些电子书来系统化的学习,多数时候我都只是做一个大概的了解,没有深入学习,基本就是看下目录,看下前几章的内容,深入的只会在实际用的时候才去详细看了。我从以下几个方面整理了一下这 ...
分类:
编程语言 时间:
2020-07-01 20:39:07
阅读次数:
86
<!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstr ...
分类:
其他好文 时间:
2020-07-01 12:34:27
阅读次数:
49
宝藏网站来源于b站UP主 “我是莫提" https://flatuicolors.com/ 前端配色参考网站 http://zhongguose.com/ 中国传统颜色网站 https://www.iconfont.cn/ 阿里矢量图标库网站 http://www.fontawesome.com.c ...
分类:
Web程序 时间:
2020-06-30 22:44:12
阅读次数:
93
《Windows Azure Platform 系列文章目录》 今天下午正好需要查询Azure资源,这里简单介绍一下: 1.查询Azure虚拟机信息: https://github.com/leizhang1984/AzureChinaResourceGraph/blob/master/1Query ...
分类:
其他好文 时间:
2020-06-30 22:31:12
阅读次数:
64
前言 Django 的查询语法难以简单的表达复杂的 WHERE 子句,对于对于这种情况, Django 提供了 extra() 方法。 extra() 能在 QuerySet 生成的SQL从句中注入新子句,这样可以完成复制的查询。 extra() extra 方法的源码在 models/query. ...
分类:
编程语言 时间:
2020-06-30 20:27:44
阅读次数:
70
1、用name和params传参(参数不会带在地址中,页面刷新参数会丢失) 对应路由配置 { path: '/detail', name: 'detail', component: detail } 跳转时传参 this.$router.push({ name: 'detail',// 页面名称 p ...
分类:
其他好文 时间:
2020-06-30 17:37:38
阅读次数:
67
http_build_query()函数使用方法 http_build_query()函数的作用是使用给出的关联(或下标)数组生成一个经过 URL-encode 的请求字符串。 写法格式:http_build_query ( mixed $query_data [, string $numeric_ ...
分类:
Web程序 时间:
2020-06-30 14:40:58
阅读次数:
91