Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
72fd1aac
Commit
72fd1aac
authored
Jul 22, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql bug
parent
9e167979
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
HmQrcodeApiServiceImpl.java
...e/service/service/out/impl/hm/HmQrcodeApiServiceImpl.java
+1
-1
TabHaobanHmQrcodeMapper.xml
.../src/main/resources/mapper/hm/TabHaobanHmQrcodeMapper.xml
+3
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/hm/HmQrcodeApiServiceImpl.java
View file @
72fd1aac
...
...
@@ -738,7 +738,7 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
return
(
List
<
String
>)
cache
;
}
List
<
String
>
list
=
hmQrcodeService
.
getHmStoreForWxa
(
wxEnterpriseId
,
enterpriseId
);
RedisUtil
.
setCache
(
key
,
list
,
10
L
,
TimeUnit
.
MINUTES
);
RedisUtil
.
setCache
(
key
,
list
,
5
L
,
TimeUnit
.
MINUTES
);
return
list
;
}
...
...
haoban-manage3-service/src/main/resources/mapper/hm/TabHaobanHmQrcodeMapper.xml
View file @
72fd1aac
...
...
@@ -315,9 +315,9 @@
select store_id storeId,
MIN(over_flag) overFlag
from tab_haoban_hm_qrcode
where 1
where 1
<if
test=
"null != wxEnterpriseId"
>
wx_enterprise_id = #{wxEnterpriseId}
and
wx_enterprise_id = #{wxEnterpriseId}
</if>
and enterprise_id = #{enterpriseId} and status_flag = 1
and store_id is not null
...
...
@@ -329,7 +329,7 @@
from tab_haoban_hm_qrcode
where 1
<if
test=
"null != wxEnterpriseId"
>
wx_enterprise_id = #{wxEnterpriseId}
and
wx_enterprise_id = #{wxEnterpriseId}
</if>
and enterprise_id = #{enterpriseId} and status_flag = 1 and over_flag = 0 and store_id is not null
</select>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment