Commit 8856f648 authored by Quxl's avatar Quxl

xx

parent 97ed5c47
......@@ -531,7 +531,12 @@ public class FilmServiceImpl implements FilmService {
if(count > 0) {
Fc_member_film film = list.get(0);
Long passtime = film.getPass_time();
throw new XException("该片名已经在" + DateUtil.format(new Date(passtime*1000), "yyyy年MM月dd日HH") + "时被管理员通过,通过的影片ID号为" + film.getFilm_no());
String no = StringUtil.formatLength(film.getFilm_no(), "0000");
String str = "通过";
if(film.getApply_state().intValue() == 3) {
str = "否决";
}
throw new XException("该片名已经在" + DateUtil.format(new Date(passtime*1000), "yyyy年MM月dd日HH") + "时被管理员" + str + ",通过的影片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