Prechádzať zdrojové kódy

仓库查询库存总账属性详情模糊查询

lazhaoqian 3 rokov pred
rodič
commit
6f940d3c22

+ 1 - 1
ruoyi-warehouse/src/main/resources/mapper/reportManagement/TWhgenlegMapper.xml

@@ -645,7 +645,7 @@
             <if test="fVolumnc != null ">and leg.f_volumnC = #{fVolumnc}</if>
             <if test="fQtyc != null ">and leg.f_qtyC = #{fQtyc}</if>
             <if test="fOriginalbilldate != null ">and leg.f_originalbilldate = #{fOriginalbilldate}</if>
-            <if test="fMarks != null  and fMarks != ''">and leg.f_marks = #{fMarks}</if>
+            <if test="fMarks != null  and fMarks != ''">and leg.f_marks LIKE  concat('%', #{fMarks}, '%')</if>
             <if test="fQtyblc != null ">and leg.f_qtyblc = #{fQtyblc}</if>
             <if test="fGrossweightc != null ">and leg.f_grossweightC = #{fGrossweightc}</if>
             <if test="fNetweightc != null ">and leg.f_netweightC = #{fNetweightc}</if>