|
@@ -117,72 +117,63 @@
|
|
<update id="updateByPrimaryKey" parameterType="SysInstitution">
|
|
<update id="updateByPrimaryKey" parameterType="SysInstitution">
|
|
update sys_institution
|
|
update sys_institution
|
|
<set>
|
|
<set>
|
|
- <if test="appId != null">
|
|
|
|
|
|
+ <if test="appId != null and appId!=''">
|
|
APP_ID = #{ appId },
|
|
APP_ID = #{ appId },
|
|
</if>
|
|
</if>
|
|
- <if test="insCode != null">
|
|
|
|
|
|
+ <if test="insCode != null and insCode!=''">
|
|
INS_CODE = #{ insCode },
|
|
INS_CODE = #{ insCode },
|
|
</if>
|
|
</if>
|
|
- <if test="insName != null">
|
|
|
|
|
|
+ <if test="insName != null and insName!=''">
|
|
INS_NAME = #{ insName },
|
|
INS_NAME = #{ insName },
|
|
</if>
|
|
</if>
|
|
- <if test="insParentCode != null">
|
|
|
|
|
|
+ <if test="insParentCode != null and insParentCode != ''">
|
|
ins_parent_code = #{ insParentCode },
|
|
ins_parent_code = #{ insParentCode },
|
|
</if>
|
|
</if>
|
|
- <if test="insCategory != null">
|
|
|
|
|
|
+ <if test="insCategory != null and insCategory!=''">
|
|
INS_CATEGORY = #{ insCategory },
|
|
INS_CATEGORY = #{ insCategory },
|
|
</if>
|
|
</if>
|
|
- <if test="insIslast != null">
|
|
|
|
|
|
+ <if test="insIslast != null and insIslast!=''">
|
|
INS_IS_LAST = #{ insIslast },
|
|
INS_IS_LAST = #{ insIslast },
|
|
</if>
|
|
</if>
|
|
- <if test="insPinyin != null">
|
|
|
|
|
|
+ <if test="insPinyin != null and insPinyin!=''">
|
|
INS_PINYIN = #{ insPinyin },
|
|
INS_PINYIN = #{ insPinyin },
|
|
</if>
|
|
</if>
|
|
- <if test="insWubi != null">
|
|
|
|
|
|
+ <if test="insWubi != null and insWubi!=''">
|
|
INS_WUBI = #{ insWubi },
|
|
INS_WUBI = #{ insWubi },
|
|
</if>
|
|
</if>
|
|
- <if test="provinceCode != null">
|
|
|
|
|
|
+ <if test="provinceCode != null and provinceCode!=''">
|
|
province_code = #{ provinceCode },
|
|
province_code = #{ provinceCode },
|
|
</if>
|
|
</if>
|
|
- <if test="provinceName != null">
|
|
|
|
|
|
+ <if test="provinceName != null and provinceName!=''">
|
|
province_name = #{ provinceName },
|
|
province_name = #{ provinceName },
|
|
</if>
|
|
</if>
|
|
- <if test="cityCode != null">
|
|
|
|
|
|
+ <if test="cityCode != null and cityCode!=''">
|
|
city_code = #{ cityCode },
|
|
city_code = #{ cityCode },
|
|
</if>
|
|
</if>
|
|
- <if test="cityName != null">
|
|
|
|
|
|
+ <if test="cityName != null and cityName!=''">
|
|
city_name = #{ cityName },
|
|
city_name = #{ cityName },
|
|
</if>
|
|
</if>
|
|
- <if test="areaCode != null">
|
|
|
|
|
|
+ <if test="areaCode != null and areaCode!=''">
|
|
area_code = #{ areaCode },
|
|
area_code = #{ areaCode },
|
|
</if>
|
|
</if>
|
|
- <if test="areaName != null">
|
|
|
|
|
|
+ <if test="areaName != null and areaName!=''">
|
|
area_name = #{ areaName },
|
|
area_name = #{ areaName },
|
|
</if>
|
|
</if>
|
|
- <if test="streetCode != null">
|
|
|
|
|
|
+ <if test="streetCode != null and streetCode!=''">
|
|
street_code = #{ streetCode },
|
|
street_code = #{ streetCode },
|
|
</if>
|
|
</if>
|
|
- <if test="streetName != null">
|
|
|
|
|
|
+ <if test="streetName != null and streetName!=''">
|
|
street_name = #{ streetName },
|
|
street_name = #{ streetName },
|
|
</if>
|
|
</if>
|
|
- <if test="insAddress != null">
|
|
|
|
|
|
+ <if test="insAddress != null and insAddress!=''">
|
|
INS_ADDRESS = #{ insAddress },
|
|
INS_ADDRESS = #{ insAddress },
|
|
</if>
|
|
</if>
|
|
- <if test="insIsonline != null">
|
|
|
|
|
|
+ <if test="insIsonline != null and insIsonline!=''">
|
|
INS_ISONLINE = #{ insIsonline },
|
|
INS_ISONLINE = #{ insIsonline },
|
|
</if>
|
|
</if>
|
|
- <if test="sort != null">
|
|
|
|
|
|
+ <if test="sort != null and sort!=''">
|
|
SORT = #{ sort },
|
|
SORT = #{ sort },
|
|
</if>
|
|
</if>
|
|
- <if test="createDate != null">
|
|
|
|
- CREATE_DATE = #{ createDate },
|
|
|
|
- </if>
|
|
|
|
- <if test="createUser != null">
|
|
|
|
- CREATE_USER = #{ createUser },
|
|
|
|
- </if>
|
|
|
|
- <if test="createUsername != null">
|
|
|
|
- create_user_name = #{ createUsername },
|
|
|
|
- </if>
|
|
|
|
|
|
|
|
<if test="updateDate != null">
|
|
<if test="updateDate != null">
|
|
update_date = #{updateDate},
|
|
update_date = #{updateDate},
|
|
@@ -190,18 +181,18 @@
|
|
<if test="updateUser != null">
|
|
<if test="updateUser != null">
|
|
update_user = #{updateUser},
|
|
update_user = #{updateUser},
|
|
</if>
|
|
</if>
|
|
- <if test="updateUserName != null">
|
|
|
|
|
|
+ <if test="updateUserName != null and updateUserName!=''">
|
|
update_user_name = #{updateUserName},
|
|
update_user_name = #{updateUserName},
|
|
</if>
|
|
</if>
|
|
|
|
|
|
- <if test="status != null">
|
|
|
|
|
|
+ <if test="status != null and status!=''">
|
|
status = #{ status },
|
|
status = #{ status },
|
|
</if>
|
|
</if>
|
|
|
|
|
|
- <if test="platformCode != null">
|
|
|
|
|
|
+ <if test="platformCode != null and platformCode!=''">
|
|
platform_code = #{platformCode},
|
|
platform_code = #{platformCode},
|
|
</if>
|
|
</if>
|
|
- <if test="insLevel != null">
|
|
|
|
|
|
+ <if test="insLevel != null and insLevel!=''">
|
|
ins_level = #{insLevel},
|
|
ins_level = #{insLevel},
|
|
</if>
|
|
</if>
|
|
|
|
|