Commit 224239c1 authored by 季圣华's avatar 季圣华
Browse files

解决商品库存流水记录中查询的bug

parent 29eb63e9
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
where ((dh.type!='其它' and dh.sub_type!='调拨') where ((dh.type!='其它' and dh.sub_type!='调拨')
or (dh.type='其它' and dh.sub_type='组装单') or (dh.type='其它' and dh.sub_type='组装单')
or (dh.type='其它' and dh.sub_type='拆卸单') or (dh.type='其它' and dh.sub_type='拆卸单')
or (dh.type='其它' and dh.sub_type='盘点复盘' and dh.Status=1)) or (dh.type='其它' and dh.sub_type='盘点复盘'))
and di.material_id = #{mId} and di.material_id = #{mId}
and ifnull(dh.delete_flag,'0') !='1' and ifnull(dh.delete_flag,'0') !='1'
ORDER BY oTime desc ORDER BY oTime desc
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
where ((dh.type!='其它' and dh.sub_type!='调拨') where ((dh.type!='其它' and dh.sub_type!='调拨')
or (dh.type='其它' and dh.sub_type='组装单') or (dh.type='其它' and dh.sub_type='组装单')
or (dh.type='其它' and dh.sub_type='拆卸单') or (dh.type='其它' and dh.sub_type='拆卸单')
or (dh.type='其它' and dh.sub_type='盘点复盘' and dh.Status=1)) or (dh.type='其它' and dh.sub_type='盘点复盘'))
and di.material_id =#{mId} and di.material_id =#{mId}
and ifnull(dh.delete_flag,'0') !='1' and ifnull(dh.delete_flag,'0') !='1'
</select> </select>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment