摘要: ContentType.AA.ordinal() 获取index值。 public enum ContentType { AA, BB, CC } 阅读全文
posted @ 2021-07-26 17:10 jiduoduo 阅读(372) 评论(0) 推荐(0)
摘要: 直接上代码: 1、group_concat select SUBSTRING_INDEX(group_concat(id order by id desc),',',2) id from content c where c.grouperid in (1,2) GROUP BY c.grouperi 阅读全文
posted @ 2021-07-26 15:53 jiduoduo 阅读(812) 评论(0) 推荐(0)