Browse Source

重命名套餐,新增adweb主题

chenlei1231 6 months ago
parent
commit
ff4e1eec18
16 changed files with 415 additions and 79 deletions
  1. 0 14
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/mapper/SeoMarketPlanMapper.java
  2. 0 14
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/service/ISeoMarketPlanService.java
  3. 0 19
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/service/impl/SeoMarketPlanServiceImpl.java
  4. 25 25
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/controller/SubscribePlanController.java
  5. 33 3
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/entity/SubscribePlan.java
  6. 14 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/mapper/SubscribePlanMapper.java
  7. 5 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/mapper/xml/SubscribePlanMapper.xml
  8. 14 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/service/ISubscribePlanService.java
  9. 19 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/service/impl/SubscribePlanServiceImpl.java
  10. 164 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/controller/AdwebThemeController.java
  11. 90 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/entity/AdwebTheme.java
  12. 14 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/mapper/AdwebThemeMapper.java
  13. 1 1
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/mapper/xml/AdwebThemeMapper.xml
  14. 14 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/service/IAdwebThemeService.java
  15. 19 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/service/impl/AdwebThemeServiceImpl.java
  16. 3 3
      jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml

+ 0 - 14
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/mapper/SeoMarketPlanMapper.java

@@ -1,14 +0,0 @@
-package org.jeecg.modules.adweb.market.mapper;
-
-import org.jeecg.modules.adweb.market.entity.SeoMarketPlan;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-/**
- * @Description: 网站营销方案套餐表
- * @Author: jeecg-boot
- * @Date:   2024-09-27
- * @Version: V1.0
- */
-public interface SeoMarketPlanMapper extends BaseMapper<SeoMarketPlan> {
-
-}

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

@@ -1,14 +0,0 @@
-package org.jeecg.modules.adweb.market.service;
-
-import org.jeecg.modules.adweb.market.entity.SeoMarketPlan;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
- * @Description: 网站营销方案套餐表
- * @Author: jeecg-boot
- * @Date:   2024-09-27
- * @Version: V1.0
- */
-public interface ISeoMarketPlanService extends IService<SeoMarketPlan> {
-
-}

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

@@ -1,19 +0,0 @@
-package org.jeecg.modules.adweb.market.service.impl;
-
-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;
-
-/**
- * @Description: 网站营销方案套餐表
- * @Author: jeecg-boot
- * @Date:   2024-09-27
- * @Version: V1.0
- */
-@Service
-public class SeoMarketPlanServiceImpl extends ServiceImpl<SeoMarketPlanMapper, SeoMarketPlan> implements ISeoMarketPlanService {
-
-}

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

@@ -1,4 +1,4 @@
-package org.jeecg.modules.adweb.market.controller;
+package org.jeecg.modules.adweb.subscribePlan.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.market.entity.SeoMarketPlan;
-import org.jeecg.modules.adweb.market.service.ISeoMarketPlanService;
+import org.jeecg.modules.adweb.subscribePlan.entity.SubscribePlan;
+import org.jeecg.modules.adweb.subscribePlan.service.ISubscribePlanService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.web.bind.annotation.*;
@@ -29,11 +29,11 @@ import java.util.Arrays;
  */
 @Tag(name = "网站营销方案套餐表")
 @RestController
-@RequestMapping("/adweb/seoMarketPlan")
+@RequestMapping("/adweb/subscribePlan")
 @Slf4j
-public class SeoMarketPlanController extends JeecgController<SeoMarketPlan, ISeoMarketPlanService> {
+public class SubscribePlanController extends JeecgController<SubscribePlan, ISubscribePlanService> {
     @Autowired
-    private ISeoMarketPlanService seoMarketPlanService;
+    private ISubscribePlanService seoMarketPlanService;
 
 //    @Autowired
 //	private IAdwebMaterialCheckService checkService;
@@ -41,7 +41,7 @@ public class SeoMarketPlanController extends JeecgController<SeoMarketPlan, ISeo
     /**
      * 分页列表查询
      *
-     * @param seoMarketPlan
+     * @param subscribePlan
      * @param pageNo
      * @param pageSize
      * @param req
@@ -50,43 +50,43 @@ public class SeoMarketPlanController extends JeecgController<SeoMarketPlan, ISeo
     //@AutoLog(value = "网站营销方案套餐表-分页列表查询")
     @Operation(summary = "网站营销方案套餐表-分页列表查询")
     @GetMapping(value = "/list")
-    public Result<IPage<SeoMarketPlan>> queryPageList(SeoMarketPlan seoMarketPlan,
+    public Result<IPage<SubscribePlan>> queryPageList(SubscribePlan subscribePlan,
                                                       @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
                                                       @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
                                                       HttpServletRequest req) {
-        QueryWrapper<SeoMarketPlan> queryWrapper = QueryGenerator.initQueryWrapper(seoMarketPlan, req.getParameterMap());
-        Page<SeoMarketPlan> page = new Page<SeoMarketPlan>(pageNo, pageSize);
-        IPage<SeoMarketPlan> pageList = seoMarketPlanService.page(page, queryWrapper);
+        QueryWrapper<SubscribePlan> queryWrapper = QueryGenerator.initQueryWrapper(subscribePlan, req.getParameterMap());
+        Page<SubscribePlan> page = new Page<SubscribePlan>(pageNo, pageSize);
+        IPage<SubscribePlan> pageList = seoMarketPlanService.page(page, queryWrapper);
         return Result.OK(pageList);
     }
 
     /**
      * 添加
      *
-     * @param seoMarketPlan
+     * @param subscribePlan
      * @return
      */
     @AutoLog(value = "网站营销方案套餐表-添加")
     @Operation(summary = "网站营销方案套餐表-添加")
     @PreAuthorize("@jps.requiresPermissions('adweb:seo_market_plan:add')")
     @PostMapping(value = "/add")
-    public Result<String> add(@RequestBody SeoMarketPlan seoMarketPlan) {
-        seoMarketPlanService.save(seoMarketPlan);
+    public Result<String> add(@RequestBody SubscribePlan subscribePlan) {
+        seoMarketPlanService.save(subscribePlan);
         return Result.OK("添加成功!");
     }
 
     /**
      * 编辑
      *
-     * @param seoMarketPlan
+     * @param subscribePlan
      * @return
      */
     @AutoLog(value = "网站营销方案套餐表-编辑")
     @Operation(summary = "网站营销方案套餐表-编辑")
     @PreAuthorize("@jps.requiresPermissions('adweb:seo_market_plan:edit')")
     @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
-    public Result<String> edit(@RequestBody SeoMarketPlan seoMarketPlan) {
-        seoMarketPlanService.updateById(seoMarketPlan);
+    public Result<String> edit(@RequestBody SubscribePlan subscribePlan) {
+        seoMarketPlanService.updateById(subscribePlan);
         return Result.OK("编辑成功!");
     }
 
@@ -129,24 +129,24 @@ public class SeoMarketPlanController extends JeecgController<SeoMarketPlan, ISeo
     //@AutoLog(value = "网站营销方案套餐表-通过id查询")
     @Operation(summary = "网站营销方案套餐表-通过id查询")
     @GetMapping(value = "/queryById")
-    public Result<SeoMarketPlan> queryById(@RequestParam(name = "id", required = true) String id) {
-        SeoMarketPlan seoMarketPlan = seoMarketPlanService.getById(id);
-        if (seoMarketPlan == null) {
+    public Result<SubscribePlan> queryById(@RequestParam(name = "id", required = true) String id) {
+        SubscribePlan subscribePlan = seoMarketPlanService.getById(id);
+        if (subscribePlan == null) {
             return Result.error("未找到对应数据");
         }
-        return Result.OK(seoMarketPlan);
+        return Result.OK(subscribePlan);
     }
 
     /**
      * 导出excel
      *
      * @param request
-     * @param seoMarketPlan
+     * @param subscribePlan
      */
     @PreAuthorize("@jps.requiresPermissions('adweb:seo_market_plan:exportXls')")
     @RequestMapping(value = "/exportXls")
-    public ModelAndView exportXls(HttpServletRequest request, SeoMarketPlan seoMarketPlan) {
-        return super.exportXls(request, seoMarketPlan, SeoMarketPlan.class, "网站营销方案套餐表");
+    public ModelAndView exportXls(HttpServletRequest request, SubscribePlan subscribePlan) {
+        return super.exportXls(request, subscribePlan, SubscribePlan.class, "网站营销方案套餐表");
     }
 
     /**
@@ -159,7 +159,7 @@ public class SeoMarketPlanController extends JeecgController<SeoMarketPlan, ISeo
     @PreAuthorize("@jps.requiresPermissions('adweb:seo_market_plan:importExcel')")
     @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
     public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
-        return super.importExcel(request, response, SeoMarketPlan.class);
+        return super.importExcel(request, response, SubscribePlan.class);
     }
 
 //	/**

+ 33 - 3
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/entity/SeoMarketPlan.java → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/entity/SubscribePlan.java

@@ -1,4 +1,4 @@
-package org.jeecg.modules.adweb.market.entity;
+package org.jeecg.modules.adweb.subscribePlan.entity;
 
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
@@ -21,11 +21,11 @@ import java.io.Serializable;
  * @Version: V1.0
  */
 @Data
-@TableName("seo_market_plan")
+@TableName("subscribe_plan")
 @Accessors(chain = true)
 @EqualsAndHashCode(callSuper = false)
 @Schema(description="网站营销方案套餐表")
-public class SeoMarketPlan implements Serializable {
+public class SubscribePlan implements Serializable {
     private static final long serialVersionUID = 1L;
 
 	/**主键*/
@@ -81,4 +81,34 @@ public class SeoMarketPlan implements Serializable {
 	@Excel(name = "价格", width = 15)
     @Schema(description = "价格")
     private java.lang.Double price;
+
+    /**文章数量*/
+    @Excel(name = "文章数量", width = 15)
+    @Schema(description = "文章数量")
+    private java.lang.Integer article;
+
+    /**博客数量*/
+    @Excel(name = "博客数量", width = 15)
+    @Schema(description = "博客数量")
+    private java.lang.Integer blog;
+
+    /**外链数量*/
+    @Excel(name = "外链数量", width = 15)
+    @Schema(description = "外链数量")
+    private java.lang.Integer externalLinks;
+
+    /**长尾词数量*/
+    @Excel(name = "长尾词数量", width = 15)
+    @Schema(description = "长尾词数量")
+    private java.lang.Integer longTailKeyword;
+
+    /**访问数量*/
+    @Excel(name = "访问数量", width = 15)
+    @Schema(description = "访问数量")
+    private java.lang.Integer pageView;
+
+    /**指定词数量*/
+    @Excel(name = "指定词数量", width = 15)
+    @Schema(description = "指定词数量")
+    private java.lang.Integer specifyKeyword;
 }

+ 14 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/mapper/SubscribePlanMapper.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.adweb.subscribePlan.mapper;
+
+import org.jeecg.modules.adweb.subscribePlan.entity.SubscribePlan;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: 网站营销方案套餐表
+ * @Author: jeecg-boot
+ * @Date:   2024-09-27
+ * @Version: V1.0
+ */
+public interface SubscribePlanMapper extends BaseMapper<SubscribePlan> {
+
+}

+ 5 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/mapper/xml/SubscribePlanMapper.xml

@@ -0,0 +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.subscribePlan.mapper.SubscribePlanMapper">
+
+</mapper>

+ 14 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/service/ISubscribePlanService.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.adweb.subscribePlan.service;
+
+import org.jeecg.modules.adweb.subscribePlan.entity.SubscribePlan;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: 网站营销方案套餐表
+ * @Author: jeecg-boot
+ * @Date:   2024-09-27
+ * @Version: V1.0
+ */
+public interface ISubscribePlanService extends IService<SubscribePlan> {
+
+}

+ 19 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/subscribePlan/service/impl/SubscribePlanServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.adweb.subscribePlan.service.impl;
+
+import org.jeecg.modules.adweb.subscribePlan.entity.SubscribePlan;
+import org.jeecg.modules.adweb.subscribePlan.mapper.SubscribePlanMapper;
+import org.jeecg.modules.adweb.subscribePlan.service.ISubscribePlanService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: 网站营销方案套餐表
+ * @Author: jeecg-boot
+ * @Date:   2024-09-27
+ * @Version: V1.0
+ */
+@Service
+public class SubscribePlanServiceImpl extends ServiceImpl<SubscribePlanMapper, SubscribePlan> implements ISubscribePlanService {
+
+}

+ 164 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/controller/AdwebThemeController.java

@@ -0,0 +1,164 @@
+package org.jeecg.modules.adweb.theme.controller;
+
+import java.util.Arrays;
+
+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.modules.adweb.theme.entity.AdwebTheme;
+import org.jeecg.modules.adweb.theme.service.IAdwebThemeService;
+
+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.jeecg.common.system.base.controller.JeecgController;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.servlet.ModelAndView;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import org.jeecg.common.aspect.annotation.AutoLog;
+import org.springframework.security.access.prepost.PreAuthorize;
+
+ /**
+ * @Description: adweb主题库
+ * @Author: jeecg-boot
+ * @Date:   2024-09-30
+ * @Version: V1.0
+ */
+@Tag(name="adweb主题库")
+@RestController
+@RequestMapping("/adweb/adwebTheme")
+@Slf4j
+public class AdwebThemeController extends JeecgController<AdwebTheme, IAdwebThemeService> {
+	@Autowired
+	private IAdwebThemeService adwebThemeService;
+	
+	/**
+	 * 分页列表查询
+	 *
+	 * @param adwebTheme
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	//@AutoLog(value = "adweb主题库-分页列表查询")
+	@Operation(summary="adweb主题库-分页列表查询")
+	@GetMapping(value = "/list")
+	public Result<IPage<AdwebTheme>> queryPageList(AdwebTheme adwebTheme,
+								   @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+								   @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+								   HttpServletRequest req) {
+		QueryWrapper<AdwebTheme> queryWrapper = QueryGenerator.initQueryWrapper(adwebTheme, req.getParameterMap());
+		Page<AdwebTheme> page = new Page<AdwebTheme>(pageNo, pageSize);
+		IPage<AdwebTheme> pageList = adwebThemeService.page(page, queryWrapper);
+		return Result.OK(pageList);
+	}
+	
+	/**
+	 *   添加
+	 *
+	 * @param adwebTheme
+	 * @return
+	 */
+	@AutoLog(value = "adweb主题库-添加")
+	@Operation(summary="adweb主题库-添加")
+	@PreAuthorize("@jps.requiresPermissions('adweb:adweb_theme:add')")
+	@PostMapping(value = "/add")
+	public Result<String> add(@RequestBody AdwebTheme adwebTheme) {
+		adwebThemeService.save(adwebTheme);
+		return Result.OK("添加成功!");
+	}
+	
+	/**
+	 *  编辑
+	 *
+	 * @param adwebTheme
+	 * @return
+	 */
+	@AutoLog(value = "adweb主题库-编辑")
+	@Operation(summary="adweb主题库-编辑")
+    @PreAuthorize("@jps.requiresPermissions('adweb:adweb_theme:edit')")
+	@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
+	public Result<String> edit(@RequestBody AdwebTheme adwebTheme) {
+		adwebThemeService.updateById(adwebTheme);
+		return Result.OK("编辑成功!");
+	}
+	
+	/**
+	 *   通过id删除
+	 *
+	 * @param id
+	 * @return
+	 */
+	@AutoLog(value = "adweb主题库-通过id删除")
+	@Operation(summary="adweb主题库-通过id删除")
+    @PreAuthorize("@jps.requiresPermissions('adweb:adweb_theme:delete')")
+	@DeleteMapping(value = "/delete")
+	public Result<String> delete(@RequestParam(name="id",required=true) String id) {
+		adwebThemeService.removeById(id);
+		return Result.OK("删除成功!");
+	}
+	
+	/**
+	 *  批量删除
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@AutoLog(value = "adweb主题库-批量删除")
+	@Operation(summary="adweb主题库-批量删除")
+    @PreAuthorize("@jps.requiresPermissions('adweb:adweb_theme:deleteBatch')")
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<String> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+		this.adwebThemeService.removeByIds(Arrays.asList(ids.split(",")));
+		return Result.OK("批量删除成功!");
+	}
+	
+	/**
+	 * 通过id查询
+	 *
+	 * @param id
+	 * @return
+	 */
+	//@AutoLog(value = "adweb主题库-通过id查询")
+	@Operation(summary="adweb主题库-通过id查询")
+	@GetMapping(value = "/queryById")
+	public Result<AdwebTheme> queryById(@RequestParam(name="id",required=true) String id) {
+		AdwebTheme adwebTheme = adwebThemeService.getById(id);
+		if(adwebTheme==null) {
+			return Result.error("未找到对应数据");
+		}
+		return Result.OK(adwebTheme);
+	}
+
+    /**
+    * 导出excel
+    *
+    * @param request
+    * @param adwebTheme
+    */
+    @PreAuthorize("@jps.requiresPermissions('adweb:adweb_theme:exportXls')")
+    @RequestMapping(value = "/exportXls")
+    public ModelAndView exportXls(HttpServletRequest request, AdwebTheme adwebTheme) {
+        return super.exportXls(request, adwebTheme, AdwebTheme.class, "adweb主题库");
+    }
+
+    /**
+      * 通过excel导入数据
+    *
+    * @param request
+    * @param response
+    * @return
+    */
+    @PreAuthorize("@jps.requiresPermissions('adweb:adweb_theme:importExcel')")
+    @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+    public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
+        return super.importExcel(request, response, AdwebTheme.class);
+    }
+
+}

+ 90 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/entity/AdwebTheme.java

@@ -0,0 +1,90 @@
+package org.jeecg.modules.adweb.theme.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;
+import org.jeecgframework.poi.excel.annotation.Excel;
+import org.jeecg.common.aspect.annotation.Dict;
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * @Description: adweb主题库
+ * @Author: jeecg-boot
+ * @Date:   2024-09-30
+ * @Version: V1.0
+ */
+@Data
+@TableName("adweb_theme")
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = false)
+@Schema(description="adweb主题库")
+public class AdwebTheme implements Serializable {
+    private static final long serialVersionUID = 1L;
+
+	/**主键*/
+	@TableId(type = IdType.ASSIGN_ID)
+    @Schema(description = "主键")
+    private java.lang.String id;
+	/**创建人*/
+    @Schema(description = "创建人")
+    private java.lang.String createBy;
+	/**创建日期*/
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @Schema(description = "创建日期")
+    private java.util.Date createTime;
+	/**更新人*/
+    @Schema(description = "更新人")
+    private java.lang.String updateBy;
+	/**更新日期*/
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @Schema(description = "更新日期")
+    private java.util.Date updateTime;
+	/**模板名称*/
+	@Excel(name = "模板名称", width = 15)
+    @Schema(description = "模板名称")
+    private java.lang.String name;
+	/**上架状态:0:未上架;1:已上架;默认0*/
+	@Excel(name = "上架状态:0:未上架;1:已上架;默认0", width = 15)
+    @Schema(description = "上架状态:0:未上架;1:已上架;默认0")
+    private java.lang.Integer putaway;
+	/**图片路径*/
+	@Excel(name = "图片路径", width = 15)
+    @Schema(description = "图片路径")
+    private java.lang.String images;
+	/**模板价格*/
+	@Excel(name = "模板价格", width = 15)
+    @Schema(description = "模板价格")
+    private java.math.BigDecimal templatePrice;
+	/**模板标签*/
+	@Excel(name = "模板标签", width = 15)
+    @Schema(description = "模板标签")
+    private java.lang.String templateTags;
+	/**主题颜色ID*/
+	@Excel(name = "主题颜色ID", width = 15)
+    @Schema(description = "主题颜色ID")
+    private java.lang.Integer templateColorId;
+	/**站点域名*/
+	@Excel(name = "站点域名", width = 15)
+    @Schema(description = "站点域名")
+    private java.lang.String domain;
+	/**站点备注*/
+	@Excel(name = "站点备注", width = 15)
+    @Schema(description = "站点备注")
+    private java.lang.String descirbe;
+	/**站点状态:0:创建失败,1:正常运行,2:运行异常 3:站点停止*/
+	@Excel(name = "站点状态:0:创建失败,1:正常运行,2:运行异常 3:站点停止", width = 15)
+    @Schema(description = "站点状态:0:创建失败,1:正常运行,2:运行异常 3:站点停止")
+    private java.lang.Integer runStatus;
+}

+ 14 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/mapper/AdwebThemeMapper.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.adweb.theme.mapper;
+
+import org.jeecg.modules.adweb.theme.entity.AdwebTheme;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: adweb主题库
+ * @Author: jeecg-boot
+ * @Date:   2024-09-30
+ * @Version: V1.0
+ */
+public interface AdwebThemeMapper extends BaseMapper<AdwebTheme> {
+
+}

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/market/mapper/xml/SeoMarketPlanMapper.xml → jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/mapper/xml/AdwebThemeMapper.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.market.mapper.SeoMarketPlanMapper">
+<mapper namespace="org.jeecg.modules.adweb.theme.mapper.AdwebThemeMapper">
 
 </mapper>

+ 14 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/service/IAdwebThemeService.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.adweb.theme.service;
+
+import org.jeecg.modules.adweb.theme.entity.AdwebTheme;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: adweb主题库
+ * @Author: jeecg-boot
+ * @Date:   2024-09-30
+ * @Version: V1.0
+ */
+public interface IAdwebThemeService extends IService<AdwebTheme> {
+
+}

+ 19 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/theme/service/impl/AdwebThemeServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.adweb.theme.service.impl;
+
+import org.jeecg.modules.adweb.theme.entity.AdwebTheme;
+import org.jeecg.modules.adweb.theme.mapper.AdwebThemeMapper;
+import org.jeecg.modules.adweb.theme.service.IAdwebThemeService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: adweb主题库
+ * @Author: jeecg-boot
+ * @Date:   2024-09-30
+ * @Version: V1.0
+ */
+@Service
+public class AdwebThemeServiceImpl extends ServiceImpl<AdwebThemeMapper, AdwebTheme> implements IAdwebThemeService {
+
+}

+ 3 - 3
jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml

@@ -166,9 +166,9 @@ spring:
           slow-sql-millis: 5000
       datasource:
         master:
-          url: jdbc:mysql://127.0.0.1:3306/adweb3?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-          username: root
-          password: root
+          url: jdbc:mysql://52.83.163.165:3306/adweb3_dev?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+          username: adweb3_dev
+          password: Advich@2024,.
           driver-class-name: com.mysql.cj.jdbc.Driver
           # 多数据源配置
           #multi-datasource1: