摘要: 首先在test文件夹里面删除红框里面的两个文件 然后再在需要测试的类里面右键类名生成测试文件 生成的测试文件加上这两句话 @RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest(classes= GunsApplication.class) 然 阅读全文
posted @ 2018-10-30 20:15 lancelee98 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 原查询 select sum(case when age16 and age25 and age35 and age45 and age55 and age65 and age75 then 1 else 0 end ) age8, count(id) other from snap_face 经检 阅读全文
posted @ 2018-10-30 19:56 lancelee98 阅读(1136) 评论(0) 推荐(0) 编辑