作者 朱兆平

bug-fix: 修复组织机构更新缺少了对新增字段供应商类型的更新

@@ -210,6 +210,9 @@ WHERE @@ -210,6 +210,9 @@ WHERE
210 <if test="mqcode != null"> 210 <if test="mqcode != null">
211 mq_code = #{mqcode,jdbcType=VARCHAR}, 211 mq_code = #{mqcode,jdbcType=VARCHAR},
212 </if> 212 </if>
  213 + <if test="orgtype !=null and orgtype!=''">
  214 + org_type = #{orgtype,jdbcType=VARCHAR},
  215 + </if>
213 </set> 216 </set>
214 where role_id = #{roleId,jdbcType=INTEGER} 217 where role_id = #{roleId,jdbcType=INTEGER}
215 </update> 218 </update>
@@ -225,6 +228,7 @@ WHERE @@ -225,6 +228,7 @@ WHERE
225 business_license = #{businessLicense,jdbcType=VARCHAR}, 228 business_license = #{businessLicense,jdbcType=VARCHAR},
226 departmentId = #{departmentid,jdbcType=VARCHAR}, 229 departmentId = #{departmentid,jdbcType=VARCHAR},
227 mq_code = #{mqcode,jdbcType=VARCHAR}, 230 mq_code = #{mqcode,jdbcType=VARCHAR},
  231 + org_type = #{orgtype,jdbcType=VARCHAR}
228 where role_id = #{roleId,jdbcType=INTEGER} 232 where role_id = #{roleId,jdbcType=INTEGER}
229 </update> 233 </update>
230 234