소스 검색

称重打印重复BUG

LiangtongHe 2 달 전
부모
커밋
211cf31994
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      zkqy-custom-business/src/main/resources/mapper/business/ProductCodeListMapper.xml

+ 1 - 0
zkqy-custom-business/src/main/resources/mapper/business/ProductCodeListMapper.xml

@@ -524,6 +524,7 @@
         and ml.del_flag = '0'
         and sp.status in ('4','6')
         <if test="machineTool != null">AND dps.mac_id = #{machineTool} AND FIND_IN_SET(#{machineTool}, sp.products_line_no_arry_id) > 0</if>
+        GROUP BY sp.id
     </select>