- 博客(3)
- 资源 (5)
- 收藏
- 关注
原创 sql查询代替代码业务查询
select *,concat(' ,(case student_type when ',id,' then 1 else 0 end) as \'',code,'\''),concat(',sum(',code,')')from rt_condition_value where type_code='studenttype';select hz.code,hz.name,sum(st...
2019-05-16 20:03:21 297
原创 vscode打开.vue文件出现红色波浪线
具体报错如图:解决方法:1,首先检查html片段没有语法错误的话,就是一个检查语法格式的插件"vetur"引起的。2,解决方法是:vscode -> 首选项 -> 设置 -> 搜索 (vetur),将vetur.validation.template 设置为 false 就可以解决问题了。...
2019-05-12 22:54:07 11096 3
原创 SQL语句中使用case和having
case when多个条件并合select b.id,b.name,count(case a.student_type when 31 then '第一类' end) '第一类',count(case a.student_type when 32 then '第2类' end) '第2类',count(case a.student_type when 33 then '第3类' end)...
2019-05-05 17:15:35 1375
jquery自动定位你的当前天气插件
2018-12-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人