Commit bbd113f8 authored by Quxl's avatar Quxl

x

parent 243ae9ec
...@@ -126,7 +126,6 @@ public class AdminFirstController { ...@@ -126,7 +126,6 @@ public class AdminFirstController {
List<Fc_member_film_enroll> enrolls = memberFilmService.queryFilmEnrollList(member_film_id); List<Fc_member_film_enroll> enrolls = memberFilmService.queryFilmEnrollList(member_film_id);
Integer enroll_1_2 = null; Integer enroll_1_2 = null;
Integer enroll_4 = null;
for(Fc_member_film_enroll enroll : enrolls) { for(Fc_member_film_enroll enroll : enrolls) {
Integer enroll_type_id = enroll.getEnroll_type_id(); Integer enroll_type_id = enroll.getEnroll_type_id();
if(enroll_type_id == 1 || enroll_type_id == 2) { if(enroll_type_id == 1 || enroll_type_id == 2) {
...@@ -135,15 +134,16 @@ public class AdminFirstController { ...@@ -135,15 +134,16 @@ public class AdminFirstController {
} else { } else {
throw new XRException("不能同时申请亚新和金爵流程"); throw new XRException("不能同时申请亚新和金爵流程");
} }
} else if(enroll_type_id == 4) {
enroll_4 = enroll_type_id;
} }
} }
if(enroll_1_2 != null) { if(enroll_1_2 != null) {
reviewService.toFirstRound(member_film_id, enroll_1_2); reviewService.toFirstRound(member_film_id, enroll_1_2);
} else if(enroll_4 != null) { } else {
reviewService.toFirstRound(member_film_id, enroll_4); reviewService.toFirstRound(member_film_id, 4);
} }
Fc_member_film memberFilm = memberFilmService.queryMemberFilmById(member_film_id); Fc_member_film memberFilm = memberFilmService.queryMemberFilmById(member_film_id);
Fc_member member = memberService.getMemberById(memberFilm.getMember_id()); Fc_member member = memberService.getMemberById(memberFilm.getMember_id());
Locale locale = new Locale("zh", "CN"); Locale locale = new Locale("zh", "CN");
......
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