浏览代码

双十一活动

zouxuan 3 年之前
父节点
当前提交
d3ae129c8f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      mec-biz/src/main/resources/config/mybatis/VipGroupActivityMapper.xml

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/VipGroupActivityMapper.xml

@@ -407,6 +407,9 @@
 		<if test="search != null and search != ''">
 		<if test="search != null and search != ''">
 			AND su.id_ = #{search} OR su.username_ LIKE CONCAT('%',#{search},'%') OR spo.order_no_ LIKE CONCAT('%',#{search},'%')
 			AND su.id_ = #{search} OR su.username_ LIKE CONCAT('%',#{search},'%') OR spo.order_no_ LIKE CONCAT('%',#{search},'%')
 		</if>
 		</if>
+		<if test="organId != null and organId != ''">
+			AND FIND_IN_SET(spo.organId_,#{organId})
+		</if>
 		<if test="startTime != null">
 		<if test="startTime != null">
 			AND spo.pay_time_ >= #{startTime}
 			AND spo.pay_time_ >= #{startTime}
 		</if>
 		</if>