From 3f6229dcb3e1aa75c7882729c04e45bfc382e08a Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期四, 29 八月 2024 16:43:22 +0800
Subject: [PATCH] 优化查询任务计划列表接口(id以string格式传给前端)
---
pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml
index 9a5d3e4..1c2b4b8 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml
@@ -36,7 +36,7 @@
<!--@mbg.generated-->
insert into ba_log
<trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="userId != null and userId !=''">
+ <if test="userId != null">
user_id,
</if>
<if test="userName != null and userName !=''">
@@ -56,7 +56,7 @@
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="userId != null and userId !=''">
+ <if test="userId != null">
#{userId,jdbcType=BIGINT},
</if>
<if test="userName != null and userName !=''">
@@ -82,7 +82,7 @@
<include refid="Base_Column_List" />
from ba_log r
<trim prefix="where " suffixOverrides="and">
- <if test="userId != null and userId != ''">
+ <if test="userId != null">
user_id = #{userId,jdbcType=BIGINT} and
</if>
<if test="userName != null and userName != ''">
@@ -110,7 +110,7 @@
select count(1)
from ba_log r
<trim prefix="where " suffixOverrides="and">
- <if test="userId != null and userId != ''">
+ <if test="userId != null">
user_id = #{userId,jdbcType=BIGINT} and
</if>
<if test="userName != null and userName != ''">
--
Gitblit v1.8.0