java
weixin_42313065
这个作者很懒,什么都没留下…
展开
-
sql
@sql 1.比率 SELECT test.A, ROUND( COUNT( CASE WHEN test.B LIKE "%A%" THEN 1 END ) / COUNT( 1 ) * 100, 2 ) AS A FROM test 2.字段为null返回‘其他’,及查询总数 SELECT COALESCE(rs.nationality, '总数' ) nation...原创 2019-11-19 15:50:16 · 93 阅读 · 0 评论 -
文件上传及导出导出
1.依赖 <!-- https://mvnrepository.com/artifact/com.monitorjbl/xlsx-streamer --> <dependency> <groupId>com.monitorjbl</groupId> <artifactId...原创 2019-10-24 16:52:14 · 317 阅读 · 0 评论