|
@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="goodsId" column="goods_id" />
|
|
|
<result property="attributeId" column="attribute_id" />
|
|
|
<result property="attributeName" column="attributeName" />
|
|
|
- <result property="sort" column="sort" />
|
|
|
+ <result property="sort" column="attributeSort" />
|
|
|
<result property="value" column="value" />
|
|
|
</resultMap>
|
|
|
<resultMap type="GoodsColor" id="GoodsColorResult">
|
|
@@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
gi.sort,
|
|
|
gt.name typeName,sc.company_name companyName,
|
|
|
ga.attribute_id,ga.value,gs.size,gc.color,
|
|
|
- gta.attribute_name attributeName,gta.sort
|
|
|
+ gta.attribute_name attributeName,gta.sort attributeSort
|
|
|
from goods_info gi
|
|
|
left join goods_type gt on gt.id =gi.type_id
|
|
|
left join sys_company sc on sc.id =gi.company_id
|