chenzhengming 2 years ago
parent
commit
9819017539
17 changed files with 256 additions and 230 deletions
  1. 22 12
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/IssuerController.java
  2. 23 13
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/PostCollectionsController.java
  3. 23 13
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/PostCollectionsSystemController.java
  4. 1 1
      ruoyi-system/src/main/java/com/ruoyi/system/domain/Issuer.java
  5. 14 15
      ruoyi-system/src/main/java/com/ruoyi/system/domain/PostCollections.java
  6. 15 16
      ruoyi-system/src/main/java/com/ruoyi/system/domain/PostCollectionsSystem.java
  7. 14 14
      ruoyi-system/src/main/java/com/ruoyi/system/mapper/IssuerMapper.java
  8. 15 15
      ruoyi-system/src/main/java/com/ruoyi/system/mapper/PostCollectionsMapper.java
  9. 15 15
      ruoyi-system/src/main/java/com/ruoyi/system/mapper/PostCollectionsSystemMapper.java
  10. 15 15
      ruoyi-system/src/main/java/com/ruoyi/system/service/IIssuerService.java
  11. 16 16
      ruoyi-system/src/main/java/com/ruoyi/system/service/IPostCollectionsService.java
  12. 16 16
      ruoyi-system/src/main/java/com/ruoyi/system/service/IPostCollectionsSystemService.java
  13. 15 15
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/IssuerServiceImpl.java
  14. 16 16
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PostCollectionsServiceImpl.java
  15. 16 16
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PostCollectionsSystemServiceImpl.java
  16. 10 11
      ruoyi-system/src/main/resources/mapper/system/PostCollectionsMapper.xml
  17. 10 11
      ruoyi-system/src/main/resources/mapper/system/PostCollectionsSystemMapper.xml

+ 22 - 12
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/IssuerController.java

@@ -2,6 +2,9 @@ package com.ruoyi.web.controller.system;
 
 import java.util.List;
 import javax.servlet.http.HttpServletResponse;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
@@ -22,11 +25,12 @@ import com.ruoyi.common.utils.poi.ExcelUtil;
 import com.ruoyi.common.core.page.TableDataInfo;
 
 /**
- * 【请填写功能名称】Controller
+ * 发行方Controller
  *
  * @author ruoyi
  * @date 2023-02-14
  */
+@Api(tags = "IssuerController",description = "发行方")
 @RestController
 @RequestMapping("/system/issuer")
 public class IssuerController extends BaseController
@@ -35,8 +39,9 @@ public class IssuerController extends BaseController
     private IIssuerService issuerService;
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询发行方列表
      */
+    @ApiOperation("查询发行方列表")
     @PreAuthorize("@ss.hasPermi('system:issuer:list')")
     @GetMapping("/list")
     public TableDataInfo list(Issuer issuer)
@@ -47,21 +52,23 @@ public class IssuerController extends BaseController
     }
 
     /**
-     * 导出【请填写功能名称】列表
+     * 导出发行方列表
      */
+    @ApiOperation("导出发行方列表")
     @PreAuthorize("@ss.hasPermi('system:issuer:export')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+    @Log(title = "发行方", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, Issuer issuer)
     {
         List<Issuer> list = issuerService.selectIssuerList(issuer);
         ExcelUtil<Issuer> util = new ExcelUtil<Issuer>(Issuer.class);
-        util.exportExcel(response, list, "【请填写功能名称】数据");
+        util.exportExcel(response, list, "发行方数据");
     }
 
     /**
-     * 获取【请填写功能名称】详细信息
+     * 获取发行方详细信息
      */
+    @ApiOperation("获取发行方详细信息")
     @PreAuthorize("@ss.hasPermi('system:issuer:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id)
@@ -70,10 +77,11 @@ public class IssuerController extends BaseController
     }
 
     /**
-     * 新增【请填写功能名称】
+     * 新增发行方
      */
+    @ApiOperation("新增发行方")
     @PreAuthorize("@ss.hasPermi('system:issuer:add')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+    @Log(title = "发行方", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody Issuer issuer)
     {
@@ -81,10 +89,11 @@ public class IssuerController extends BaseController
     }
 
     /**
-     * 修改【请填写功能名称】
+     * 修改发行方
      */
+    @ApiOperation("修改发行方")
     @PreAuthorize("@ss.hasPermi('system:issuer:edit')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+    @Log(title = "发行方", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody Issuer issuer)
     {
@@ -92,10 +101,11 @@ public class IssuerController extends BaseController
     }
 
     /**
-     * 删除【请填写功能名称】
+     * 删除发行方
      */
+    @ApiOperation("删除发行方")
     @PreAuthorize("@ss.hasPermi('system:issuer:remove')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+    @Log(title = "发行方", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids)
     {

+ 23 - 13
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/PostCollectionsController.java

@@ -2,6 +2,9 @@ package com.ruoyi.web.controller.system;
 
 import java.util.List;
 import javax.servlet.http.HttpServletResponse;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
@@ -22,11 +25,12 @@ import com.ruoyi.common.utils.poi.ExcelUtil;
 import com.ruoyi.common.core.page.TableDataInfo;
 
 /**
- * 【请填写功能名称】Controller
+ * 藏品Controller
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
+@Api(tags = "PostCollectionsController",description = "藏品")
 @RestController
 @RequestMapping("/system/collections")
 public class PostCollectionsController extends BaseController
@@ -35,8 +39,9 @@ public class PostCollectionsController extends BaseController
     private IPostCollectionsService postCollectionsService;
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询藏品列表
      */
+    @ApiOperation("查询藏品列表")
     @PreAuthorize("@ss.hasPermi('system:collections:list')")
     @GetMapping("/list")
     public TableDataInfo list(PostCollections postCollections)
@@ -47,21 +52,23 @@ public class PostCollectionsController extends BaseController
     }
 
     /**
-     * 导出【请填写功能名称】列表
+     * 导出藏品列表
      */
+    @ApiOperation("导入藏品")
     @PreAuthorize("@ss.hasPermi('system:collections:export')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+    @Log(title = "藏品", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, PostCollections postCollections)
     {
         List<PostCollections> list = postCollectionsService.selectPostCollectionsList(postCollections);
         ExcelUtil<PostCollections> util = new ExcelUtil<PostCollections>(PostCollections.class);
-        util.exportExcel(response, list, "【请填写功能名称】数据");
+        util.exportExcel(response, list, "藏品数据");
     }
 
     /**
-     * 获取【请填写功能名称】详细信息
+     * 获取藏品详细信息
      */
+    @ApiOperation("获取藏品详细信息")
     @PreAuthorize("@ss.hasPermi('system:collections:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id)
@@ -70,10 +77,11 @@ public class PostCollectionsController extends BaseController
     }
 
     /**
-     * 新增【请填写功能名称】
+     * 新增藏品
      */
+    @ApiOperation("新增藏品")
     @PreAuthorize("@ss.hasPermi('system:collections:add')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+    @Log(title = "藏品", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody PostCollections postCollections)
     {
@@ -81,10 +89,11 @@ public class PostCollectionsController extends BaseController
     }
 
     /**
-     * 修改【请填写功能名称】
+     * 修改藏品
      */
+    @ApiOperation("修改藏品")
     @PreAuthorize("@ss.hasPermi('system:collections:edit')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+    @Log(title = "藏品", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody PostCollections postCollections)
     {
@@ -92,10 +101,11 @@ public class PostCollectionsController extends BaseController
     }
 
     /**
-     * 删除【请填写功能名称】
+     * 删除藏品
      */
+    @ApiOperation("删除藏品")
     @PreAuthorize("@ss.hasPermi('system:collections:remove')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+    @Log(title = "藏品", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids)
     {

+ 23 - 13
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/PostCollectionsSystemController.java

@@ -2,6 +2,9 @@ package com.ruoyi.web.controller.system;
 
 import java.util.List;
 import javax.servlet.http.HttpServletResponse;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
@@ -22,11 +25,12 @@ import com.ruoyi.common.utils.poi.ExcelUtil;
 import com.ruoyi.common.core.page.TableDataInfo;
 
 /**
- * 【请填写功能名称】Controller
+ * 藏品套系Controller
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
+@Api(tags = "PostCollectionsSystemController",description = "藏品套系")
 @RestController
 @RequestMapping("/system/system")
 public class PostCollectionsSystemController extends BaseController
@@ -35,8 +39,9 @@ public class PostCollectionsSystemController extends BaseController
     private IPostCollectionsSystemService postCollectionsSystemService;
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询藏品套系列表
      */
+    @ApiOperation("查询藏品套系列表")
     @PreAuthorize("@ss.hasPermi('system:system:list')")
     @GetMapping("/list")
     public TableDataInfo list(PostCollectionsSystem postCollectionsSystem)
@@ -47,21 +52,23 @@ public class PostCollectionsSystemController extends BaseController
     }
 
     /**
-     * 导出【请填写功能名称】列表
+     * 导出藏品套系列表
      */
+    @ApiOperation("导入藏品套系列表")
     @PreAuthorize("@ss.hasPermi('system:system:export')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+    @Log(title = "藏品套系", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, PostCollectionsSystem postCollectionsSystem)
     {
         List<PostCollectionsSystem> list = postCollectionsSystemService.selectPostCollectionsSystemList(postCollectionsSystem);
         ExcelUtil<PostCollectionsSystem> util = new ExcelUtil<PostCollectionsSystem>(PostCollectionsSystem.class);
-        util.exportExcel(response, list, "【请填写功能名称】数据");
+        util.exportExcel(response, list, "藏品套系数据");
     }
 
     /**
-     * 获取【请填写功能名称】详细信息
+     * 获取藏品套系详细信息
      */
+    @ApiOperation("获取藏品套系详细信息")
     @PreAuthorize("@ss.hasPermi('system:system:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id)
@@ -70,10 +77,11 @@ public class PostCollectionsSystemController extends BaseController
     }
 
     /**
-     * 新增【请填写功能名称】
+     * 新增藏品套系
      */
+    @ApiOperation("新增藏品套系")
     @PreAuthorize("@ss.hasPermi('system:system:add')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+    @Log(title = "藏品套系", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody PostCollectionsSystem postCollectionsSystem)
     {
@@ -81,10 +89,11 @@ public class PostCollectionsSystemController extends BaseController
     }
 
     /**
-     * 修改【请填写功能名称】
+     * 修改藏品套系
      */
+    @ApiOperation("修改藏品套系")
     @PreAuthorize("@ss.hasPermi('system:system:edit')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+    @Log(title = "藏品套系", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody PostCollectionsSystem postCollectionsSystem)
     {
@@ -92,10 +101,11 @@ public class PostCollectionsSystemController extends BaseController
     }
 
     /**
-     * 删除【请填写功能名称】
+     * 删除藏品套系
      */
+    @ApiOperation("删除藏品套系")
     @PreAuthorize("@ss.hasPermi('system:system:remove')")
-    @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+    @Log(title = "藏品套系", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids)
     {

+ 1 - 1
ruoyi-system/src/main/java/com/ruoyi/system/domain/Issuer.java

@@ -6,7 +6,7 @@ import com.ruoyi.common.annotation.Excel;
 import com.ruoyi.common.core.domain.BaseEntity;
 
 /**
- * 【请填写功能名称】对象 issuer
+ * 发行方对象 issuer
  *
  * @author ruoyi
  * @date 2023-02-14

+ 14 - 15
ruoyi-system/src/main/java/com/ruoyi/system/domain/PostCollections.java

@@ -8,10 +8,10 @@ import com.ruoyi.common.annotation.Excel;
 import com.ruoyi.common.core.domain.BaseEntity;
 
 /**
- * 【请填写功能名称】对象 post_collections
+ * 藏品对象 post_collections
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
 public class PostCollections extends BaseEntity
 {
@@ -44,7 +44,7 @@ public class PostCollections extends BaseEntity
 
     /** 0 未上架 1 已上架 */
     @Excel(name = "0 未上架 1 已上架")
-    private Long state;
+    private String status;
 
     /** 藏品数量 */
     @Excel(name = "藏品数量")
@@ -67,8 +67,7 @@ public class PostCollections extends BaseEntity
     private String updateUser;
 
     /** 0 不删除 1 删除 */
-    @Excel(name = "0 不删除 1 删除")
-    private Long isDeleted;
+    private String delFlag;
 
     public void setId(Long id)
     {
@@ -124,14 +123,14 @@ public class PostCollections extends BaseEntity
     {
         return endTime;
     }
-    public void setState(Long state)
+    public void setStatus(String status)
     {
-        this.state = state;
+        this.status = status;
     }
 
-    public Long getState()
+    public String getStatus()
     {
-        return state;
+        return status;
     }
     public void setCollectionsNumber(Long collectionsNumber)
     {
@@ -178,14 +177,14 @@ public class PostCollections extends BaseEntity
     {
         return updateUser;
     }
-    public void setIsDeleted(Long isDeleted)
+    public void setDelFlag(String delFlag)
     {
-        this.isDeleted = isDeleted;
+        this.delFlag = delFlag;
     }
 
-    public Long getIsDeleted()
+    public String getDelFlag()
     {
-        return isDeleted;
+        return delFlag;
     }
 
     @Override
@@ -197,7 +196,7 @@ public class PostCollections extends BaseEntity
                 .append("name", getName())
                 .append("startTime", getStartTime())
                 .append("endTime", getEndTime())
-                .append("state", getState())
+                .append("status", getStatus())
                 .append("collectionsNumber", getCollectionsNumber())
                 .append("collectionsStory", getCollectionsStory())
                 .append("image", getImage())
@@ -205,7 +204,7 @@ public class PostCollections extends BaseEntity
                 .append("updateTime", getUpdateTime())
                 .append("createUser", getCreateUser())
                 .append("updateUser", getUpdateUser())
-                .append("isDeleted", getIsDeleted())
+                .append("delFlag", getDelFlag())
                 .toString();
     }
 }

+ 15 - 16
ruoyi-system/src/main/java/com/ruoyi/system/domain/PostCollectionsSystem.java

@@ -8,10 +8,10 @@ import com.ruoyi.common.annotation.Excel;
 import com.ruoyi.common.core.domain.BaseEntity;
 
 /**
- * 【请填写功能名称】对象 post_collections_system
+ * 藏品套系对象 post_collections_system
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
 public class PostCollectionsSystem extends BaseEntity
 {
@@ -44,7 +44,7 @@ public class PostCollectionsSystem extends BaseEntity
 
     /** 0 未上架 1 已上架 */
     @Excel(name = "0 未上架 1 已上架")
-    private Long state;
+    private String status;
 
     /** 藏品套系图片储存地址 */
     @Excel(name = "藏品套系图片储存地址")
@@ -62,9 +62,8 @@ public class PostCollectionsSystem extends BaseEntity
     @Excel(name = "更新者")
     private String updateUser;
 
-    /** 0 不删除 1 删除 */
-    @Excel(name = "0 不删除 1 删除")
-    private Long isDeleted;
+    /** 删除标志 (0不删除 1删除) */
+    private String delFlag;
 
     public void setId(Long id)
     {
@@ -120,14 +119,14 @@ public class PostCollectionsSystem extends BaseEntity
     {
         return systemNumber;
     }
-    public void setState(Long state)
+    public void setStatus(String status)
     {
-        this.state = state;
+        this.status = status;
     }
 
-    public Long getState()
+    public String getStatus()
     {
-        return state;
+        return status;
     }
     public void setImage(String image)
     {
@@ -165,14 +164,14 @@ public class PostCollectionsSystem extends BaseEntity
     {
         return updateUser;
     }
-    public void setIsDeleted(Long isDeleted)
+    public void setDelFlag(String delFlag)
     {
-        this.isDeleted = isDeleted;
+        this.delFlag = delFlag;
     }
 
-    public Long getIsDeleted()
+    public String getDelFlag()
     {
-        return isDeleted;
+        return delFlag;
     }
 
     @Override
@@ -185,13 +184,13 @@ public class PostCollectionsSystem extends BaseEntity
                 .append("startTime", getStartTime())
                 .append("endTime", getEndTime())
                 .append("systemNumber", getSystemNumber())
-                .append("state", getState())
+                .append("status", getStatus())
                 .append("image", getImage())
                 .append("giftExchange", getGiftExchange())
                 .append("updateTime", getUpdateTime())
                 .append("createUser", getCreateUser())
                 .append("updateUser", getUpdateUser())
-                .append("isDeleted", getIsDeleted())
+                .append("delFlag", getDelFlag())
                 .toString();
     }
 }

+ 14 - 14
ruoyi-system/src/main/java/com/ruoyi/system/mapper/IssuerMapper.java

@@ -4,7 +4,7 @@ import java.util.List;
 import com.ruoyi.system.domain.Issuer;
 
 /**
- * 【请填写功能名称】Mapper接口
+ * 发行方Mapper接口
  *
  * @author ruoyi
  * @date 2023-02-14
@@ -12,47 +12,47 @@ import com.ruoyi.system.domain.Issuer;
 public interface IssuerMapper
 {
     /**
-     * 查询【请填写功能名称】
+     * 查询发行方
      *
-     * @param id 【请填写功能名称】主键
-     * @return 【请填写功能名称】
+     * @param id 发行方主键
+     * @return 发行方
      */
     public Issuer selectIssuerById(Long id);
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询发行方列表
      *
-     * @param issuer 【请填写功能名称】
-     * @return 【请填写功能名称】集合
+     * @param issuer 发行方
+     * @return 发行方集合
      */
     public List<Issuer> selectIssuerList(Issuer issuer);
 
     /**
-     * 新增【请填写功能名称】
+     * 新增发行方
      *
-     * @param issuer 【请填写功能名称】
+     * @param issuer 发行方
      * @return 结果
      */
     public int insertIssuer(Issuer issuer);
 
     /**
-     * 修改【请填写功能名称】
+     * 修改发行方
      *
-     * @param issuer 【请填写功能名称】
+     * @param issuer 发行方
      * @return 结果
      */
     public int updateIssuer(Issuer issuer);
 
     /**
-     * 删除【请填写功能名称】
+     * 删除发行方
      *
-     * @param id 【请填写功能名称】主键
+     * @param id 发行方主键
      * @return 结果
      */
     public int deleteIssuerById(Long id);
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除发行方
      *
      * @param ids 需要删除的数据主键集合
      * @return 结果

+ 15 - 15
ruoyi-system/src/main/java/com/ruoyi/system/mapper/PostCollectionsMapper.java

@@ -4,55 +4,55 @@ import java.util.List;
 import com.ruoyi.system.domain.PostCollections;
 
 /**
- * 【请填写功能名称】Mapper接口
+ * 藏品Mapper接口
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
 public interface PostCollectionsMapper
 {
     /**
-     * 查询【请填写功能名称】
+     * 查询藏品
      *
-     * @param id 【请填写功能名称】主键
-     * @return 【请填写功能名称】
+     * @param id 藏品主键
+     * @return 藏品
      */
     public PostCollections selectPostCollectionsById(Long id);
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询藏品列表
      *
-     * @param postCollections 【请填写功能名称】
-     * @return 【请填写功能名称】集合
+     * @param postCollections 藏品
+     * @return 藏品集合
      */
     public List<PostCollections> selectPostCollectionsList(PostCollections postCollections);
 
     /**
-     * 新增【请填写功能名称】
+     * 新增藏品
      *
-     * @param postCollections 【请填写功能名称】
+     * @param postCollections 藏品
      * @return 结果
      */
     public int insertPostCollections(PostCollections postCollections);
 
     /**
-     * 修改【请填写功能名称】
+     * 修改藏品
      *
-     * @param postCollections 【请填写功能名称】
+     * @param postCollections 藏品
      * @return 结果
      */
     public int updatePostCollections(PostCollections postCollections);
 
     /**
-     * 删除【请填写功能名称】
+     * 删除藏品
      *
-     * @param id 【请填写功能名称】主键
+     * @param id 藏品主键
      * @return 结果
      */
     public int deletePostCollectionsById(Long id);
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除藏品
      *
      * @param ids 需要删除的数据主键集合
      * @return 结果

+ 15 - 15
ruoyi-system/src/main/java/com/ruoyi/system/mapper/PostCollectionsSystemMapper.java

@@ -4,55 +4,55 @@ import java.util.List;
 import com.ruoyi.system.domain.PostCollectionsSystem;
 
 /**
- * 【请填写功能名称】Mapper接口
+ * 藏品套系Mapper接口
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
 public interface PostCollectionsSystemMapper
 {
     /**
-     * 查询【请填写功能名称】
+     * 查询藏品套系
      *
-     * @param id 【请填写功能名称】主键
-     * @return 【请填写功能名称】
+     * @param id 藏品套系主键
+     * @return 藏品套系
      */
     public PostCollectionsSystem selectPostCollectionsSystemById(Long id);
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询藏品套系列表
      *
-     * @param postCollectionsSystem 【请填写功能名称】
-     * @return 【请填写功能名称】集合
+     * @param postCollectionsSystem 藏品套系
+     * @return 藏品套系集合
      */
     public List<PostCollectionsSystem> selectPostCollectionsSystemList(PostCollectionsSystem postCollectionsSystem);
 
     /**
-     * 新增【请填写功能名称】
+     * 新增藏品套系
      *
-     * @param postCollectionsSystem 【请填写功能名称】
+     * @param postCollectionsSystem 藏品套系
      * @return 结果
      */
     public int insertPostCollectionsSystem(PostCollectionsSystem postCollectionsSystem);
 
     /**
-     * 修改【请填写功能名称】
+     * 修改藏品套系
      *
-     * @param postCollectionsSystem 【请填写功能名称】
+     * @param postCollectionsSystem 藏品套系
      * @return 结果
      */
     public int updatePostCollectionsSystem(PostCollectionsSystem postCollectionsSystem);
 
     /**
-     * 删除【请填写功能名称】
+     * 删除藏品套系
      *
-     * @param id 【请填写功能名称】主键
+     * @param id 藏品套系主键
      * @return 结果
      */
     public int deletePostCollectionsSystemById(Long id);
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除藏品套系
      *
      * @param ids 需要删除的数据主键集合
      * @return 结果

+ 15 - 15
ruoyi-system/src/main/java/com/ruoyi/system/service/IIssuerService.java

@@ -4,7 +4,7 @@ import java.util.List;
 import com.ruoyi.system.domain.Issuer;
 
 /**
- * 【请填写功能名称】Service接口
+ * 发行方Service接口
  *
  * @author ruoyi
  * @date 2023-02-14
@@ -12,49 +12,49 @@ import com.ruoyi.system.domain.Issuer;
 public interface IIssuerService
 {
     /**
-     * 查询【请填写功能名称】
+     * 查询发行方
      *
-     * @param id 【请填写功能名称】主键
-     * @return 【请填写功能名称】
+     * @param id 发行方主键
+     * @return 发行方
      */
     public Issuer selectIssuerById(Long id);
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询发行方列表
      *
-     * @param issuer 【请填写功能名称】
-     * @return 【请填写功能名称】集合
+     * @param issuer 发行方
+     * @return 发行方集合
      */
     public List<Issuer> selectIssuerList(Issuer issuer);
 
     /**
-     * 新增【请填写功能名称】
+     * 新增发行方
      *
-     * @param issuer 【请填写功能名称】
+     * @param issuer 发行方
      * @return 结果
      */
     public int insertIssuer(Issuer issuer);
 
     /**
-     * 修改【请填写功能名称】
+     * 修改发行方
      *
-     * @param issuer 【请填写功能名称】
+     * @param issuer 发行方
      * @return 结果
      */
     public int updateIssuer(Issuer issuer);
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除发行方
      *
-     * @param ids 需要删除的【请填写功能名称】主键集合
+     * @param ids 需要删除的发行方主键集合
      * @return 结果
      */
     public int deleteIssuerByIds(Long[] ids);
 
     /**
-     * 删除【请填写功能名称】信息
+     * 删除发行方信息
      *
-     * @param id 【请填写功能名称】主键
+     * @param id 发行方主键
      * @return 结果
      */
     public int deleteIssuerById(Long id);

+ 16 - 16
ruoyi-system/src/main/java/com/ruoyi/system/service/IPostCollectionsService.java

@@ -4,57 +4,57 @@ import java.util.List;
 import com.ruoyi.system.domain.PostCollections;
 
 /**
- * 【请填写功能名称】Service接口
+ * 藏品Service接口
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
 public interface IPostCollectionsService
 {
     /**
-     * 查询【请填写功能名称】
+     * 查询藏品
      *
-     * @param id 【请填写功能名称】主键
-     * @return 【请填写功能名称】
+     * @param id 藏品主键
+     * @return 藏品
      */
     public PostCollections selectPostCollectionsById(Long id);
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询藏品列表
      *
-     * @param postCollections 【请填写功能名称】
-     * @return 【请填写功能名称】集合
+     * @param postCollections 藏品
+     * @return 藏品集合
      */
     public List<PostCollections> selectPostCollectionsList(PostCollections postCollections);
 
     /**
-     * 新增【请填写功能名称】
+     * 新增藏品
      *
-     * @param postCollections 【请填写功能名称】
+     * @param postCollections 藏品
      * @return 结果
      */
     public int insertPostCollections(PostCollections postCollections);
 
     /**
-     * 修改【请填写功能名称】
+     * 修改藏品
      *
-     * @param postCollections 【请填写功能名称】
+     * @param postCollections 藏品
      * @return 结果
      */
     public int updatePostCollections(PostCollections postCollections);
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除藏品
      *
-     * @param ids 需要删除的【请填写功能名称】主键集合
+     * @param ids 需要删除的藏品主键集合
      * @return 结果
      */
     public int deletePostCollectionsByIds(Long[] ids);
 
     /**
-     * 删除【请填写功能名称】信息
+     * 删除藏品信息
      *
-     * @param id 【请填写功能名称】主键
+     * @param id 藏品主键
      * @return 结果
      */
     public int deletePostCollectionsById(Long id);

+ 16 - 16
ruoyi-system/src/main/java/com/ruoyi/system/service/IPostCollectionsSystemService.java

@@ -4,57 +4,57 @@ import java.util.List;
 import com.ruoyi.system.domain.PostCollectionsSystem;
 
 /**
- * 【请填写功能名称】Service接口
+ * 藏品套系Service接口
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
 public interface IPostCollectionsSystemService
 {
     /**
-     * 查询【请填写功能名称】
+     * 查询藏品套系
      *
-     * @param id 【请填写功能名称】主键
-     * @return 【请填写功能名称】
+     * @param id 藏品套系主键
+     * @return 藏品套系
      */
     public PostCollectionsSystem selectPostCollectionsSystemById(Long id);
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询藏品套系列表
      *
-     * @param postCollectionsSystem 【请填写功能名称】
-     * @return 【请填写功能名称】集合
+     * @param postCollectionsSystem 藏品套系
+     * @return 藏品套系集合
      */
     public List<PostCollectionsSystem> selectPostCollectionsSystemList(PostCollectionsSystem postCollectionsSystem);
 
     /**
-     * 新增【请填写功能名称】
+     * 新增藏品套系
      *
-     * @param postCollectionsSystem 【请填写功能名称】
+     * @param postCollectionsSystem 藏品套系
      * @return 结果
      */
     public int insertPostCollectionsSystem(PostCollectionsSystem postCollectionsSystem);
 
     /**
-     * 修改【请填写功能名称】
+     * 修改藏品套系
      *
-     * @param postCollectionsSystem 【请填写功能名称】
+     * @param postCollectionsSystem 藏品套系
      * @return 结果
      */
     public int updatePostCollectionsSystem(PostCollectionsSystem postCollectionsSystem);
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除藏品套系
      *
-     * @param ids 需要删除的【请填写功能名称】主键集合
+     * @param ids 需要删除的藏品套系主键集合
      * @return 结果
      */
     public int deletePostCollectionsSystemByIds(Long[] ids);
 
     /**
-     * 删除【请填写功能名称】信息
+     * 删除藏品套系信息
      *
-     * @param id 【请填写功能名称】主键
+     * @param id 藏品套系主键
      * @return 结果
      */
     public int deletePostCollectionsSystemById(Long id);

+ 15 - 15
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/IssuerServiceImpl.java

@@ -9,7 +9,7 @@ import com.ruoyi.system.domain.Issuer;
 import com.ruoyi.system.service.IIssuerService;
 
 /**
- * 【请填写功能名称】Service业务层处理
+ * 发行方Service业务层处理
  *
  * @author ruoyi
  * @date 2023-02-14
@@ -21,10 +21,10 @@ public class IssuerServiceImpl implements IIssuerService
     private IssuerMapper issuerMapper;
 
     /**
-     * 查询【请填写功能名称】
+     * 查询发行方
      *
-     * @param id 【请填写功能名称】主键
-     * @return 【请填写功能名称】
+     * @param id 发行方主键
+     * @return 发行方
      */
     @Override
     public Issuer selectIssuerById(Long id)
@@ -33,10 +33,10 @@ public class IssuerServiceImpl implements IIssuerService
     }
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询发行方列表
      *
-     * @param issuer 【请填写功能名称】
-     * @return 【请填写功能名称】
+     * @param issuer 发行方
+     * @return 发行方
      */
     @Override
     public List<Issuer> selectIssuerList(Issuer issuer)
@@ -45,9 +45,9 @@ public class IssuerServiceImpl implements IIssuerService
     }
 
     /**
-     * 新增【请填写功能名称】
+     * 新增发行方
      *
-     * @param issuer 【请填写功能名称】
+     * @param issuer 发行方
      * @return 结果
      */
     @Override
@@ -58,9 +58,9 @@ public class IssuerServiceImpl implements IIssuerService
     }
 
     /**
-     * 修改【请填写功能名称】
+     * 修改发行方
      *
-     * @param issuer 【请填写功能名称】
+     * @param issuer 发行方
      * @return 结果
      */
     @Override
@@ -71,9 +71,9 @@ public class IssuerServiceImpl implements IIssuerService
     }
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除发行方
      *
-     * @param ids 需要删除的【请填写功能名称】主键
+     * @param ids 需要删除的发行方主键
      * @return 结果
      */
     @Override
@@ -83,9 +83,9 @@ public class IssuerServiceImpl implements IIssuerService
     }
 
     /**
-     * 删除【请填写功能名称】信息
+     * 删除发行方信息
      *
-     * @param id 【请填写功能名称】主键
+     * @param id 发行方主键
      * @return 结果
      */
     @Override

+ 16 - 16
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PostCollectionsServiceImpl.java

@@ -9,10 +9,10 @@ import com.ruoyi.system.domain.PostCollections;
 import com.ruoyi.system.service.IPostCollectionsService;
 
 /**
- * 【请填写功能名称】Service业务层处理
+ * 藏品Service业务层处理
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
 @Service
 public class PostCollectionsServiceImpl implements IPostCollectionsService
@@ -21,10 +21,10 @@ public class PostCollectionsServiceImpl implements IPostCollectionsService
     private PostCollectionsMapper postCollectionsMapper;
 
     /**
-     * 查询【请填写功能名称】
+     * 查询藏品
      *
-     * @param id 【请填写功能名称】主键
-     * @return 【请填写功能名称】
+     * @param id 藏品主键
+     * @return 藏品
      */
     @Override
     public PostCollections selectPostCollectionsById(Long id)
@@ -33,10 +33,10 @@ public class PostCollectionsServiceImpl implements IPostCollectionsService
     }
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询藏品列表
      *
-     * @param postCollections 【请填写功能名称】
-     * @return 【请填写功能名称】
+     * @param postCollections 藏品
+     * @return 藏品
      */
     @Override
     public List<PostCollections> selectPostCollectionsList(PostCollections postCollections)
@@ -45,9 +45,9 @@ public class PostCollectionsServiceImpl implements IPostCollectionsService
     }
 
     /**
-     * 新增【请填写功能名称】
+     * 新增藏品
      *
-     * @param postCollections 【请填写功能名称】
+     * @param postCollections 藏品
      * @return 结果
      */
     @Override
@@ -58,9 +58,9 @@ public class PostCollectionsServiceImpl implements IPostCollectionsService
     }
 
     /**
-     * 修改【请填写功能名称】
+     * 修改藏品
      *
-     * @param postCollections 【请填写功能名称】
+     * @param postCollections 藏品
      * @return 结果
      */
     @Override
@@ -71,9 +71,9 @@ public class PostCollectionsServiceImpl implements IPostCollectionsService
     }
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除藏品
      *
-     * @param ids 需要删除的【请填写功能名称】主键
+     * @param ids 需要删除的藏品主键
      * @return 结果
      */
     @Override
@@ -83,9 +83,9 @@ public class PostCollectionsServiceImpl implements IPostCollectionsService
     }
 
     /**
-     * 删除【请填写功能名称】信息
+     * 删除藏品信息
      *
-     * @param id 【请填写功能名称】主键
+     * @param id 藏品主键
      * @return 结果
      */
     @Override

+ 16 - 16
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PostCollectionsSystemServiceImpl.java

@@ -9,10 +9,10 @@ import com.ruoyi.system.domain.PostCollectionsSystem;
 import com.ruoyi.system.service.IPostCollectionsSystemService;
 
 /**
- * 【请填写功能名称】Service业务层处理
+ * 藏品套系Service业务层处理
  *
  * @author ruoyi
- * @date 2023-02-14
+ * @date 2023-02-15
  */
 @Service
 public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemService
@@ -21,10 +21,10 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
     private PostCollectionsSystemMapper postCollectionsSystemMapper;
 
     /**
-     * 查询【请填写功能名称】
+     * 查询藏品套系
      *
-     * @param id 【请填写功能名称】主键
-     * @return 【请填写功能名称】
+     * @param id 藏品套系主键
+     * @return 藏品套系
      */
     @Override
     public PostCollectionsSystem selectPostCollectionsSystemById(Long id)
@@ -33,10 +33,10 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
     }
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询藏品套系列表
      *
-     * @param postCollectionsSystem 【请填写功能名称】
-     * @return 【请填写功能名称】
+     * @param postCollectionsSystem 藏品套系
+     * @return 藏品套系
      */
     @Override
     public List<PostCollectionsSystem> selectPostCollectionsSystemList(PostCollectionsSystem postCollectionsSystem)
@@ -45,9 +45,9 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
     }
 
     /**
-     * 新增【请填写功能名称】
+     * 新增藏品套系
      *
-     * @param postCollectionsSystem 【请填写功能名称】
+     * @param postCollectionsSystem 藏品套系
      * @return 结果
      */
     @Override
@@ -58,9 +58,9 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
     }
 
     /**
-     * 修改【请填写功能名称】
+     * 修改藏品套系
      *
-     * @param postCollectionsSystem 【请填写功能名称】
+     * @param postCollectionsSystem 藏品套系
      * @return 结果
      */
     @Override
@@ -71,9 +71,9 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
     }
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除藏品套系
      *
-     * @param ids 需要删除的【请填写功能名称】主键
+     * @param ids 需要删除的藏品套系主键
      * @return 结果
      */
     @Override
@@ -83,9 +83,9 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
     }
 
     /**
-     * 删除【请填写功能名称】信息
+     * 删除藏品套系信息
      *
-     * @param id 【请填写功能名称】主键
+     * @param id 藏品套系主键
      * @return 结果
      */
     @Override

+ 10 - 11
ruoyi-system/src/main/resources/mapper/system/PostCollectionsMapper.xml

@@ -11,7 +11,7 @@
         <result property="name"    column="name"    />
         <result property="startTime"    column="start_time"    />
         <result property="endTime"    column="end_time"    />
-        <result property="state"    column="state"    />
+        <result property="status"    column="status"    />
         <result property="collectionsNumber"    column="collections_number"    />
         <result property="collectionsStory"    column="collections_story"    />
         <result property="image"    column="image"    />
@@ -19,11 +19,11 @@
         <result property="updateTime"    column="update_time"    />
         <result property="createUser"    column="create_user"    />
         <result property="updateUser"    column="update_user"    />
-        <result property="isDeleted"    column="is_deleted"    />
+        <result property="delFlag"    column="del_flag"    />
     </resultMap>
 
     <sql id="selectPostCollectionsVo">
-        select id, system_id, issuer_id, name, start_time, end_time, state, collections_number, collections_story, image, create_time, update_time, create_user, update_user, is_deleted from post_collections
+        select id, system_id, issuer_id, name, start_time, end_time, status, collections_number, collections_story, image, create_time, update_time, create_user, update_user, del_flag from post_collections
     </sql>
 
     <select id="selectPostCollectionsList" parameterType="PostCollections" resultMap="PostCollectionsResult">
@@ -34,13 +34,12 @@
             <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
             <if test="startTime != null "> and start_time = #{startTime}</if>
             <if test="endTime != null "> and end_time = #{endTime}</if>
-            <if test="state != null "> and state = #{state}</if>
+            <if test="status != null  and status != ''"> and status = #{status}</if>
             <if test="collectionsNumber != null "> and collections_number = #{collectionsNumber}</if>
             <if test="collectionsStory != null  and collectionsStory != ''"> and collections_story = #{collectionsStory}</if>
             <if test="image != null  and image != ''"> and image = #{image}</if>
             <if test="createUser != null  and createUser != ''"> and create_user = #{createUser}</if>
             <if test="updateUser != null  and updateUser != ''"> and update_user = #{updateUser}</if>
-            <if test="isDeleted != null "> and is_deleted = #{isDeleted}</if>
         </where>
     </select>
 
@@ -57,7 +56,7 @@
             <if test="name != null">name,</if>
             <if test="startTime != null">start_time,</if>
             <if test="endTime != null">end_time,</if>
-            <if test="state != null">state,</if>
+            <if test="status != null">status,</if>
             <if test="collectionsNumber != null">collections_number,</if>
             <if test="collectionsStory != null">collections_story,</if>
             <if test="image != null">image,</if>
@@ -65,7 +64,7 @@
             <if test="updateTime != null">update_time,</if>
             <if test="createUser != null">create_user,</if>
             <if test="updateUser != null">update_user,</if>
-            <if test="isDeleted != null">is_deleted,</if>
+            <if test="delFlag != null">del_flag,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="systemId != null">#{systemId},</if>
@@ -73,7 +72,7 @@
             <if test="name != null">#{name},</if>
             <if test="startTime != null">#{startTime},</if>
             <if test="endTime != null">#{endTime},</if>
-            <if test="state != null">#{state},</if>
+            <if test="status != null">#{status},</if>
             <if test="collectionsNumber != null">#{collectionsNumber},</if>
             <if test="collectionsStory != null">#{collectionsStory},</if>
             <if test="image != null">#{image},</if>
@@ -81,7 +80,7 @@
             <if test="updateTime != null">#{updateTime},</if>
             <if test="createUser != null">#{createUser},</if>
             <if test="updateUser != null">#{updateUser},</if>
-            <if test="isDeleted != null">#{isDeleted},</if>
+            <if test="delFlag != null">#{delFlag},</if>
         </trim>
     </insert>
 
@@ -93,7 +92,7 @@
             <if test="name != null">name = #{name},</if>
             <if test="startTime != null">start_time = #{startTime},</if>
             <if test="endTime != null">end_time = #{endTime},</if>
-            <if test="state != null">state = #{state},</if>
+            <if test="status != null">status = #{status},</if>
             <if test="collectionsNumber != null">collections_number = #{collectionsNumber},</if>
             <if test="collectionsStory != null">collections_story = #{collectionsStory},</if>
             <if test="image != null">image = #{image},</if>
@@ -101,7 +100,7 @@
             <if test="updateTime != null">update_time = #{updateTime},</if>
             <if test="createUser != null">create_user = #{createUser},</if>
             <if test="updateUser != null">update_user = #{updateUser},</if>
-            <if test="isDeleted != null">is_deleted = #{isDeleted},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
         </trim>
         where id = #{id}
     </update>

+ 10 - 11
ruoyi-system/src/main/resources/mapper/system/PostCollectionsSystemMapper.xml

@@ -12,17 +12,17 @@
         <result property="startTime"    column="start_time"    />
         <result property="endTime"    column="end_time"    />
         <result property="systemNumber"    column="system_number"    />
-        <result property="state"    column="state"    />
+        <result property="status"    column="status"    />
         <result property="image"    column="image"    />
         <result property="giftExchange"    column="gift_exchange"    />
         <result property="updateTime"    column="update_time"    />
         <result property="createUser"    column="create_user"    />
         <result property="updateUser"    column="update_user"    />
-        <result property="isDeleted"    column="is_deleted"    />
+        <result property="delFlag"    column="del_flag"    />
     </resultMap>
 
     <sql id="selectPostCollectionsSystemVo">
-        select id, type, name, create_time, start_time, end_time, system_number, state, image, gift_exchange, update_time, create_user, update_user, is_deleted from post_collections_system
+        select id, type, name, create_time, start_time, end_time, system_number, status, image, gift_exchange, update_time, create_user, update_user, del_flag from post_collections_system
     </sql>
 
     <select id="selectPostCollectionsSystemList" parameterType="PostCollectionsSystem" resultMap="PostCollectionsSystemResult">
@@ -33,12 +33,11 @@
             <if test="startTime != null "> and start_time = #{startTime}</if>
             <if test="endTime != null "> and end_time = #{endTime}</if>
             <if test="systemNumber != null "> and system_number = #{systemNumber}</if>
-            <if test="state != null "> and state = #{state}</if>
+            <if test="status != null  and status != ''"> and status = #{status}</if>
             <if test="image != null  and image != ''"> and image = #{image}</if>
             <if test="giftExchange != null "> and gift_exchange = #{giftExchange}</if>
             <if test="createUser != null  and createUser != ''"> and create_user = #{createUser}</if>
             <if test="updateUser != null  and updateUser != ''"> and update_user = #{updateUser}</if>
-            <if test="isDeleted != null "> and is_deleted = #{isDeleted}</if>
         </where>
     </select>
 
@@ -56,13 +55,13 @@
             <if test="startTime != null">start_time,</if>
             <if test="endTime != null">end_time,</if>
             <if test="systemNumber != null">system_number,</if>
-            <if test="state != null">state,</if>
+            <if test="status != null">status,</if>
             <if test="image != null">image,</if>
             <if test="giftExchange != null">gift_exchange,</if>
             <if test="updateTime != null">update_time,</if>
             <if test="createUser != null">create_user,</if>
             <if test="updateUser != null">update_user,</if>
-            <if test="isDeleted != null">is_deleted,</if>
+            <if test="delFlag != null">del_flag,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="type != null">#{type},</if>
@@ -71,13 +70,13 @@
             <if test="startTime != null">#{startTime},</if>
             <if test="endTime != null">#{endTime},</if>
             <if test="systemNumber != null">#{systemNumber},</if>
-            <if test="state != null">#{state},</if>
+            <if test="status != null">#{status},</if>
             <if test="image != null">#{image},</if>
             <if test="giftExchange != null">#{giftExchange},</if>
             <if test="updateTime != null">#{updateTime},</if>
             <if test="createUser != null">#{createUser},</if>
             <if test="updateUser != null">#{updateUser},</if>
-            <if test="isDeleted != null">#{isDeleted},</if>
+            <if test="delFlag != null">#{delFlag},</if>
         </trim>
     </insert>
 
@@ -90,13 +89,13 @@
             <if test="startTime != null">start_time = #{startTime},</if>
             <if test="endTime != null">end_time = #{endTime},</if>
             <if test="systemNumber != null">system_number = #{systemNumber},</if>
-            <if test="state != null">state = #{state},</if>
+            <if test="status != null">status = #{status},</if>
             <if test="image != null">image = #{image},</if>
             <if test="giftExchange != null">gift_exchange = #{giftExchange},</if>
             <if test="updateTime != null">update_time = #{updateTime},</if>
             <if test="createUser != null">create_user = #{createUser},</if>
             <if test="updateUser != null">update_user = #{updateUser},</if>
-            <if test="isDeleted != null">is_deleted = #{isDeleted},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
         </trim>
         where id = #{id}
     </update>