zouxuan 3 лет назад
Родитель
Сommit
68a6fa69f8
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      mec-biz/src/main/resources/config/mybatis/LuckDrawPrizeMapper.xml

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

@@ -21,6 +21,9 @@
 
 	<sql id="queryCondition">
 		<where>
+			<if test="enabled != null">
+				and enabled_ = #{enabled}
+			</if>
 			<if test="id != null">
 				and id_ = #{id}
 			</if>