Skip to content

Commit

Permalink
Merge pull request #19 from marsggg/patch-2
Browse files Browse the repository at this point in the history
Update StorageMapper.xml
  • Loading branch information
Alibaba authored Mar 31, 2020
2 parents f3c2ae1 + 137d4ee commit 5e887c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<!--减库存-->
<update id="decrease">
update t_storage
set used =used + #{count},residue=#{count}
set used =used + #{count},residue=residue-#{count}
where product_id=#{productId};
</update>
</mapper>
</mapper>

0 comments on commit 5e887c3

Please sign in to comment.