修改逻辑 审核了就能看到。
This commit is contained in:
parent
102ef245fd
commit
65419a2ca9
|
@ -49,15 +49,6 @@
|
|||
<if test="entityData.disasterId != null and entityData.disasterId != ''">
|
||||
ed.disaster_id = #{entityData.disasterId}
|
||||
</if>
|
||||
<if test="entityData.status != null and entityData.status != ''">
|
||||
and ed.status = #{entityData.status}
|
||||
</if>
|
||||
<if test="entityData.visualFlag != null">
|
||||
and ed.visual_flag = #{entityData.visualFlag}
|
||||
</if>
|
||||
<if test="entityData.isPublish != null">
|
||||
and ed.is_publish = #{entityData.isPublish}
|
||||
</if>
|
||||
<if test="entityData.type != null and entityData.type != ''">
|
||||
and ed.type = #{entityData.type}
|
||||
</if>
|
||||
|
@ -67,6 +58,8 @@
|
|||
<if test="entityData.title != null and entityData.title != ''">
|
||||
and ed.title = concat('%',#{entityData.title},'%')
|
||||
</if>
|
||||
AND ed.is_deleted = 0
|
||||
and ed.status = 1
|
||||
</where>
|
||||
ORDER BY ed.upload_time DESC
|
||||
</select>
|
||||
|
|
Loading…
Reference in New Issue