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
ba4df9bd
Commit
ba4df9bd
authored
Jan 06, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加申请页面抓取
parent
cae3efeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
29 deletions
+3
-29
base-manager/src/main/resources/sqlmap/module/app/AppDatasetMapperExt.xml
.../main/resources/sqlmap/module/app/AppDatasetMapperExt.xml
+3
-29
No files found.
base-manager/src/main/resources/sqlmap/module/app/AppDatasetMapperExt.xml
View file @
ba4df9bd
...
...
@@ -64,7 +64,7 @@
<sql
id=
"_second_condition_"
>
<if
test=
"condition != null and !condition.isEmpty()"
>
<!-- 条件映射-普通条件 -->
<include
refid=
"_condition_param_"
>
<include
refid=
"_
second_
condition_param_"
>
<property
name=
"_conditionParam_"
value=
"condition"
/>
<property
name=
"_conditionType_"
value=
"and"
/>
</include>
...
...
@@ -73,7 +73,7 @@
and
<foreach
collection=
"condition.andConditionList"
open=
"("
close=
")"
index=
"index"
item=
"andCondition"
separator=
" and "
>
<trim
prefixOverrides=
"or"
prefix=
"("
suffix=
")"
>
<include
refid=
"_condition_param_"
>
<include
refid=
"_
second_
condition_param_"
>
<property
name=
"_conditionParam_"
value=
"andCondition"
/>
<property
name=
"_conditionType_"
value=
"or"
/>
</include>
...
...
@@ -85,7 +85,7 @@
and
<foreach
collection=
"condition.orConditionList"
open=
"("
close=
")"
index=
"index"
item=
"orCondition"
separator=
" or "
>
<trim
prefixOverrides=
"and"
prefix=
"("
suffix=
")"
>
<include
refid=
"_condition_param_"
>
<include
refid=
"_
second_
condition_param_"
>
<property
name=
"_conditionParam_"
value=
"orCondition"
/>
<property
name=
"_conditionType_"
value=
"and"
/>
</include>
...
...
@@ -97,32 +97,6 @@
<!-- 条件映射-代参数 -->
<sql
id=
"_second_condition_param_"
>
<bind
name=
"conditionParamRef"
value=
"${_conditionParam_}"
/>
<if
test=
"conditionParamRef.containsKey('id')"
>
<if
test=
"conditionParamRef.id != null"
>
${_conditionType_} b.id=#{${_conditionParam_}.id}
</if>
</if>
<if
test=
"conditionParamRef.containsKey('id')"
>
<if
test=
"conditionParamRef.id != null "
>
${_conditionType_} b.id = #{${_conditionParam_}.id}
</if>
<if
test=
"conditionParamRef.id == null"
>
${_conditionType_} b.id is null
</if>
</if>
<if
test=
"conditionParamRef.containsKey('idList')"
>
${_conditionType_} b.id in
<foreach
collection=
"conditionParamRef.idList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
#{item}
</foreach>
</if>
<if
test=
"conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null"
>
${_conditionType_} b.id
<![CDATA[ >= ]]>
#{${_conditionParam_}.idStart}
</if>
<if
test=
"conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null"
>
${_conditionType_} b.id
<![CDATA[ <= ]]>
#{${_conditionParam_}.idEnd}
</if>
<if
test=
"conditionParamRef.containsKey('datasetId')"
>
<if
test=
"conditionParamRef.datasetId != null "
>
${_conditionType_} b.datasetId = #{${_conditionParam_}.datasetId}
...
...
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