Commit e1e49f2d authored by Quxl's avatar Quxl

x

parent a62ba5cd
...@@ -2,6 +2,8 @@ package com.egolm.film.api.web.admin; ...@@ -2,6 +2,8 @@ package com.egolm.film.api.web.admin;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
...@@ -24,6 +26,8 @@ import io.swagger.annotations.ApiOperation; ...@@ -24,6 +26,8 @@ import io.swagger.annotations.ApiOperation;
@RequestMapping("admin/webutil") @RequestMapping("admin/webutil")
public class WebUtilController { public class WebUtilController {
Logger logger = LoggerFactory.getLogger(WebUtilController.class);
@Autowired @Autowired
JdbcTemplate jdbcTemplate; JdbcTemplate jdbcTemplate;
...@@ -62,7 +66,7 @@ public class WebUtilController { ...@@ -62,7 +66,7 @@ public class WebUtilController {
if(enroll_1_2 == null) { if(enroll_1_2 == null) {
enroll_1_2 = enroll_type_id; enroll_1_2 = enroll_type_id;
} else { } else {
throw new XRException("申报影片" + film.getId() + "中同时包含亚新和金爵流程"); logger.error("申报影片" + film.getId() + "中同时包含亚新和金爵流程");
} }
} }
} }
......
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