xhxu пре 6 година
родитељ
комит
495a0c529f
1 измењених фајлова са 2 додато и 1 уклоњено
  1. +2
    -1
      mallinkService/src/main/resources/mapper/WxMallMapper.xml

+ 2
- 1
mallinkService/src/main/resources/mapper/WxMallMapper.xml Прегледај датотеку

@@ -49,7 +49,7 @@
</sql> </sql>


<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">
where id &gt; 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 &gt; 1
</select> </select>






Loading…
Откажи
Сачувај