فهرست منبع

乐器sql修改,查询加入逻辑删除标识限制

weifanli 3 سال پیش
والد
کامیت
8aa2398d75
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      cooleshow-user/user-biz/src/main/resources/config/mybatis/SubjectMapper.xml

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/SubjectMapper.xml

@@ -24,7 +24,7 @@
 
     <!-- 全查询 -->
     <select id="findAll" resultMap="Subject">
-		SELECT * FROM subject where del_flag_ = 0 and ORDER BY id_
+		SELECT * FROM subject where del_flag_ = 0 ORDER BY id_
 	</select>
 
     <!-- 向数据库增加一条记录 -->