export_dao
(1)数字库 表字段 与类的成员变量 不一致 》》1:sql语句 使用 as 》》2:mybatis里面使用 resultMap<resultMap id="companyMap" type="company"> <id column="id" property="id"/> <result column="expiration_date" property="expirationDate"/> <result column="license_id" property="licenseId"/> <result column="company_size" property="companySize"/> </resultMap> <select id="findAll" resultMap="companyMap"> select * from ss_company </select>
