spring boot
叫我小帅
这个作者很懒,什么都没留下…
展开
-
mybatis的xml中一个方法多条sql一起执行
有些时候需要批<foreach collection="list" item="item" separator=";"> UPDATE employee SET commission_workflow = #{workflow} WHERE commission_period_id = #{item.commissionPeriodId} AND employee_id = #{item.employeeId}</foreach>需要在jdbc:my原创 2020-06-05 11:38:37 · 2497 阅读 · 0 评论 -
spring boot+mybatis-plus+p6spy执行sql打印
mybatis-plus+p6spy执行sql打印spring boot 版本<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0...原创 2019-12-12 11:08:05 · 3444 阅读 · 1 评论 -
thymeleaf的绑定click事件
最近在学习spring boot ,因为spring boot 的前端模板默认推荐thyme leaf,所以也开了一下thyme leaf绑定button的onclick事件&lt;input type="button" th:onclick="'javascript:fungetone(\''+${con.uid}+'\');'" value = "修改" /&翻译 2018-09-30 20:54:19 · 19599 阅读 · 0 评论 -
bootstrap-datetimepicker时间控件的使用
前端模板用的是thymeleaf,首先引用bootstrap的css和js<link th:href="@{/css/bootstrap-datetimepicker.css}" rel="stylesheet" /><link th:href="@{/css/bootstrap-datetimepicker.min.css}" rel="stylesheet" />...翻译 2019-04-28 10:33:26 · 819 阅读 · 0 评论 -
RestTemplate请求百度鹰眼服务接口
描述:通过百度鹰眼服务获得车辆轨迹、历程没有考虑并发问题,只是做简单的接口调试,如果有时间可以尝试自己封装一些实体,和工具类用到的接口public class URLConstant {/** *添加点坐标 POST请求 */ public static final String BAIDUMAP_ADDPOINT = "http://yingyan.baidu.com/api/...原创 2019-06-20 16:01:24 · 759 阅读 · 0 评论