From 76171e1f6745f0613ed0bee85111b47547de3071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B6=E4=B8=9C?= <1654135867@qq.com> Date: Tue, 30 Jul 2024 22:00:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9@Param?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/TongfenCompinfo/mapper/TongfenCompinfoMapper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/TongfenCompinfo/mapper/TongfenCompinfoMapper.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/TongfenCompinfo/mapper/TongfenCompinfoMapper.java index f95bc712..97906e3d 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/TongfenCompinfo/mapper/TongfenCompinfoMapper.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/TongfenCompinfo/mapper/TongfenCompinfoMapper.java @@ -2,6 +2,7 @@ package org.jeecg.modules.demo.TongfenCompinfo.mapper; import java.util.List; +import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; import org.jeecg.modules.demo.TongfenCompinfo.entity.TongfenCompinfo; @@ -23,5 +24,5 @@ public interface TongfenCompinfoMapper extends BaseMapper { String geturl(String enrollCode); @Update("UPDATE score_persion SET score=#{score} where enroll_code =#{ccode}") - Integer updateScore(String score, String ccode); + Integer updateScore(@Param("score") String score, @Param("ccode") String ccode); }