修改@Param

main
王家东 4 months ago
parent 85d3313e6a
commit 76171e1f67
  1. 3
      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<TongfenCompinfo> {
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);
}

Loading…
Cancel
Save