摘要:
树形向上查询(前提:Mysql8.0才能用) WITH RECURSIVE temp as ( SELECT t.* FROM sys_depart t WHERE t.id = #{id} UNION ALL SELECT t.* FROM sys_depart t INNER JOIN temp 阅读全文
摘要:
// 获取当月第一天数据 getCurrentMonthFirst() { let date = new Date() date.setDate(1) let month = parseInt(date.getMonth() + 1) let day = date.getDate() if (mon 阅读全文