@@ -388,7 +388,7 @@ public class PaperLibraryServiceImpl extends ServiceImpl<PaperLibraryMapper, Pap
throw ExceptionResultEnum.ERROR.exception("不支持的识别方式");
}
} catch (Exception e) {
- throw ExceptionResultEnum.ERROR.exception("识别异常");
+ throw ExceptionResultEnum.ERROR.exception("识别异常:"+ e.getMessage());
} finally {
try {
FileUtils.forceDelete(file);
@@ -152,7 +152,7 @@
and bs.school_id = #{schoolId}
</if>
<if test="param != null and param != ''">
- and bs.student_code like concat('%', #{param}, '%')
+ and (bs.student_code like concat('%', #{param}, '%') or bs.student_name like concat('%', #{param}, '%'))
</where>
</select>