From a2ca2d68e62b4ece60aadfe9f9ad90bceb767685 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期四, 17 八月 2023 17:13:11 +0800 Subject: [PATCH] 修改最美志愿者编辑报错id为空 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/MostBeautifulVolunteerMapper.xml | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/MostBeautifulVolunteerMapper.xml b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/MostBeautifulVolunteerMapper.xml index 9e8df2c..cc83087 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/MostBeautifulVolunteerMapper.xml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/MostBeautifulVolunteerMapper.xml @@ -121,25 +121,25 @@ update most_beautiful_volunteer <set> <if test="mostBeautifulVolunteerVO.id != null"> - #{mostBeautifulVolunteerVO.id}, + id=#{mostBeautifulVolunteerVO.id}, </if> <if test="mostBeautifulVolunteerVO.name != null"> - #{mostBeautifulVolunteerVO.name}, + name=#{mostBeautifulVolunteerVO.name}, </if> <if test="mostBeautifulVolunteerVO.certificateUrl != null"> - #{mostBeautifulVolunteerVO.certificateUrl}, + certificate_url=#{mostBeautifulVolunteerVO.certificateUrl}, </if> <if test="mostBeautifulVolunteerVO.selfIntroduction != null"> - #{mostBeautifulVolunteerVO.selfIntroduction}, + self_introduction=#{mostBeautifulVolunteerVO.selfIntroduction}, </if> <if test="mostBeautifulVolunteerVO.volunteerStyle != null"> - #{mostBeautifulVolunteerVO.weightSorting}, + volunteer_style=#{mostBeautifulVolunteerVO.weightSorting}, </if> <if test="mostBeautifulVolunteerVO.weightSorting != null"> - #{mostBeautifulVolunteerVO.weightSorting}, + weight_sorting=#{mostBeautifulVolunteerVO.weightSorting}, </if> <if test="mostBeautifulVolunteerVO.unmountType != null"> - #{mostBeautifulVolunteerVO.unmountType}, + unmount_type=#{mostBeautifulVolunteerVO.unmountType}, </if> update_time=sysdate() </set> -- Gitblit v1.7.1