Commit ba2b2c1b authored by Quxl's avatar Quxl

x

parent dec47f77
......@@ -47,21 +47,23 @@ public class WebUtilController {
for(Fc_member_film film : films) {
Integer enroll_1_2 = null;
String enroll_type_name = film.getEnroll_type_name();
String[] enrolls = enroll_type_name.split(",");
for(String enroll_str : enrolls) {
Integer enroll_type_id = Integer.valueOf(enroll_str);
if(enroll_type_id == 1 || enroll_type_id == 2) {
if(enroll_1_2 == null) {
enroll_1_2 = enroll_type_id;
} else {
throw new XRException("申报影片" + film.getId() + "中同时包含亚新和金爵流程");
if(enroll_type_name != null && enroll_type_name.length() > 0) {
String[] enrolls = enroll_type_name.split(",");
for(String enroll_str : enrolls) {
Integer enroll_type_id = Integer.valueOf(enroll_str);
if(enroll_type_id == 1 || enroll_type_id == 2) {
if(enroll_1_2 == null) {
enroll_1_2 = enroll_type_id;
} else {
throw new XRException("申报影片" + film.getId() + "中同时包含亚新和金爵流程");
}
}
}
}
if(enroll_1_2 != null) {
service.toFirstRound(film.getId(), enroll_1_2);
} else {
service.toFirstRound(film.getId(), 4);
if(enroll_1_2 != null) {
service.toFirstRound(film.getId(), enroll_1_2);
} else {
service.toFirstRound(film.getId(), 4);
}
}
}
return Rjx.jsonOk();
......
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