随笔分类 - JAVA
摘要:https://blog.csdn.net/weixin_43120613/article/details/108239266
阅读全文
摘要:<!-- 插入数据:返回记录主键id值 --> <insert id="insert" useGeneratedKeys="true" keyProperty="id" keyColumn="id"> insert into stu (name,age) values (#{name},#{age}
阅读全文
摘要:https://blog.csdn.net/a1102325298/article/details/80410740 1.isEmpty 没有忽略空格参数,是以是否为空和是否存在为判断依据。 2.isBlank 是在 isEmpty 的基础上进行了为空(字符串都为空格、制表符、tab 的情况)的判断
阅读全文
摘要:https://blog.csdn.net/kookob/article/details/6885383
阅读全文
摘要:goodsTotalMoney1 = goodsTotalMoney1.add(goodsTotalMoney12); totalPateMoney12 = totalPateMoney12.add(maxPateMoney); totalPateMoney12 = totalPateMoney12
阅读全文
摘要:JSONArray jsonArray = JSON.parseArray(orderInfoDto.getOrderDetail()); if (jsonArray != null && !jsonArray.isEmpty()) { // Iterator<Object> iterator =
阅读全文
摘要:https://blog.csdn.net/weixin_43031215/article/details/82945541
阅读全文
摘要:https://blog.csdn.net/genius_yym/article/details/79670035 JS 正则表达式 获取小括号 中括号 花括号内的内容 var str="123{xxxx}456[我的]789123[你的]456(1389090)789"; var regex1 =
阅读全文
摘要:foreach中collection的三种用法 https://www.cnblogs.com/xiemingjun/p/9800999.html foreach的主要用在构建in条件中,它可以在SQL语句中进行迭代一个集合。foreach元素的属性主要有 item,index,collection
阅读全文
摘要:ArrayList和LinkedList的区别 原文链接:https://pengcqu.iteye.com/blog/502676 大致区别: 1.ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。 (LinkedList是双向链表,有next也有previ
阅读全文
摘要:price(350)*(10/100) price.multiply(maxPayIntegrateRate.divide(new BigDecimal("100.0")) maxPayIntegrateRate 是自己定义的比例值 10 multiply * divide / BigDecimal
阅读全文
摘要:0.部分参数对于开发前端的人来说是无意义的,因为传递也没有效果。所以不应该暴露给前端使用。 1.依据现有的类代码,即可方便的构造出DTO对象,而无需重新进行分析。 2.减少请求次数,大大提高效率。 3.按需组织DTO对象,页面需要的字段我才组织,不需要的我不组织,可以避免传输整个表的字段,一定程度上
阅读全文
摘要:https://blog.csdn.net/qq_33820379/article/details/84982229 https://blog.csdn.net/qq_42786993/article/details/86322352
阅读全文
摘要:https://www.cnblogs.com/lyn20141231/p/11210372.html https://blog.csdn.net/sinat_29039125/article/details/87936345 https://blog.csdn.net/u013661953/art
阅读全文
摘要:https://blog.csdn.net/qq_26442553/article/details/78693236 https://www.w3cschool.cn/chenyh1/chenyh1-ubdj2rpj.html
阅读全文
摘要:https://www.cnblogs.com/huiAlex/p/9463181.html
阅读全文
摘要:https://blog.csdn.net/tiantangdizhibuxiang/article/details/80575412 https://blog.csdn.net/earthchinagl/article/details/80523986
阅读全文
摘要:通用 GET POST
阅读全文
摘要:https://blog.csdn.net/a18827547638/article/details/80272099 https://blog.csdn.net/a18827547638/article/details/80777366 import com.alibaba.fastjson.JS
阅读全文