ソースを参照

sql

release_toaliyun_real
xhxu 5年前
コミット
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>




読み込み中…
キャンセル
保存