|
|
|
@ -3,6 +3,8 @@ package com.huoran.iasf.controller; |
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
|
|
|
|
import com.huoran.iasf.common.aop.annotation.NoRepeatSubmit; |
|
|
|
|
import com.huoran.iasf.common.exception.NotFoundException; |
|
|
|
|
import com.huoran.iasf.common.exception.code.BaseResponseCode; |
|
|
|
|
import com.huoran.iasf.common.utils.Constant; |
|
|
|
|
import com.huoran.iasf.entity.*; |
|
|
|
|
import com.huoran.iasf.service.*; |
|
|
|
@ -75,6 +77,9 @@ public class SysColumnController { |
|
|
|
|
@ApiOperation(value = "查询详情", response = SysColumn.class) |
|
|
|
|
public R findById(@RequestParam("id") @ApiParam(value = "序号") Integer id) { |
|
|
|
|
SysColumn sysColumn = service.getById(id); |
|
|
|
|
/*if (sysColumn == null) { |
|
|
|
|
throw new NotFoundException(BaseResponseCode.DATA_DOES_NOT_EXIST); |
|
|
|
|
}*/ |
|
|
|
|
SysTemplateStyle sysTemplateStyle = styleService.getById(sysColumn.getListStyleId()); |
|
|
|
|
|
|
|
|
|
if (sysTemplateStyle.getPath() != null) { |
|
|
|
|