|
@@ -100,9 +100,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</delete>
|
|
|
|
|
|
<select id="selectCodeSkuRelationshipBySn" parameterType="string" resultMap="CodeSkuRelationshipVOResult">
|
|
|
- select c.sn,c.status,s.*
|
|
|
+ select c.sn,c.status,s.sku,s.desc1,s.sku_type,s.model
|
|
|
from code_sku_relationship c
|
|
|
left join base_sku s on c.sku = s.sku
|
|
|
- where c.sn = #{sn} and status = 'Y'
|
|
|
+ where c.sn = #{sn} and c.status = 'Y'
|
|
|
</select>
|
|
|
</mapper>
|