zouxuan 3 роки тому
батько
коміт
68a6fa69f8

+ 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>