浏览代码

出库条码检测bug

k 2 年之前
父节点
当前提交
a4e1ca1002
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      warewms-base/src/main/resources/mapper/base/CodeSkuRelationshipMapper.xml

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