Browse Source

fix

master
winter 1 year ago
parent
commit
46850145ba
2 changed files with 6 additions and 0 deletions
  1. +2
    -0
      yqzjService/src/main/java/com/iformall/domain/po/yqzj/YqzjNews.java
  2. +4
    -0
      yqzjService/src/main/resources/mapper/YqzjNewsMapper.xml

+ 2
- 0
yqzjService/src/main/java/com/iformall/domain/po/yqzj/YqzjNews.java View File

@@ -40,6 +40,8 @@ public class YqzjNews extends TenantEntity {
private Date sendDateBegin;
@TableField(exist = false)
private Date sendDateEnd;
@TableField(exist = false)
private Integer videHas;
@io.swagger.annotations.ApiModelProperty(value="状态 EnumYqzjNewsStatus",name="status")
private Integer status;
@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate")


+ 4
- 0
yqzjService/src/main/resources/mapper/YqzjNewsMapper.xml View File

@@ -61,6 +61,10 @@
<if test=" null != sendDateEnd ">
and `send_date` &lt;= #{sendDateEnd}
</if>
<if test=" videHas == 1">
and `video` is not null and `video` != ''
</if>

<if test=" null != ids ">
and id in


Loading…
Cancel
Save