摘要: count(if(a.STS = #{sts}, a.sts, null)) as scssCnt, sum(if(a.sts = #{sts}, a.amt, 0)) as scssAMt View Code 阅读全文
posted @ 2024-06-24 13:23 CEO雷总 阅读(2) 评论(0) 推荐(0) 编辑
摘要: insert into table_name ( id, name ) ( select stu_id, stu_name from stu_table where stu_id = #{stuId} ) 阅读全文
posted @ 2024-06-24 13:18 CEO雷总 阅读(1) 评论(0) 推荐(0) 编辑