解决修正成本的接口的bug

This commit is contained in:
jishenghua
2024-05-24 23:55:29 +08:00
parent ed9a99c552
commit 450985af37
2 changed files with 7 additions and 3 deletions

View File

@@ -147,7 +147,7 @@
<select id="findDetailByDepotIdsAndMaterialIdList" parameterType="com.jsh.erp.datasource.entities.DepotItemExample" resultMap="DetailByTypeAndMIdResultMap">
select tb.number, tb.bar_code, tb.material_name, tb.type, tb.sub_type, tb.b_num, tb.unit_price,
tb.b_num*tb.unit_price as all_price, tb.depotName, tb.oTime from
ifnull(tb.b_num*tb.unit_price,0) as all_price, tb.depotName, tb.oTime from
(select dh.number,me.bar_code,m.name material_name,dh.type,dh.sub_type,
case
when type='入库' then ifnull(di.basic_number,0)