BUG修改

This commit is contained in:
haozq 2025-01-24 09:33:40 +08:00
parent 57906dc1a3
commit 1d7a8b4a2e
1 changed files with 1 additions and 4 deletions

View File

@ -11,13 +11,10 @@
#{creator},now(),#{updater},now()) #{creator},now(),#{updater},now())
</insert> </insert>
<update id="updateTypeData"> <update id="updateTypeData">
update car_ma_type set name=#{name} update car_ma_type set name=#{name} ,remark=#{remark}
<if test="unit!=null and unit!=''"> <if test="unit!=null and unit!=''">
,unit_name=#{unit} ,unit_name=#{unit}
</if> </if>
<if test="remark!=null and remark!=''">
,remark=#{remark}
</if>
where id=#{id} where id=#{id}
</update> </update>
<update id="updateTypeStatus"> <update id="updateTypeStatus">