Selaa lähdekoodia

出库条码检测bug

k 2 vuotta sitten
vanhempi
commit
a4e1ca1002

+ 2 - 2
warewms-base/src/main/resources/mapper/base/CodeSkuRelationshipMapper.xml

@@ -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>