错误信息:java.sql.SQLException: Column 'brand_cn' not found.
resultmap部分:
sql语句部分:
SELECT
pro.id,
pro.name_en ,
pro.name_cn ,
brand.name_cn as brand_cn
FROM
mtm_product AS pro,
mtm_product_brand brand
求解啊,大神们。
错误信息:java.sql.SQLException: Column 'brand_cn' not found.
resultmap部分:
sql语句部分:
SELECT
pro.id,
pro.name_en ,
pro.name_cn ,
brand.name_cn as brand_cn
FROM
mtm_product AS pro,
mtm_product_brand brand
求解啊,大神们。
resultmap 你配置了吗 要配置别名对应的映射的,直接写个sql出来 谁知道给谁映射了,