|
@@ -2068,7 +2068,7 @@
|
|
|
AND m.id = #{majorId}
|
|
|
</if>
|
|
|
<if test="goodsName != null and goodsName !='' ">
|
|
|
- AND g.goods_name like concat('%', #{goodsName}, '%'))
|
|
|
+ AND g.goods_name like concat('%', #{goodsName}, '%')
|
|
|
</if>
|
|
|
<if test="subscribeStatus != null and subscribeStatus == 1">
|
|
|
AND us.subscribe_status = 1 AND (TIME_TO_SEC(us.apply_site_end_time) + us.apply_site_exam_time) > UNIX_TIMESTAMP()
|
|
@@ -2094,5 +2094,6 @@
|
|
|
<if test="applySiteEndTime != null and applySiteEndTime != '' ">
|
|
|
and us.apply_site_end_time = #{applySiteEndTime}
|
|
|
</if>
|
|
|
+ order by us.create_time DESC
|
|
|
</select>
|
|
|
</mapper>
|