Commit 79ca31ac by 袁伟铭

移动实体类到对应模块下

parent 451ee8e1
...@@ -4,9 +4,9 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers; ...@@ -4,9 +4,9 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zq.api.cache.Cache; import com.zq.api.cache.Cache;
import com.zq.api.cache.CacheManager; import com.zq.api.cache.CacheManager;
import com.zq.api.dao.SysConfigDao; import com.zq.api.dao.SysConfigDao;
import com.zq.api.entity.SysConfig;
import com.zq.api.utils.NumberUtils; import com.zq.api.utils.NumberUtils;
import com.zq.common.config.base.SpringContextHolder; import com.zq.common.config.base.SpringContextHolder;
import com.zq.common.entity.SysConfig;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.HashMap; import java.util.HashMap;
......
package com.zq.api.dao; package com.zq.api.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.ApiLog; import com.zq.api.entity.ApiLog;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
package com.zq.api.dao; package com.zq.api.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.SysConfig; import com.zq.api.entity.SysConfig;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
package com.zq.common.entity; package com.zq.api.entity;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
......
package com.zq.common.entity; package com.zq.api.entity;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
......
...@@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil; ...@@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.date.DateUtil; import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.zq.api.dao.ApiLogDao; import com.zq.api.dao.ApiLogDao;
import com.zq.api.entity.ApiLog;
import com.zq.api.entity.ApiUser; import com.zq.api.entity.ApiUser;
import com.zq.api.feign.SysFeign; import com.zq.api.feign.SysFeign;
import com.zq.api.form.ApiForm; import com.zq.api.form.ApiForm;
...@@ -11,7 +12,6 @@ import com.zq.api.form.ApiResp; ...@@ -11,7 +12,6 @@ import com.zq.api.form.ApiResp;
import com.zq.api.utils.ApiUtils; import com.zq.api.utils.ApiUtils;
import com.zq.api.utils.ReflectionUtils; import com.zq.api.utils.ReflectionUtils;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.entity.ApiLog;
import com.zq.common.vo.ApiTokenVo; import com.zq.common.vo.ApiTokenVo;
import com.zq.common.vo.ResultVo; import com.zq.common.vo.ResultVo;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
......
...@@ -6,6 +6,7 @@ import cn.hutool.core.util.StrUtil; ...@@ -6,6 +6,7 @@ import cn.hutool.core.util.StrUtil;
import com.zq.api.config.ConfigCache; import com.zq.api.config.ConfigCache;
import com.zq.api.constant.ApiCodeEnum; import com.zq.api.constant.ApiCodeEnum;
import com.zq.api.dao.ApiLogDao; import com.zq.api.dao.ApiLogDao;
import com.zq.api.entity.ApiLog;
import com.zq.api.entity.ApiUser; import com.zq.api.entity.ApiUser;
import com.zq.api.feign.SysFeign; import com.zq.api.feign.SysFeign;
import com.zq.api.form.ApiForm; import com.zq.api.form.ApiForm;
...@@ -13,7 +14,6 @@ import com.zq.api.form.ApiResp; ...@@ -13,7 +14,6 @@ import com.zq.api.form.ApiResp;
import com.zq.api.utils.ApiUtils; import com.zq.api.utils.ApiUtils;
import com.zq.api.utils.ReflectionUtils; import com.zq.api.utils.ReflectionUtils;
import com.zq.common.config.security.ApiTokenUtils; import com.zq.common.config.security.ApiTokenUtils;
import com.zq.common.entity.ApiLog;
import com.zq.common.vo.ApiTokenVo; import com.zq.common.vo.ApiTokenVo;
import com.zq.common.vo.ResultVo; import com.zq.common.vo.ResultVo;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
......
package com.zq.portal.controller.admin; package com.zq.portal.controller.admin;
import com.zq.common.entity.VMarriageStats;
import com.zq.common.vo.ResultVo; import com.zq.common.vo.ResultVo;
import com.zq.portal.entity.VMarriageStats;
import com.zq.portal.service.HyStatsService; import com.zq.portal.service.HyStatsService;
import com.zq.portal.vo.SearchReqVo; import com.zq.portal.vo.SearchReqVo;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
......
package com.zq.portal.controller.app; package com.zq.portal.controller.app;
import com.zq.common.entity.VMarriageStats;
import com.zq.common.vo.ResultVo; import com.zq.common.vo.ResultVo;
import com.zq.portal.entity.VMarriageStats;
import com.zq.portal.service.HyStatsService; import com.zq.portal.service.HyStatsService;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
...@@ -12,8 +12,6 @@ import org.springframework.web.bind.annotation.RequestBody; ...@@ -12,8 +12,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@Api(tags = "婚姻相关接口") @Api(tags = "婚姻相关接口")
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
......
package com.zq.portal.dao; package com.zq.portal.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.SystemArea; import com.zq.portal.entity.SystemArea;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
......
package com.zq.portal.dao; package com.zq.portal.dao;
import com.zq.common.entity.SystemArea; import com.zq.portal.entity.SystemArea;
import com.zq.portal.vo.CountTableDataVo; import com.zq.portal.vo.CountTableDataVo;
import com.zq.portal.vo.CyclicResultVo; import com.zq.portal.vo.CyclicResultVo;
import com.zq.portal.vo.PeopleIDTKindVo; import com.zq.portal.vo.PeopleIDTKindVo;
......
package com.zq.portal.dao; package com.zq.portal.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.VBzCremationStats; import com.zq.portal.entity.VBzCremationStats;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
package com.zq.portal.dao; package com.zq.portal.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.VChildWelfareStats; import com.zq.portal.entity.VChildWelfareStats;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
package com.zq.portal.dao; package com.zq.portal.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.VDemographics; import com.zq.portal.entity.VDemographics;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
package com.zq.portal.dao; package com.zq.portal.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.VMarriageStats; import com.zq.portal.entity.VMarriageStats;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
package com.zq.portal.dao; package com.zq.portal.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.VShjzAchieve; import com.zq.portal.entity.VShjzStats;
import com.zq.common.entity.VShjzStats;
import com.zq.portal.vo.StatsVo; import com.zq.portal.vo.StatsVo;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
......
package com.zq.portal.dao; package com.zq.portal.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.VShjzProvide; import com.zq.portal.entity.VShjzProvide;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
......
package com.zq.portal.dao; package com.zq.portal.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.VSoorganStats; import com.zq.portal.entity.VSoorganStats;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
......
package com.zq.common.entity; package com.zq.portal.entity;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
......
package com.zq.portal.service; package com.zq.portal.service;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zq.common.entity.SystemArea;
import com.zq.portal.dao.AreaDao; import com.zq.portal.dao.AreaDao;
import com.zq.portal.entity.SystemArea;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
......
...@@ -4,12 +4,12 @@ import cn.hutool.core.date.DateUtil; ...@@ -4,12 +4,12 @@ import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.NumberUtil; import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.entity.SystemArea;
import com.zq.common.entity.VBzCremationStats;
import com.zq.common.utils.PagingUtils; import com.zq.common.utils.PagingUtils;
import com.zq.portal.dao.AreaDao; import com.zq.portal.dao.AreaDao;
import com.zq.portal.dao.BzStatsDao; import com.zq.portal.dao.BzStatsDao;
import com.zq.portal.dao.VBzCremationStatsDao; import com.zq.portal.dao.VBzCremationStatsDao;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.entity.VBzCremationStats;
import com.zq.portal.manager.PortalCacheKeys; import com.zq.portal.manager.PortalCacheKeys;
import com.zq.portal.vo.SearchReqVo; import com.zq.portal.vo.SearchReqVo;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
......
...@@ -2,11 +2,11 @@ package com.zq.portal.service; ...@@ -2,11 +2,11 @@ package com.zq.portal.service;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.entity.SystemArea;
import com.zq.common.utils.PagingUtils; import com.zq.common.utils.PagingUtils;
import com.zq.common.utils.StringUtils; import com.zq.common.utils.StringUtils;
import com.zq.portal.dao.AreaDao; import com.zq.portal.dao.AreaDao;
import com.zq.portal.dao.CjStatsDao; import com.zq.portal.dao.CjStatsDao;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.manager.PortalCacheKeys; import com.zq.portal.manager.PortalCacheKeys;
import com.zq.portal.vo.SearchReqVo; import com.zq.portal.vo.SearchReqVo;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
......
package com.zq.portal.service; package com.zq.portal.service;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zq.common.entity.VDemographics;
import com.zq.portal.dao.VDemographicsDao; import com.zq.portal.dao.VDemographicsDao;
import com.zq.portal.entity.VDemographics;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
......
...@@ -5,12 +5,12 @@ import cn.hutool.core.util.NumberUtil; ...@@ -5,12 +5,12 @@ import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.entity.SystemArea;
import com.zq.common.entity.VChildWelfareStats;
import com.zq.common.utils.PagingUtils; import com.zq.common.utils.PagingUtils;
import com.zq.portal.dao.AreaDao; import com.zq.portal.dao.AreaDao;
import com.zq.portal.dao.EtStatsDao; import com.zq.portal.dao.EtStatsDao;
import com.zq.portal.dao.VChildWelfareStatsDao; import com.zq.portal.dao.VChildWelfareStatsDao;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.entity.VChildWelfareStats;
import com.zq.portal.manager.PortalCacheKeys; import com.zq.portal.manager.PortalCacheKeys;
import com.zq.portal.vo.SearchReqVo; import com.zq.portal.vo.SearchReqVo;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
......
...@@ -5,13 +5,13 @@ import cn.hutool.core.util.NumberUtil; ...@@ -5,13 +5,13 @@ import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.entity.SystemArea;
import com.zq.common.entity.VMarriageStats;
import com.zq.common.utils.PagingUtils; import com.zq.common.utils.PagingUtils;
import com.zq.common.utils.StringUtils; import com.zq.common.utils.StringUtils;
import com.zq.portal.dao.AreaDao; import com.zq.portal.dao.AreaDao;
import com.zq.portal.dao.HyStatsDao; import com.zq.portal.dao.HyStatsDao;
import com.zq.portal.dao.VMarriageStatsDao; import com.zq.portal.dao.VMarriageStatsDao;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.entity.VMarriageStats;
import com.zq.portal.manager.PortalCacheKeys; import com.zq.portal.manager.PortalCacheKeys;
import com.zq.portal.vo.LineDataVo; import com.zq.portal.vo.LineDataVo;
import com.zq.portal.vo.SearchReqVo; import com.zq.portal.vo.SearchReqVo;
......
package com.zq.portal.service; package com.zq.portal.service;
import com.zq.common.entity.SystemArea;
import com.zq.common.vo.PageVo; import com.zq.common.vo.PageVo;
import com.zq.common.vo.ResultVo; import com.zq.common.vo.ResultVo;
import com.zq.portal.dao.AreaDao; import com.zq.portal.dao.AreaDao;
import com.zq.portal.dao.IDTKindDao; import com.zq.portal.dao.IDTKindDao;
import com.zq.portal.dao.SearchDao; import com.zq.portal.dao.SearchDao;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.manager.PortalCacheManager; import com.zq.portal.manager.PortalCacheManager;
import com.zq.portal.vo.*; import com.zq.portal.vo.*;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.ArrayList; import java.util.ArrayList;
......
...@@ -5,8 +5,6 @@ import cn.hutool.core.date.DateUtil; ...@@ -5,8 +5,6 @@ import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.NumberUtil; import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.entity.EnbuzStats;
import com.zq.common.entity.SystemArea;
import com.zq.common.utils.PagingUtils; import com.zq.common.utils.PagingUtils;
import com.zq.common.utils.StringUtils; import com.zq.common.utils.StringUtils;
import com.zq.portal.constant.CityEnum; import com.zq.portal.constant.CityEnum;
...@@ -14,6 +12,8 @@ import com.zq.portal.dao.AreaDao; ...@@ -14,6 +12,8 @@ import com.zq.portal.dao.AreaDao;
import com.zq.portal.dao.ShjzStatsDao; import com.zq.portal.dao.ShjzStatsDao;
import com.zq.portal.dao.VShjzAchieveDao; import com.zq.portal.dao.VShjzAchieveDao;
import com.zq.portal.dao.VShjzProvideDao; import com.zq.portal.dao.VShjzProvideDao;
import com.zq.portal.entity.EnbuzStats;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.manager.PortalCacheKeys; import com.zq.portal.manager.PortalCacheKeys;
import com.zq.portal.vo.SearchReqVo; import com.zq.portal.vo.SearchReqVo;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
......
...@@ -5,12 +5,12 @@ import cn.hutool.core.util.NumberUtil; ...@@ -5,12 +5,12 @@ import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.entity.SystemArea;
import com.zq.common.entity.VSoorganStats;
import com.zq.common.utils.PagingUtils; import com.zq.common.utils.PagingUtils;
import com.zq.portal.dao.AreaDao; import com.zq.portal.dao.AreaDao;
import com.zq.portal.dao.ShzzStatsDao; import com.zq.portal.dao.ShzzStatsDao;
import com.zq.portal.dao.VSoorganStatsDao; import com.zq.portal.dao.VSoorganStatsDao;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.entity.VSoorganStats;
import com.zq.portal.manager.PortalCacheKeys; import com.zq.portal.manager.PortalCacheKeys;
import com.zq.portal.vo.SearchReqVo; import com.zq.portal.vo.SearchReqVo;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
......
...@@ -2,8 +2,8 @@ package com.zq.portal.service; ...@@ -2,8 +2,8 @@ package com.zq.portal.service;
import cn.hutool.core.util.NumberUtil; import cn.hutool.core.util.NumberUtil;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.entity.SystemArea;
import com.zq.portal.dao.*; import com.zq.portal.dao.*;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.manager.PortalCacheKeys; import com.zq.portal.manager.PortalCacheKeys;
import com.zq.portal.vo.SearchReqVo; import com.zq.portal.vo.SearchReqVo;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
......
...@@ -2,9 +2,9 @@ package com.zq.portal.service; ...@@ -2,9 +2,9 @@ package com.zq.portal.service;
import cn.hutool.core.util.NumberUtil; import cn.hutool.core.util.NumberUtil;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.entity.SystemArea;
import com.zq.portal.dao.AreaDao; import com.zq.portal.dao.AreaDao;
import com.zq.portal.dao.YlStatsDao; import com.zq.portal.dao.YlStatsDao;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.manager.PortalCacheKeys; import com.zq.portal.manager.PortalCacheKeys;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
import com.zq.portal.vo.StatsVo; import com.zq.portal.vo.StatsVo;
......
package com.zq.portal.task; package com.zq.portal.task;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zq.common.entity.SystemArea;
import com.zq.portal.dao.AreaDao; import com.zq.portal.dao.AreaDao;
import com.zq.portal.entity.SystemArea;
import com.zq.portal.service.*; import com.zq.portal.service.*;
import com.zq.portal.vo.StatsReqVo; import com.zq.portal.vo.StatsReqVo;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
......
package com.zq.portal.vo; package com.zq.portal.vo;
import com.zq.common.entity.SystemArea;
import com.zq.common.vo.PageReqVo; import com.zq.common.vo.PageReqVo;
import com.zq.portal.entity.SystemArea;
import lombok.*; import lombok.*;
@Data @Data
......
package com.zq.portal.vo; package com.zq.portal.vo;
import com.zq.common.entity.SystemArea; import com.zq.portal.entity.SystemArea;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zq.portal.dao.AreaDao"> <mapper namespace="com.zq.portal.dao.AreaDao">
<select id="getAreaList" resultType="com.zq.common.entity.SystemArea" <select id="getAreaList" resultType="com.zq.portal.entity.SystemArea"
parameterType="com.zq.common.entity.SystemArea"> parameterType="com.zq.portal.entity.SystemArea">
SELECT SELECT
a.id, a.id,
CONCAT( CONCAT(
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</select> </select>
<select id="getCityAreaList" resultType="com.zq.common.entity.SystemArea"> <select id="getCityAreaList" resultType="com.zq.portal.entity.SystemArea">
select id, select id,
name name
FROM system_area FROM system_area
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
and a.parent_id > 0 and a.parent_id > 0
</select> </select>
<select id="getAreaByType" resultType="com.zq.common.entity.SystemArea" parameterType="string"> <select id="getAreaByType" resultType="com.zq.portal.entity.SystemArea" parameterType="string">
select id as id, type ,parent_id as parentId,name select id as id, type ,parent_id as parentId,name
from system_area where type =#{type} from system_area where type =#{type}
<if test="parentId!=null and parentId!='' and type!=2"> <if test="parentId!=null and parentId!='' and type!=2">
...@@ -51,13 +51,13 @@ ...@@ -51,13 +51,13 @@
</if> </if>
</select> </select>
<select id="findKid" parameterType="java.lang.String" resultType="com.zq.common.entity.SystemArea"> <select id="findKid" parameterType="java.lang.String" resultType="com.zq.portal.entity.SystemArea">
SELECT id as id, code, type, parent_id as parentId, name SELECT id as id, code, type, parent_id as parentId, name
FROM system_area a FROM system_area a
where a.parent_id = #{value} where a.parent_id = #{value}
</select> </select>
<select id="getAreaByCode" parameterType="java.lang.String" resultType="com.zq.common.entity.SystemArea"> <select id="getAreaByCode" parameterType="java.lang.String" resultType="com.zq.portal.entity.SystemArea">
SELECT id as id, code, type, parent_id as parentId, name SELECT id as id, code, type, parent_id as parentId, name
FROM system_area a FROM system_area a
where a.id = #{value} where a.id = #{value}
......
package com.zq.system.modules.system.dao; package com.zq.system.modules.system.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.entity.AppVersion; import com.zq.system.modules.system.entity.AppVersion;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
...@@ -3,7 +3,7 @@ package com.zq.system.modules.system.dao; ...@@ -3,7 +3,7 @@ package com.zq.system.modules.system.dao;
import com.baomidou.dynamic.datasource.annotation.DS; import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.common.constant.DBName; import com.zq.common.constant.DBName;
import com.zq.common.entity.Pfuser; import com.zq.system.modules.system.entity.Pfuser;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
package com.zq.common.entity; package com.zq.system.modules.system.entity;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
......
package com.zq.common.entity; package com.zq.system.modules.system.entity;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
......
package com.zq.system.modules.system.rest.api; package com.zq.system.modules.system.rest.api;
import com.zq.common.entity.AppVersion;
import com.zq.common.vo.PageVo; import com.zq.common.vo.PageVo;
import com.zq.common.vo.ResultVo; import com.zq.common.vo.ResultVo;
import com.zq.system.modules.system.domain.vo.AppVersionFindVo; import com.zq.system.modules.system.domain.vo.AppVersionFindVo;
import com.zq.system.modules.system.entity.AppVersion;
import com.zq.system.modules.system.service.VersionService; import com.zq.system.modules.system.service.VersionService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
......
...@@ -2,11 +2,11 @@ package com.zq.system.modules.system.service; ...@@ -2,11 +2,11 @@ package com.zq.system.modules.system.service;
import cn.hutool.core.date.DateUtil; import cn.hutool.core.date.DateUtil;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zq.common.entity.AppVersion;
import com.zq.common.utils.PagingUtils; import com.zq.common.utils.PagingUtils;
import com.zq.common.vo.PageVo; import com.zq.common.vo.PageVo;
import com.zq.system.modules.system.domain.vo.AppVersionFindVo;
import com.zq.system.modules.system.dao.AppVersionDao; import com.zq.system.modules.system.dao.AppVersionDao;
import com.zq.system.modules.system.domain.vo.AppVersionFindVo;
import com.zq.system.modules.system.entity.AppVersion;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
......
...@@ -21,7 +21,6 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers; ...@@ -21,7 +21,6 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zq.common.config.redis.RedisUtils; import com.zq.common.config.redis.RedisUtils;
import com.zq.common.config.security.ApiTokenUtils; import com.zq.common.config.security.ApiTokenUtils;
import com.zq.common.constant.SystemName; import com.zq.common.constant.SystemName;
import com.zq.common.entity.Pfuser;
import com.zq.common.utils.AssertUtils; import com.zq.common.utils.AssertUtils;
import com.zq.common.utils.StringUtils; import com.zq.common.utils.StringUtils;
import com.zq.common.utils.UploadUtils; import com.zq.common.utils.UploadUtils;
...@@ -35,6 +34,7 @@ import com.zq.system.modules.system.domain.Job; ...@@ -35,6 +34,7 @@ import com.zq.system.modules.system.domain.Job;
import com.zq.system.modules.system.domain.Role; import com.zq.system.modules.system.domain.Role;
import com.zq.system.modules.system.domain.User; import com.zq.system.modules.system.domain.User;
import com.zq.system.modules.system.domain.vo.LoginVo; import com.zq.system.modules.system.domain.vo.LoginVo;
import com.zq.system.modules.system.entity.Pfuser;
import com.zq.system.modules.system.repository.DeptRepository; import com.zq.system.modules.system.repository.DeptRepository;
import com.zq.system.modules.system.repository.JobRepository; import com.zq.system.modules.system.repository.JobRepository;
import com.zq.system.modules.system.repository.RoleRepository; import com.zq.system.modules.system.repository.RoleRepository;
......
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