Browse Source

site管理

chenlei1231 6 months ago
parent
commit
6aeeca1834
12 changed files with 29 additions and 52 deletions
  1. 4 4
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/controller/SeoMarketPlanController.java
  2. 1 1
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/entity/SeoMarketPlan.java
  3. 2 5
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/mapper/SeoMarketPlanMapper.java
  4. 1 1
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/mapper/xml/SeoMarketPlanMapper.xml
  5. 2 2
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/service/ISeoMarketPlanService.java
  6. 4 4
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/service/impl/SeoMarketPlanServiceImpl.java
  7. 4 18
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/controller/AdwebSiteController.java
  8. 2 5
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/entity/AdwebSite.java
  9. 2 5
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/mapper/AdwebSiteMapper.java
  10. 1 1
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/mapper/xml/AdwebSiteMapper.xml
  11. 2 2
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/service/IAdwebSiteService.java
  12. 4 4
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/service/impl/AdwebSiteServiceImpl.java

+ 4 - 4
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/controller/SeoMarketPlanController.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/controller/SeoMarketPlanController.java

@@ -1,4 +1,4 @@
-package org.jeecg.modules.adweb.controller;
+package org.jeecg.modules.adweb.market.controller;
 
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
@@ -12,8 +12,8 @@ import org.jeecg.common.api.vo.Result;
 import org.jeecg.common.aspect.annotation.AutoLog;
 import org.jeecg.common.system.base.controller.JeecgController;
 import org.jeecg.common.system.query.QueryGenerator;
-import org.jeecg.modules.adweb.entity.SeoMarketPlan;
-import org.jeecg.modules.adweb.service.ISeoMarketPlanService;
+import org.jeecg.modules.adweb.market.entity.SeoMarketPlan;
+import org.jeecg.modules.adweb.market.service.ISeoMarketPlanService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.web.bind.annotation.*;
@@ -35,7 +35,7 @@ public class SeoMarketPlanController extends JeecgController<SeoMarketPlan, ISeo
     @Autowired
     private ISeoMarketPlanService seoMarketPlanService;
 
-    @Autowired
+//    @Autowired
 //	private IAdwebMaterialCheckService checkService;
 
     /**

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/entity/SeoMarketPlan.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/entity/SeoMarketPlan.java

@@ -1,4 +1,4 @@
-package org.jeecg.modules.adweb.entity;
+package org.jeecg.modules.adweb.market.entity;
 
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;

+ 2 - 5
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/mapper/SeoMarketPlanMapper.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/mapper/SeoMarketPlanMapper.java

@@ -1,9 +1,6 @@
-package org.jeecg.modules.adweb.mapper;
+package org.jeecg.modules.adweb.market.mapper;
 
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-import org.jeecg.modules.adweb.entity.SeoMarketPlan;
+import org.jeecg.modules.adweb.market.entity.SeoMarketPlan;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 
 /**

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/mapper/xml/SeoMarketPlanMapper.xml → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/mapper/xml/SeoMarketPlanMapper.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="org.jeecg.modules.adweb.mapper.SeoMarketPlanMapper">
+<mapper namespace="org.jeecg.modules.adweb.market.mapper.SeoMarketPlanMapper">
 
 </mapper>

+ 2 - 2
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/service/ISeoMarketPlanService.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/service/ISeoMarketPlanService.java

@@ -1,6 +1,6 @@
-package org.jeecg.modules.adweb.service;
+package org.jeecg.modules.adweb.market.service;
 
-import org.jeecg.modules.adweb.entity.SeoMarketPlan;
+import org.jeecg.modules.adweb.market.entity.SeoMarketPlan;
 import com.baomidou.mybatisplus.extension.service.IService;
 
 /**

+ 4 - 4
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/service/impl/SeoMarketPlanServiceImpl.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/service/impl/SeoMarketPlanServiceImpl.java

@@ -1,8 +1,8 @@
-package org.jeecg.modules.adweb.service.impl;
+package org.jeecg.modules.adweb.market.service.impl;
 
-import org.jeecg.modules.adweb.entity.SeoMarketPlan;
-import org.jeecg.modules.adweb.mapper.SeoMarketPlanMapper;
-import org.jeecg.modules.adweb.service.ISeoMarketPlanService;
+import org.jeecg.modules.adweb.market.entity.SeoMarketPlan;
+import org.jeecg.modules.adweb.market.mapper.SeoMarketPlanMapper;
+import org.jeecg.modules.adweb.market.service.ISeoMarketPlanService;
 import org.springframework.stereotype.Service;
 
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

+ 4 - 18
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/controller/AdwebSiteController.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/controller/AdwebSiteController.java

@@ -1,37 +1,23 @@
-package org.jeecg.modules.adweb.controller;
+package org.jeecg.modules.adweb.site.controller;
 
 import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
-import java.util.stream.Collectors;
-import java.io.IOException;
-import java.io.UnsupportedEncodingException;
-import java.net.URLDecoder;
+
 import jakarta.servlet.http.HttpServletRequest;
 import jakarta.servlet.http.HttpServletResponse;
 import org.jeecg.common.api.vo.Result;
 import org.jeecg.common.system.query.QueryGenerator;
-import org.jeecg.common.util.oConvertUtils;
-import org.jeecg.modules.adweb.entity.AdwebSite;
-import org.jeecg.modules.adweb.service.IAdwebSiteService;
+import org.jeecg.modules.adweb.site.entity.AdwebSite;
+import org.jeecg.modules.adweb.site.service.IAdwebSiteService;
 
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import lombok.extern.slf4j.Slf4j;
 
-import org.jeecgframework.poi.excel.ExcelImportUtil;
-import org.jeecgframework.poi.excel.def.NormalExcelConstants;
-import org.jeecgframework.poi.excel.entity.ExportParams;
-import org.jeecgframework.poi.excel.entity.ImportParams;
-import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
 import org.jeecg.common.system.base.controller.JeecgController;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
-import org.springframework.web.multipart.MultipartFile;
-import org.springframework.web.multipart.MultipartHttpServletRequest;
 import org.springframework.web.servlet.ModelAndView;
-import com.alibaba.fastjson.JSON;
 import io.swagger.v3.oas.annotations.Operation;
 import io.swagger.v3.oas.annotations.tags.Tag;
 import org.jeecg.common.aspect.annotation.AutoLog;

+ 2 - 5
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/entity/AdwebSite.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/entity/AdwebSite.java

@@ -1,13 +1,10 @@
-package org.jeecg.modules.adweb.entity;
+package org.jeecg.modules.adweb.site.entity;
 
 import java.io.Serializable;
-import java.io.UnsupportedEncodingException;
-import java.util.Date;
-import java.math.BigDecimal;
+
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableLogic;
 import lombok.Data;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import org.springframework.format.annotation.DateTimeFormat;

+ 2 - 5
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/mapper/AdwebSiteMapper.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/mapper/AdwebSiteMapper.java

@@ -1,9 +1,6 @@
-package org.jeecg.modules.adweb.mapper;
+package org.jeecg.modules.adweb.site.mapper;
 
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-import org.jeecg.modules.adweb.entity.AdwebSite;
+import org.jeecg.modules.adweb.site.entity.AdwebSite;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 
 /**

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/mapper/xml/AdwebSiteMapper.xml → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/mapper/xml/AdwebSiteMapper.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="org.jeecg.modules.adweb.mapper.AdwebSiteMapper">
+<mapper namespace="org.jeecg.modules.adweb.site.mapper.AdwebSiteMapper">
 
 </mapper>

+ 2 - 2
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/service/IAdwebSiteService.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/service/IAdwebSiteService.java

@@ -1,6 +1,6 @@
-package org.jeecg.modules.adweb.service;
+package org.jeecg.modules.adweb.site.service;
 
-import org.jeecg.modules.adweb.entity.AdwebSite;
+import org.jeecg.modules.adweb.site.entity.AdwebSite;
 import com.baomidou.mybatisplus.extension.service.IService;
 
 /**

+ 4 - 4
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/service/impl/AdwebSiteServiceImpl.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/service/impl/AdwebSiteServiceImpl.java

@@ -1,8 +1,8 @@
-package org.jeecg.modules.adweb.service.impl;
+package org.jeecg.modules.adweb.site.service.impl;
 
-import org.jeecg.modules.adweb.entity.AdwebSite;
-import org.jeecg.modules.adweb.mapper.AdwebSiteMapper;
-import org.jeecg.modules.adweb.service.IAdwebSiteService;
+import org.jeecg.modules.adweb.site.entity.AdwebSite;
+import org.jeecg.modules.adweb.site.mapper.AdwebSiteMapper;
+import org.jeecg.modules.adweb.site.service.IAdwebSiteService;
 import org.springframework.stereotype.Service;
 
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;