![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
rookieTan
菜鸟要努力变强!
展开
-
java mybatis xml相关
java mybatis xml相关操作1.mybatis xml 传入list2.mybatis xml 传入数组3.mybatis xml 处理日期4.mybatis xml 转义字符5.mybatis xm 关于传参6.insert返回当前插入的id1.mybatis xml 传入listList<StudentEntity> getListById(List i...原创 2019-12-31 11:08:16 · 453 阅读 · 0 评论 -
java Date操作日期相关
1.获取当天日期 Date date = new Date(); DateFormat df1 = DateFormat.getDateInstance();//日期格式,精确到日 System.out.println(df1.format(date)); DateFormat df2 = DateFormat.getDateTime...原创 2019-12-26 14:51:40 · 542 阅读 · 0 评论 -
java操作List对象集合 常用方法
1.对List计数,根据对象某个属性求和,求平均值,求最值等。2.对List分组,根据对象某个属性分组3.对Lisr过滤,根据对象某个属性过滤4.取出一组对象的某个属性组成一个新集合 List<StudentEntity> list2 = new ArrayList<>(); StudentEntity studentEntity1 =...原创 2019-12-20 16:22:43 · 1195 阅读 · 0 评论 -
java 微信小程序-发送模板消息
开发前准备工作登录微信公众平台-小程序后台,在模板消息里面设置需要发送的模板,拿到模板id。地址: https://mp.weixin.qq.com找到微信官方文档-小程序开发-下发小程序和公众号统一的服务消息接口。地址: https://developers.weixin.qq.com/miniprogram/dev/api-backend/3.下发小程序和公众号统一的服务消息接...原创 2019-09-10 16:56:20 · 2295 阅读 · 1 评论 -
java 微信小程序-微信支付
开发前准备工作在开发小程序之前,确保你的小程序开通了微信支付(开通申请要求小程序已发布上线),详情参考微信支付开发文档。、地址:https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=7_11&index=2调用统一下单接口地址:https://pay.weixin.qq.com/wiki/doc/api/wx...原创 2019-09-11 15:22:35 · 971 阅读 · 4 评论 -
java 导入excel表格(批量导入),下载excel模板,导出表格
1.导入excel表格(批量导入)如图,给id=83和id=84的老师导入工作时间。导入的excel模板如下注意导入excel表格时关于日期时间类的的数据要设置对应的格式。后台接口 /** * 导入老师时间 * @param file * @param request * @return */ @PostMapping(...原创 2019-09-12 16:58:24 · 2365 阅读 · 0 评论