zouxuan 3 年之前
父节点
当前提交
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>