From bb0aeb39e302ef4d5b7142d508c8759a4a2f593f Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: Sun, 29 Aug 2021 15:35:06 +0800
Subject: [PATCH] !298 修复带utc日期格式 yyyy-MM-dd'T'HH:mm:ss.SSS 在safari浏览器中无法正确格式化的问题 Merge pull request !298 from wjtc8/N/A
---
ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
index e845b0a..6ac8e7c 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
@@ -64,12 +64,12 @@
<select id="checkPostNameUnique" parameterType="String" resultMap="SysPostResult">
<include refid="selectPostVo"/>
- where post_name=#{postName}
+ where post_name=#{postName} limit 1
</select>
<select id="checkPostCodeUnique" parameterType="String" resultMap="SysPostResult">
<include refid="selectPostVo"/>
- where post_code=#{postCode}
+ where post_code=#{postCode} limit 1
</select>
<update id="updatePost" parameterType="SysPost">
--
Gitblit v1.9.2