From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能
---
java110-db/src/main/resources/mapper/user/OwnerAppUserV1ServiceDaoImplMapper.xml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/OwnerAppUserV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerAppUserV1ServiceDaoImplMapper.xml
index 9fcc5a7..d87a92d 100644
--- a/java110-db/src/main/resources/mapper/user/OwnerAppUserV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerAppUserV1ServiceDaoImplMapper.xml
@@ -39,9 +39,6 @@
<if test="statusCd !=null and statusCd != ''">
and t.status_cd= #{statusCd}
</if>
- <if test="userId !=null and userId != ''">
- and t.user_id= #{userId}
- </if>
<if test="appType !=null and appType != ''">
and t.app_type= #{appType}
</if>
@@ -71,6 +68,9 @@
</if>
<if test="memberId !=null and memberId != ''">
and t.member_id= #{memberId}
+ </if>
+ <if test="userId !=null and userId != ''">
+ and t.user_id= #{userId}
</if>
order by t.create_time desc
<if test="page != -1 and page != null ">
@@ -155,9 +155,6 @@
<if test="statusCd !=null and statusCd != ''">
and t.status_cd= #{statusCd}
</if>
- <if test="userId !=null and userId != ''">
- and t.user_id= #{userId}
- </if>
<if test="appType !=null and appType != ''">
and t.app_type= #{appType}
</if>
@@ -188,6 +185,9 @@
<if test="memberId !=null and memberId != ''">
and t.member_id= #{memberId}
</if>
+ <if test="userId !=null and userId != ''">
+ and t.user_id= #{userId}
+ </if>
</select>
--
Gitblit v1.8.0