Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Imagedx
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
VideoAIService
Imagedx
Commits
eb3b49cc
Commit
eb3b49cc
authored
May 14, 2021
by
wangjinjing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/main/resources/static/js/sjcx/sjcx.js
parents
7c820595
7c96f135
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
src/main/java/im/zhaojun/common/config/RedisConfig.java
src/main/java/im/zhaojun/common/config/RedisConfig.java
+1
-1
src/main/resources/mapper/DeptMapper.xml
src/main/resources/mapper/DeptMapper.xml
+5
-5
src/main/resources/mapper/traffdevicewriteresult.xml
src/main/resources/mapper/traffdevicewriteresult.xml
+1
-1
No files found.
src/main/java/im/zhaojun/common/config/
Shiro
Config.java
→
src/main/java/im/zhaojun/common/config/
Redis
Config.java
View file @
eb3b49cc
...
@@ -36,7 +36,7 @@ import java.util.Arrays;
...
@@ -36,7 +36,7 @@ import java.util.Arrays;
import
java.util.Map
;
import
java.util.Map
;
@Configuration
@Configuration
public
class
Shiro
Config
{
public
class
Redis
Config
{
@Resource
@Resource
private
OAuth2Helper
oAuth2Helper
;
private
OAuth2Helper
oAuth2Helper
;
...
...
src/main/resources/mapper/DeptMapper.xml
View file @
eb3b49cc
...
@@ -212,7 +212,7 @@
...
@@ -212,7 +212,7 @@
<select
id=
"listAllvideoIdsByDeptid"
resultType=
"java.util.HashMap"
>
<select
id=
"listAllvideoIdsByDeptid"
resultType=
"java.util.HashMap"
>
select
sbbh||'_'||tdbh
vidoid
select
concat(sbbh,'_',tdbh)
vidoid
from sbtdspsr a
from sbtdspsr a
where a.xzbh in (
where a.xzbh in (
select t1.dept_id
select t1.dept_id
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
limit 1) "deptname",
limit 1) "deptname",
(select tdmc
(select tdmc
from sbtdspsr c
from sbtdspsr c
where
c.sbbh||'_'||tdbh
= b.videoid
where
concat(c.sbbh,'_',tdbh)
= b.videoid
limit 1) "videoname"
limit 1) "videoname"
from deptdefaultvideo b
from deptdefaultvideo b
where b.xzbh=#{deptId}
where b.xzbh=#{deptId}
...
@@ -292,10 +292,10 @@
...
@@ -292,10 +292,10 @@
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from
from
(
(
SELECT
A.sbbh || '_' || tdbh
dept_id,
SELECT
concat(A.sbbh, '_',tdbh)
dept_id,
A.tdmc dept_name,
A.tdmc dept_name,
TO_CHAR(a.xzbh) parent_id,
TO_CHAR(a.xzbh) parent_id,
to_number(t.levels) + 1
|| ''
LEVELS,
to_number(t.levels) + 1 LEVELS,
(select max(order_num) from dept) + (@rownum := @rownum + 1) order_num,
(select max(order_num) from dept) + (@rownum := @rownum + 1) order_num,
a.cjrq create_time,
a.cjrq create_time,
a.xgrq modify_time
a.xgrq modify_time
...
@@ -321,7 +321,7 @@
...
@@ -321,7 +321,7 @@
and a.parent_id = #{parent_id,jdbcType=INTEGER}
and a.parent_id = #{parent_id,jdbcType=INTEGER}
</when>
</when>
<otherwise>
<otherwise>
and a.parent_id
||''
=0
and a.parent_id =0
</otherwise>
</otherwise>
</choose>
</choose>
</where>
</where>
...
...
src/main/resources/mapper/traffdevicewriteresult.xml
View file @
eb3b49cc
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
left join ptxzs p on p.xzbh = ta.xzbh
left join ptxzs p on p.xzbh = ta.xzbh
<where>
<where>
<if
test=
"sbbh !=null and sbbh != ''"
>
<if
test=
"sbbh !=null and sbbh != ''"
>
and (ta.sbbh like
'%'||#{sbbh}||'%'
OR ta.tdmc like '%'||#{sbbh}||'%' OR ta.tdmcpy like '%'||#{sbbh}||'%' )
and (ta.sbbh like
concat('%',#{sbbh},'%')
OR ta.tdmc like '%'||#{sbbh}||'%' OR ta.tdmcpy like '%'||#{sbbh}||'%' )
</if>
</if>
<if
test=
"xzbh !=null and xzbh != ''"
>
<if
test=
"xzbh !=null and xzbh != ''"
>
AND ta.xzbh IN
AND ta.xzbh IN
...
...
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