提交 99b90263 作者: zhenjie

添加业务案例、新闻列表筛选条件

上级 0d62b811
......@@ -51,6 +51,9 @@
<if test="date != null ">
and Date(create_time) = #{date}
</if>
<if test="keyword != null ">
and case_title = #{keyword}
</if>
</select>
<select id="listCasePage" resultType="com.mmc.csf.release.entity.information.IndustryCaseDO" parameterType="com.mmc.csf.infomation.qo.IndustryCaseQO">
......@@ -74,6 +77,9 @@
<if test="date != null ">
and Date(create_time) = #{date}
</if>
<if test="keyword != null ">
and case_title = #{keyword}
</if>
order by create_time desc
limit #{pageNo}, #{pageSize}
</select>
......
......@@ -16,6 +16,9 @@
<if test="date != null ">
and Date(create_time) = #{date}
</if>
<if test="keyword != null ">
and news_title = #{keyword}
</if>
</select>
<select id="listNewsPage" resultType="com.mmc.csf.release.entity.information.IndustryNewsDO"
......@@ -40,6 +43,9 @@
<if test="date != null ">
and Date(create_time) = #{date}
</if>
<if test="keyword != null ">
and news_title = #{keyword}
</if>
order by create_time desc
limit #{pageNo}, #{pageSize}
</select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论