xhxu 5 лет назад
Родитель
Сommit
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>






Загрузка…
Отмена
Сохранить