Browse Source

fix

master
winter 1 year ago
parent
commit
d4154d8928
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

@@ -53,6 +53,8 @@ public class YqzjNews extends TenantEntity {
private Date sendDateEnd;
@TableField(exist = false)
private Integer videHas;
@TableField(exist = false)
private Integer videImageHas;
@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

@@ -68,6 +68,10 @@
and `video` is not null and `video` != ''
</if>
<if test=" videImageHas == 1">
and `video_image` is not null and `video_image` != ''
</if>
<if test=" null != first">
and `first` = #{first}
</if>


Loading…
Cancel
Save