自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 mp代码生成器

<!-- velocity 模板引擎, Mybatis Plus 代码生成器需要 --> <dependency> <groupId>org.apache.velocity</groupId> <artifactId>velocity-engine-core</artifactId> <version>2.0</version&gt

2020-09-05 13:23:40 145

原创 根据属性在集合中取出对象

public static <T> T findElementByPropertyValue(List<T> list, String propertyName, Object value) throws Exception { if(list == null || list.isEmpty()) { return null; } PropertyDescriptor pd = new PropertyDescriptor(propertyNa

2020-08-27 14:46:21 363

原创 String类型转换BigDecimal类型

public static void main(String[] args) { String str1="2.30"; BigDecimal bd=new BigDecimal(str1); System.out.println(bd); }

2020-08-26 17:33:57 881

原创 wrapper根据时间条件查询

QueryWrapper<ZsOperateActivityDrawings> wrapper1 = new QueryWrapper<>(); Date date = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); String format = sdf.format(date); wrapper1.ge("create_t.

2020-08-25 16:14:39 20509

原创 mybatisplus实现逻辑删除和自动填充时间

逻辑删除 @ApiModelProperty(value = "逻辑删除 1(true)已删除, 0(false)未删除") private Boolean isDeleted;package com.zhongshi.operate.activity.card.config;import com.baomidou.mybatisplus.core.injector.ISqlInjector;import com.baomidou.mybatisplus.extension.inject

2020-08-24 14:31:03 3125 2

原创 hello,csdn

hello,csdn第一篇博客 go标题

2020-08-24 11:52:34 50

空空如也

空空如也

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

TA关注的人

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