|
@@ -19,6 +19,8 @@ import cn.com.qmth.examcloud.web.support.StatusResponse;
|
|
|
import io.swagger.annotations.*;
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -41,6 +43,8 @@ import java.util.Map;
|
|
|
@RequestMapping("${$rmp.cloud.exchange.outer}/exam")
|
|
|
public class ExamOuterServiceProvider extends ControllerSupport implements ExamOuterService {
|
|
|
|
|
|
+ private static final Logger log = LoggerFactory.getLogger(ExamOuterServiceProvider.class);
|
|
|
+
|
|
|
private static final long serialVersionUID = 4007321110021402052L;
|
|
|
|
|
|
@Autowired
|
|
@@ -58,6 +62,10 @@ public class ExamOuterServiceProvider extends ControllerSupport implements ExamO
|
|
|
throw new StatusException("1000001", "rootOrgId is wrong");
|
|
|
}
|
|
|
|
|
|
+ Long rootOrgId = req.getRootOrgId();
|
|
|
+ log.warn("==>考试信息 creating... rootOrgId:{} examCode:{} examName:{} examType:{}",
|
|
|
+ rootOrgId, req.getCode(), req.getName(), req.getExamType());
|
|
|
+
|
|
|
Date beginTime = req.getBeginTime();
|
|
|
Integer duration = req.getDuration();
|
|
|
Date endTime = req.getEndTime();
|
|
@@ -65,7 +73,6 @@ public class ExamOuterServiceProvider extends ControllerSupport implements ExamO
|
|
|
String code = req.getCode();
|
|
|
String name = req.getName();
|
|
|
String remark = req.getRemark();
|
|
|
- Long rootOrgId = req.getRootOrgId();
|
|
|
Long examTimes = req.getExamTimes();
|
|
|
Map<String, String> properties = req.getProperties();
|
|
|
if(properties == null){
|