diff --git a/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml b/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml
index 6aa1f2b..60b9b8a 100644
--- a/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml
+++ b/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml
@@ -37,8 +37,8 @@
-
- AND c.is_disable = #{req.templateStatus}
+
+ AND c.is_disable = #{req.isDisable}
@@ -59,7 +59,6 @@
-
@@ -162,24 +161,20 @@
diff --git a/src/main/java/com/huoran/iasf/service/impl/SysContentServiceImpl.java b/src/main/java/com/huoran/iasf/service/impl/SysContentServiceImpl.java
index a12f431..3b12473 100644
--- a/src/main/java/com/huoran/iasf/service/impl/SysContentServiceImpl.java
+++ b/src/main/java/com/huoran/iasf/service/impl/SysContentServiceImpl.java
@@ -61,10 +61,12 @@ public class SysContentServiceImpl extends ServiceImpl pageList = baseMapper.articlePaginationList(page, reqVO);
return R.success(pageList);
}
diff --git a/src/main/java/com/huoran/iasf/vo/req/PageContentReqVO.java b/src/main/java/com/huoran/iasf/vo/req/PageContentReqVO.java
index 53df03f..0c9756e 100644
--- a/src/main/java/com/huoran/iasf/vo/req/PageContentReqVO.java
+++ b/src/main/java/com/huoran/iasf/vo/req/PageContentReqVO.java
@@ -55,8 +55,9 @@ public class PageContentReqVO extends PageReqVO {
@ApiModelProperty(value = "发布时间排序(0默认倒序 1升序)")
private Integer publicationTimeSort;
- @ApiModelProperty(value = "模板状态(0禁用;1启用)")
- private Integer templateStatus;
-
+ /* @ApiModelProperty(value = "模板状态(0禁用;1启用)")
+ private Integer templateStatus;*/
+ @ApiModelProperty(value = "是否禁用(0默认,0启用 1禁用)")
+ private Integer isDisable;
}
\ No newline at end of file