@@ -741,8 +741,6 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
return fillList(exportList);
}
-
//填充满列表的用户信息
private Map<String,Object> fillList(List<ClassPeriodStudentExportVo> list) {
List<ClassPeriodStudentExportAllVo> newList = new ArrayList<>();
@@ -58,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN goods g ON rg.goods_id = g.goods_id
WHERE
rg.recommend_id = #{recommend_id}
+ ORDER BY rg.sort
</select>
<select id="selectList" parameterType="com.zhongzheng.modules.activity.bo.ActivityRecommendQueryBo" resultMap="ActivityRecommendVoResult">
@@ -342,6 +342,9 @@
LEFT JOIN goods g on cgg.goods_id = g.goods_id
where 1=1
and cgu.`status` =1
+ <if test="periodPlush != null and periodPlush != ''">
+ AND cgu.period_plush = #{periodPlush}
+ </if>
<if test="officialStatus != null and officialStatus != ''">
AND cgu.official_status = #{officialStatus}
</if>