|
@@ -45,7 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="enterpriseName != null and enterpriseName != ''">#{enterpriseName},</if>
|
|
|
<if test="location != null">#{location},</if>
|
|
|
<if test="code != null">#{code},</if>
|
|
|
- <if test="typeNum != null">#{typeNum}</if>>
|
|
|
+ <if test="typeNum != null">#{typeNum},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="enterpriseName != null and enterpriseName != ''">enterprise_name = #{enterpriseName},</if>
|
|
|
<if test="location != null">location = #{location},</if>
|
|
|
<if test="code != null">code = #{code},</if>
|
|
|
- <if test="typeNum != null">type_num = #{typeNum}</if>>
|
|
|
+ <if test="typeNum != null">type_num = #{typeNum},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|