|
|
@ -12,7 +12,7 @@ import org.nl.common.aspect.exception.BadRequestException; |
|
|
|
import org.nl.common.domain.query.PageQuery; |
|
|
|
import org.nl.common.utils.MapOf; |
|
|
|
import org.nl.common.utils.SecurityUtils; |
|
|
|
import org.nl.system.service.param.ISysParamService; |
|
|
|
import org.nl.system.service.param.ISysParamService; |
|
|
|
import org.nl.system.service.param.dao.Param; |
|
|
|
import org.nl.system.service.param.dao.mapper.SysParamMapper; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -22,9 +22,7 @@ import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
/** |
|
|
|
* <p> |
|
|
|
* 系统参数表 服务实现类 |
|
|
|
* </p> |
|
|
|
* |
|
|
|
* @author generator |
|
|
|
* @since 2022-12-14 |
|
|
@ -33,13 +31,13 @@ import java.util.Map; |
|
|
|
@RequiredArgsConstructor |
|
|
|
@Slf4j |
|
|
|
@Transactional |
|
|
|
public class SysParamServiceImpl extends ServiceImpl<SysParamMapper, Param> implements ISysParamService { |
|
|
|
public class SysParamServiceImpl extends ServiceImpl<SysParamMapper, Param> |
|
|
|
implements ISysParamService { |
|
|
|
|
|
|
|
private final SysParamMapper paramMapper; |
|
|
|
|
|
|
|
@Override |
|
|
|
public Page<Param> queryPage(Map whereJson, PageQuery page) { |
|
|
|
log.info("111"); |
|
|
|
QueryWrapper<Param> queryWrapper = new QueryWrapper<>(); |
|
|
|
queryWrapper.orderBy(true, true, "create_time"); |
|
|
|
Page<Param> paramPage = paramMapper.selectPage(page.build(), queryWrapper); |
|
|
|