自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 mysql5.7多字段删除重复数据

DELETEFROMt_office_countryWHERE(office_code, country_code) IN (SELECTt.office_code,t.country_codeFROM(SELECToffice_code,country_codeFROMt_office_countryGROUP BYoffice_code,country_cod...

2019-01-24 15:46:01 592

原创 树形查询

/*** 根据关键字检索查询** @param filter* @return*/public List cascadeQueryByKeyWords(PreSaleRiskQueryVo filter, String version) {//根据inputValue关键字先将整个表查出来List templateList = queryTemplateByKeyWords(fil...

2018-10-31 15:51:04 1047

原创 批量处理SQL

package com.huawei.nis.fttxbaseline.basedata.mapper;import org.apache.commons.lang3.StringUtils;import org.apache.ibatis.annotations.Param;import java.util.List;import java.util.Map;/**批量处理SQL生...

2018-10-30 14:21:45 347

原创 js保留小数后几位

https://www.jb51.net/article/134067.htm

2018-10-23 09:43:50 1412

原创 mysql json

SELECT distinct CAST(JSON_UNQUOTE(attributes_json->’.ClusterID′)ASchar)asoidFROM‘tcable‘whereattributesjson−>′.ClusterID') AS char) as oid FROM `t_cable` where attributes_json-&amp...

2018-09-28 09:58:04 173

原创 springboot 单元测试

src/test/java新建类加注解@RunWith(SpringRunner.class)@SpringBootTest方法上加@Test

2018-09-25 18:07:58 83

原创 导入maven项目报错

Project xxx already exists Add a version or customsolution: You need to open up the Project Explorer view (it may already be open) and delete the project from within there.

2018-06-08 09:27:52 207

转载 Java中BigDecimal的8种舍入模式

java.math.BigDecimal不可变的、任意精度的有符号十进制数。BigDecimal 由任意精度的整数非标度值和32位的整数标度(scale)组成。如果为零或正数,则标度是小数点后的位数。如果为负数,则将该数的非标度值乘以10的负scale次幂。因此,BigDecimal表示的数值是(unscaledValue × 10-scale)。与之相关的还有两个

2017-11-25 00:28:01 351

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除