审核状态——java

    /**
     * 通过学号更新学生荣誉状态
     * 通过学号更新学生荣誉状态
     * getStudentHonorReview
     */
    @AutoLog(value = "通过学号更新学生荣誉状态")
    @ApiOperation(value="通过学号更新学生荣誉状态", notes="通过学号更新学生荣誉状态")
    @GetMapping(value = "/getStudentHonorBy")
//    @RequiresPermissions("stStudent:getStStudent")
    public Result<?> getStudentHonorBy(@RequestParam(required = true) String stuId,String review,
                                     HttpServletRequest req) {
        List<StHonor> stStateJilu = stHonorService.getStudentHonorBy(stuId,review);
        Result result=new Result();
        result.setResult(stStateJilu);
        return result;
    }
List<StHonor> getStudentHonorBy(String stuId,String review);
    @Override
    public List<StHonor> getStudentHonorBy(String stuId,String review) {
        List<StHonor> StudentHonor= stHonorMapper.getStudentHonorBy(stuId,review);
        return StudentHonor;
    }
List<StHonor> getStudentHonorBy(@Param("stuId") String stuId,@Param("review") String review);
	<select id="getStudentHonorBy" resultType="org.jeecg.modules.demo.st.entity.StHonor">
		UPDATE
			st_honor  SET review=#{review}
		WHERE
		 	st_name=#{stuId}
    </select>
发布了125 篇原创文章 · 获赞 41 · 访问量 2725

猜你喜欢

转载自blog.csdn.net/qq_43618030/article/details/103977929