bug
This commit is contained in:
parent
f94744b941
commit
9c37c5d769
|
|
@ -170,7 +170,7 @@
|
|||
</insert>
|
||||
<update id="updateMaType">
|
||||
UPDATE ma_type
|
||||
SET num = num + #{num},
|
||||
SET num = IFNULL(num, 0) + #{num},
|
||||
update_time = now()
|
||||
<where>
|
||||
<if test="typeId != null ">and type_id = #{typeId}</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue