|
@@ -7,6 +7,8 @@ import com.ym.mec.common.controller.BaseController;
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
+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.ui.ModelMap;
|
|
import org.springframework.ui.ModelMap;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -25,6 +27,8 @@ import java.util.Objects;
|
|
@RestController
|
|
@RestController
|
|
public class SysMusicCompareRecordController extends BaseController {
|
|
public class SysMusicCompareRecordController extends BaseController {
|
|
|
|
|
|
|
|
+ private static final Logger log = LoggerFactory.getLogger(SysMusicCompareRecordController.class);
|
|
|
|
+
|
|
@Autowired
|
|
@Autowired
|
|
private SysUserService sysUserService;
|
|
private SysUserService sysUserService;
|
|
@Autowired
|
|
@Autowired
|
|
@@ -39,6 +43,8 @@ public class SysMusicCompareRecordController extends BaseController {
|
|
Integer userId = sysUserService.getUserId();
|
|
Integer userId = sysUserService.getUserId();
|
|
record.setUserId(userId);
|
|
record.setUserId(userId);
|
|
record.setClientId("student");
|
|
record.setClientId("student");
|
|
|
|
+
|
|
|
|
+ log.warn(" add record info; record:{},campId :{}",record,campId);
|
|
|
|
|
|
sysMusicCompareRecordService.insert(record,campId);
|
|
sysMusicCompareRecordService.insert(record,campId);
|
|
|
|
|