|
|
@@ -49,7 +49,7 @@ |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
<sql id="dynamicWhereConditions"> |
|
|
where id > 1 |
|
|
|
|
|
|
|
|
where 1=1 |
|
|
|
|
|
|
|
|
<if test=" null != id "> |
|
|
<if test=" null != id "> |
|
|
and `id` = #{id} |
|
|
and `id` = #{id} |
|
|
@@ -148,6 +148,7 @@ |
|
|
<include refid="allColumns"/> |
|
|
<include refid="allColumns"/> |
|
|
from wx_mall |
|
|
from wx_mall |
|
|
<include refid="dynamicWhereConditions"/> |
|
|
<include refid="dynamicWhereConditions"/> |
|
|
|
|
|
and id > 1 |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|