自定义博客皮肤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)
  • 收藏
  • 关注

原创 关于springboot接口调研的一些记录

才疏学浅,可能大家看不懂见谅 建立一个Application.java文件 @Component("appContext") @ConfigurationProperties(prefix = "checheyun") public class AppContext { String zhengshi_sid; String zhengshi_pid; String ...

2018-09-05 11:43:22 353

原创 看 光仔December 关于springboot介绍的的一些体会-----1

一.spring 1.x时代 所有配置信息通过xml实现。 编写实体类.java文件,实体类注入在xml文件中实现。 二.spring 2.x时代 @Autowired等注解能够直接找到实体类并注入 1、应用的基本配置使用XML,比如:数据源、资源文件等。 2、业务开发使用注解,比如:Service中注入bean等。 三.spring 3.x时代和spring 4.x时代 逐渐淘汰x...

2018-08-29 14:14:28 227

原创 MyBatis当中模糊查询的一条示例

"<script> select from car where 1=1 <if test=\"key!=null and key!=''\"> and car.name like CONCAT('%',#{key},'%')</if> </script>" 这里注意判断为空和concat的使用,这样可以显著减少代码当中的if判断语句...

2018-08-28 14:50:06 257

原创 Mybatis当中如何做到标记A表所有数据当中,哪些在B表存在,哪些在B表不存在

select A.*, (case when B.id is null then false else true end) as choosed from A left join B on A.id=B.A_id where ...... choosed字段为true,则A.item在B表中存在,choosed字段为false,则在B表中不存在...

2018-08-28 14:35:45 474

原创 Mybatis sql查询条件为in List,怎么查询

@Select(   "<script>" + "select vc.* from vc "+ "where vc.car_id in " + "<foreach collection=\"carIdList\" index=\"index\" item=\"id\" o

2018-08-28 14:18:39 5388

原创 根据一些条件查询表得到的数据如何写入excel表格。(后端写入.csv临时文件)

在Controller层,定义如下 @ApiOperation(value = "条件导出门店表格信息",tags="管理端-活跃门店") @RequestMapping(value = "/exportStoreTableResult", method = RequestMethod.GET) public void exportStoresInfo(HttpServletResponse ...

2018-08-28 14:08:51 328

空空如也

空空如也

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

TA关注的人

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