摘要: 用for循环效率太低,采用以下sql <select id="selectNotin" resultType="com.gaiaworks.pjo.entity.CdAdmin"> select * from cd_admin a where a.type=2 and(select count(1) 阅读全文
posted @ 2022-07-07 09:42 820820820 阅读(44) 评论(0) 推荐(0)
摘要: 原因是sql里的注释引起的,把注释全部删除就正常了 阅读全文
posted @ 2022-07-06 16:44 820820820 阅读(212) 评论(0) 推荐(0)
摘要: oracle SELECT DISTINCT atc.table_name AS "表名" ,atcom.comments AS "表注释" ,atc.column_id AS "字段序号" ,atc.column_name AS "字段名" ,atc.data_type AS "字段类型" ,at 阅读全文
posted @ 2022-06-14 13:15 820820820 阅读(246) 评论(0) 推荐(0)