Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
d74afa0e
Commit
d74afa0e
authored
Feb 24, 2025
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理达梦数据库`domain`关键字报错
parent
4ae74ba7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
18 deletions
+18
-18
base-manager/src/main/resources/sqlmap/module/area/AreaMapper.xml
...ager/src/main/resources/sqlmap/module/area/AreaMapper.xml
+6
-6
base-manager/src/main/resources/sqlmap/module/base/BaseAreaMapper.xml
.../src/main/resources/sqlmap/module/base/BaseAreaMapper.xml
+6
-6
base-manager/src/main/resources/sqlmap/module/matters/MattersAreaMapper.xml
...ain/resources/sqlmap/module/matters/MattersAreaMapper.xml
+6
-6
No files found.
base-manager/src/main/resources/sqlmap/module/area/AreaMapper.xml
View file @
d74afa0e
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
a.shortName as shortName,
a.shortName as shortName,
</if>
</if>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('domain') or colPickMode == 1 and data.containsKey('domain')))"
>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('domain') or colPickMode == 1 and data.containsKey('domain')))"
>
a.
domain as domain
,
a.
`domain` as `domain`
,
</if>
</if>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('status') or colPickMode == 1 and data.containsKey('status')))"
>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('status') or colPickMode == 1 and data.containsKey('status')))"
>
a.status as status,
a.status as status,
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
a.shortName=#{data.shortName},
a.shortName=#{data.shortName},
</if>
</if>
<if
test=
"(colPickMode==0 and data.containsKey('domain')) or (colPickMode==1 and !data.containsKey('domain'))"
>
<if
test=
"(colPickMode==0 and data.containsKey('domain')) or (colPickMode==1 and !data.containsKey('domain'))"
>
a.
domain
=#{data.domain},
a.
`domain`
=#{data.domain},
</if>
</if>
<if
test=
"(colPickMode==0 and data.containsKey('status')) or (colPickMode==1 and !data.containsKey('status'))"
>
<if
test=
"(colPickMode==0 and data.containsKey('status')) or (colPickMode==1 and !data.containsKey('status'))"
>
a.status=#{data.status},
a.status=#{data.status},
...
@@ -602,14 +602,14 @@
...
@@ -602,14 +602,14 @@
<if
test=
"conditionParamRef.containsKey('domain')"
>
<if
test=
"conditionParamRef.containsKey('domain')"
>
<if
test=
"conditionParamRef.domain != null and conditionParamRef.domain != ''"
>
<if
test=
"conditionParamRef.domain != null and conditionParamRef.domain != ''"
>
${_conditionType_} a.
domain
like #{${_conditionParam_}.domain}
${_conditionType_} a.
`domain`
like #{${_conditionParam_}.domain}
</if>
</if>
<if
test=
"conditionParamRef.domain == null"
>
<if
test=
"conditionParamRef.domain == null"
>
${_conditionType_} a.
domain
is null
${_conditionType_} a.
`domain`
is null
</if>
</if>
</if>
</if>
<if
test=
"conditionParamRef.containsKey('domainList')"
>
<if
test=
"conditionParamRef.containsKey('domainList')"
>
${_conditionType_} a.
domain
in
${_conditionType_} a.
`domain`
in
<foreach
collection=
"conditionParamRef.domainList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
<foreach
collection=
"conditionParamRef.domainList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
...
@@ -760,7 +760,7 @@
...
@@ -760,7 +760,7 @@
,
,
</if>
</if>
<if
test=
"orderCol.containsKey('domain')"
>
<if
test=
"orderCol.containsKey('domain')"
>
a.
domain
a.
`domain`
<if
test=
'orderCol.domain != null and "DESC".equalsIgnoreCase(orderCol.domain)'
>
DESC
</if>
<if
test=
'orderCol.domain != null and "DESC".equalsIgnoreCase(orderCol.domain)'
>
DESC
</if>
,
,
</if>
</if>
...
...
base-manager/src/main/resources/sqlmap/module/base/BaseAreaMapper.xml
View file @
d74afa0e
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
a.shortName,
a.shortName,
</if>
</if>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('domain') or colPickMode == 1 and data.containsKey('domain')))"
>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('domain') or colPickMode == 1 and data.containsKey('domain')))"
>
a.
domain
,
a.
`domain`
,
</if>
</if>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('status') or colPickMode == 1 and data.containsKey('status')))"
>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('status') or colPickMode == 1 and data.containsKey('status')))"
>
a.status,
a.status,
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
a.shortName=#{data.shortName},
a.shortName=#{data.shortName},
</if>
</if>
<if
test=
"(colPickMode==0 and data.containsKey('domain')) or (colPickMode==1 and !data.containsKey('domain'))"
>
<if
test=
"(colPickMode==0 and data.containsKey('domain')) or (colPickMode==1 and !data.containsKey('domain'))"
>
a.
domain
=#{data.domain},
a.
`domain`
=#{data.domain},
</if>
</if>
<if
test=
"(colPickMode==0 and data.containsKey('status')) or (colPickMode==1 and !data.containsKey('status'))"
>
<if
test=
"(colPickMode==0 and data.containsKey('status')) or (colPickMode==1 and !data.containsKey('status'))"
>
a.status=#{data.status},
a.status=#{data.status},
...
@@ -613,14 +613,14 @@
...
@@ -613,14 +613,14 @@
<if
test=
"conditionParamRef.containsKey('domain')"
>
<if
test=
"conditionParamRef.containsKey('domain')"
>
<if
test=
"conditionParamRef.domain != null and conditionParamRef.domain != ''"
>
<if
test=
"conditionParamRef.domain != null and conditionParamRef.domain != ''"
>
${_conditionType_} a.
domain
like #{${_conditionParam_}.domain}
${_conditionType_} a.
`domain`
like #{${_conditionParam_}.domain}
</if>
</if>
<if
test=
"conditionParamRef.domain == null"
>
<if
test=
"conditionParamRef.domain == null"
>
${_conditionType_} a.
domain
is null
${_conditionType_} a.
`domain`
is null
</if>
</if>
</if>
</if>
<if
test=
"conditionParamRef.containsKey('domainList')"
>
<if
test=
"conditionParamRef.containsKey('domainList')"
>
${_conditionType_} a.
domain
in
${_conditionType_} a.
`domain`
in
<foreach
collection=
"conditionParamRef.domainList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
<foreach
collection=
"conditionParamRef.domainList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
...
@@ -771,7 +771,7 @@
...
@@ -771,7 +771,7 @@
,
,
</if>
</if>
<if
test=
"orderCol.containsKey('domain')"
>
<if
test=
"orderCol.containsKey('domain')"
>
a.
domain
a.
`domain`
<if
test=
'orderCol.domain != null and "DESC".equalsIgnoreCase(orderCol.domain)'
>
DESC
</if>
<if
test=
'orderCol.domain != null and "DESC".equalsIgnoreCase(orderCol.domain)'
>
DESC
</if>
,
,
</if>
</if>
...
...
base-manager/src/main/resources/sqlmap/module/matters/MattersAreaMapper.xml
View file @
d74afa0e
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
a.shortName,
a.shortName,
</if>
</if>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('domain') or colPickMode == 1 and data.containsKey('domain')))"
>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('domain') or colPickMode == 1 and data.containsKey('domain')))"
>
a.
domain
,
a.
`domain`
,
</if>
</if>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('iid') or colPickMode == 1 and data.containsKey('iid')))"
>
<if
test=
"(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('iid') or colPickMode == 1 and data.containsKey('iid')))"
>
a.iid,
a.iid,
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
a.shortName=#{data.shortName},
a.shortName=#{data.shortName},
</if>
</if>
<if
test=
"(colPickMode==0 and data.containsKey('domain')) or (colPickMode==1 and !data.containsKey('domain'))"
>
<if
test=
"(colPickMode==0 and data.containsKey('domain')) or (colPickMode==1 and !data.containsKey('domain'))"
>
a.
domain
=#{data.domain},
a.
`domain`
=#{data.domain},
</if>
</if>
<if
test=
"(colPickMode==0 and data.containsKey('iid')) or (colPickMode==1 and !data.containsKey('iid'))"
>
<if
test=
"(colPickMode==0 and data.containsKey('iid')) or (colPickMode==1 and !data.containsKey('iid'))"
>
a.iid=#{data.iid},
a.iid=#{data.iid},
...
@@ -437,14 +437,14 @@
...
@@ -437,14 +437,14 @@
<if
test=
"conditionParamRef.containsKey('domain')"
>
<if
test=
"conditionParamRef.containsKey('domain')"
>
<if
test=
"conditionParamRef.domain != null and conditionParamRef.domain != ''"
>
<if
test=
"conditionParamRef.domain != null and conditionParamRef.domain != ''"
>
${_conditionType_} a.
domain
like #{${_conditionParam_}.domain}
${_conditionType_} a.
`domain`
like #{${_conditionParam_}.domain}
</if>
</if>
<if
test=
"conditionParamRef.domain == null"
>
<if
test=
"conditionParamRef.domain == null"
>
${_conditionType_} a.
domain
is null
${_conditionType_} a.
`domain`
is null
</if>
</if>
</if>
</if>
<if
test=
"conditionParamRef.containsKey('domainList')"
>
<if
test=
"conditionParamRef.containsKey('domainList')"
>
${_conditionType_} a.
domain
in
${_conditionType_} a.
`domain`
in
<foreach
collection=
"conditionParamRef.domainList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
<foreach
collection=
"conditionParamRef.domainList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
...
@@ -573,7 +573,7 @@
...
@@ -573,7 +573,7 @@
,
,
</if>
</if>
<if
test=
"orderCol.containsKey('domain')"
>
<if
test=
"orderCol.containsKey('domain')"
>
a.
domain
a.
`domain`
<if
test=
'orderCol.domain != null and "DESC".equalsIgnoreCase(orderCol.domain)'
>
DESC
</if>
<if
test=
'orderCol.domain != null and "DESC".equalsIgnoreCase(orderCol.domain)'
>
DESC
</if>
,
,
</if>
</if>
...
...
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