给商品和单据增加序列号和批次字段

This commit is contained in:
季圣华
2021-09-28 00:28:23 +08:00
parent 06d91f8655
commit 09b603c80e
12 changed files with 519 additions and 11 deletions

View File

@@ -327,6 +327,14 @@
and id = #{id}
</update>
<update id="setExpiryNumToNull">
update jsh_material
set expiry_num = null
where 1=1
and ifnull(delete_flag,'0') !='1'
and id = #{id}
</update>
<select id="getListWithStock" resultMap="ResultMapListWithStock">
select m.*, me.commodity_unit unitName, mc.name categoryName, me.bar_code,
ifnull(me.purchase_decimal,0) purchase_decimal,