he2802 3 年之前
父节点
当前提交
048bae7ea2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/grade/UserPeriodMapper.xml

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/grade/UserPeriodMapper.xml

@@ -60,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         FROM
         user_period up
         WHERE
+            1=1
         <if test="goodsId != null and goodsId != ''">
             and up.goods_id = #{goodsId}
         </if>