@@ -132,7 +132,7 @@
AND is_show_=#{isShow}
</if>
<if test="search!=null and search!=''">
- AND (age_=#{search} OR username_ LIKE CONCAT('%', #search), '%') OR id_card_no_ LIKE CONCAT('%', #search), '%')
+ AND (CAST(age_ AS CHAR)=#{search} OR username_ LIKE CONCAT('%', #{search}, '%') OR id_card_no_ LIKE CONCAT('%', #{search}, '%'))
</where>
</sql>
@@ -50,7 +50,7 @@ public class StudentCompetitionController extends BaseController {
return succeed();
}
- @ApiOperation(value = "新增参赛作品")
+ @ApiOperation(value = "检测学生是否已有上传作品")
@GetMapping("/checkIsUpload")
public HttpResponseResult<StudentCompetition> checkIsUpload(){
SysUser sysUser = sysUserFeignService.queryUserInfo();