refactor(bonus-material): 修改领料任务完成时更新发布数量的 SQL 语句
This commit is contained in:
parent
303bc50798
commit
547968052c
|
|
@ -706,7 +706,7 @@
|
||||||
update
|
update
|
||||||
lease_apply_details
|
lease_apply_details
|
||||||
set
|
set
|
||||||
publish_num = IFNULL(publish_num, 0) - #{num}
|
publish_num = IFNULL(publish_num, 0) - #{outNum}
|
||||||
where
|
where
|
||||||
parent_id = #{parentId}
|
parent_id = #{parentId}
|
||||||
and type_id = #{typeId}
|
and type_id = #{typeId}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue