Commit d27814ec authored by Quxl's avatar Quxl

x

parent 8856f648
......@@ -536,7 +536,8 @@ public class FilmServiceImpl implements FilmService {
if(film.getApply_state().intValue() == 3) {
str = "否决";
}
throw new XException("该片名已经在" + DateUtil.format(new Date(passtime*1000), "yyyy年MM月dd日HH") + "时被管理员" + str + ",通过的影片ID号为" + no);
int state = film.getApply_state().intValue();
throw new XException("该片名已经在" + DateUtil.format(new Date(passtime*1000), "yyyy年MM月dd日HH") + "时被管理员" + str + (state == 2 ? ",通过的影片ID号为" + no : ""));
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment