Explorar o código

采购退货一件作废修改sql

koushanshan hai 1 ano
pai
achega
3d8d0be9de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/dk/mdm/mapper/ivt/InboundItemMapper.xml

+ 1 - 1
src/main/java/com/dk/mdm/mapper/ivt/InboundItemMapper.xml

@@ -1143,7 +1143,7 @@
                 AND tpii.into_id = #{intoId}::uuid
                 AND tpii.into_id = #{intoId}::uuid
             </if>
             </if>
             <if test="fromId != null and fromId != ''">
             <if test="fromId != null and fromId != ''">
-                AND tpoi.from_id = #{fromId}::uuid
+                AND tpii.from_id = #{fromId}::uuid
             </if>
             </if>
         </where>
         </where>
     </select>
     </select>