浏览代码

添加省市code

lihui001 3 年之前
父节点
当前提交
328a9f393b
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      user_center/src/main/resources/mapper/TenantMapper.xml

+ 9 - 0
user_center/src/main/resources/mapper/TenantMapper.xml

@@ -95,6 +95,15 @@
             <if test="tenantType != null and tenantType != ''">
                 tenant_type = #{tenantType},
             </if>
+            <if test="orgAreaId != null and orgAreaId != ''">
+                ORG_AREA_ID = #{orgAreaId},
+            </if>
+            <if test="provinceCode != null and provinceCode != ''">
+                province_code = #{provinceCode},
+            </if>
+            <if test="cityCode != null and cityCode != ''">
+                city_code = #{cityCode},
+            </if>
             <if test="code != null and code != ''">
                 CODE = #{code},
             </if>