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

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




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