解决不同商品的批号重复导致采购价获取错误的bug
This commit is contained in:
@@ -1003,6 +1003,7 @@
|
||||
left join jsh_depot_item di on dh.id=di.header_id and ifnull(di.delete_flag,'0') !='1'
|
||||
where 1=1
|
||||
and ifnull(dh.delete_flag,'0') !='1'
|
||||
and di.material_extend_id = #{materialExtendId}
|
||||
and di.batch_number = #{batchNumber}
|
||||
and dh.type = '入库'
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user