|
|
@@ -119,9 +119,12 @@
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
|
delete from ac_company where id=#{id,jdbcType=BIGINT}
|
|
|
</delete>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.account.po.Company">
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.account.dto.CompanyRegDTO">
|
|
|
UPDATE ac_company
|
|
|
<set>
|
|
|
+ <if test="name != null">
|
|
|
+ name = #{name, jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="address != null">
|
|
|
address = #{address,jdbcType=VARCHAR},
|
|
|
</if>
|