摘要: private List<ZcprojectFieldDto> buildGeneralTree(List<ZcprojectFieldDto> list) { List<ZcprojectFieldDto> result = new ArrayList<>(); //1. 构建一级节点 for ( 阅读全文
posted @ 2021-12-23 11:48 Aoul 阅读(1546) 评论(0) 推荐(0) 编辑
摘要: <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer"> SELECT LAST_INSERT_ID() </selectKey> 阅读全文
posted @ 2021-12-23 11:47 Aoul 阅读(46) 评论(0) 推荐(0) 编辑
摘要: SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(a.path,',',b.help_topic_id + 1),',',-1) as path FROM (SELECT industrys as path FROM zc_project) a JOIN mysql.he 阅读全文
posted @ 2021-12-23 11:40 Aoul 阅读(216) 评论(0) 推荐(0) 编辑