|
@@ -153,7 +153,12 @@
|
|
|
<if test="offlineFlag!=null">
|
|
|
and matInfo.offline_flag = #{offlineFlag}
|
|
|
</if>
|
|
|
- order by matInfo.confirm_time desc
|
|
|
+ <if test="status=1">
|
|
|
+ order by matInfo.confirm_time desc
|
|
|
+ </if>
|
|
|
+ <if test="status!=1">
|
|
|
+ order by matInfo.create_time desc
|
|
|
+ </if>
|
|
|
|
|
|
</select>
|
|
|
<select id="getListByDate" resultType="cn.com.ctop.common.module.entity.MaterialInfo">
|