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); }