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
62647720
Commit
62647720
authored
Mar 06, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试 事项查询
parent
60c6cfb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
base-manager/src/main/java/com/mortals/xhx/busiz/web/DemoWebApiController.java
.../java/com/mortals/xhx/busiz/web/DemoWebApiController.java
+3
-3
base-manager/src/main/java/com/mortals/xhx/module/matter/dao/ibatis/MatterDaoImpl.java
...m/mortals/xhx/module/matter/dao/ibatis/MatterDaoImpl.java
+3
-3
base-manager/src/main/resources/sqlmap/module/matter/MatterMapperExt.xml
...c/main/resources/sqlmap/module/matter/MatterMapperExt.xml
+4
-5
No files found.
base-manager/src/main/java/com/mortals/xhx/busiz/web/DemoWebApiController.java
View file @
62647720
...
...
@@ -232,9 +232,9 @@ public class DemoWebApiController {
ParamDto
param
=
new
ParamDto
();
param
.
getCondition
().
put
(
"areaCode"
,
matterQuery
.
getAreaCode
());
if
(!
ObjectUtils
.
isEmpty
(
matterQuery
.
getSource
()))
{
param
.
getCondition
().
put
(
"source"
,
matterQuery
.
getSource
());
}
param
.
getCondition
().
put
(
"source"
,
matterQuery
.
getSource
());
int
count
=
matterService
.
getDao
().
getMatterListByAreaCodeCount
(
param
);
log
.
info
(
"本地事项总数:{}"
,
count
);
ArrayList
<
MatterEntity
>
allList
=
new
ArrayList
<>();
...
...
base-manager/src/main/java/com/mortals/xhx/module/matter/dao/ibatis/MatterDaoImpl.java
View file @
62647720
...
...
@@ -77,9 +77,9 @@ public class MatterDaoImpl extends BaseCRUDDaoMybatis<MatterEntity, Long> implem
Result
<
MatterEntity
>
result
=
new
Result
();
ParamDto
param
=
new
ParamDto
();
param
.
getCondition
().
put
(
"areaCode"
,
matterQuery
.
getAreaCode
());
if
(!
ObjectUtils
.
isEmpty
(
matterQuery
.
getSource
()))
{
param
.
getCondition
().
put
(
"source"
,
matterQuery
.
getSource
());
}
param
.
getCondition
().
put
(
"source"
,
matterQuery
.
getSource
());
RowBounds
rowBounds
=
new
RowBounds
(
pageInfo
.
getBeginIndex
(),
pageInfo
.
getPrePageResult
());
List
<
MatterEntity
>
list
=
this
.
getSqlSession
().
selectList
(
this
.
getSqlId
(
SQLID_MATTERLIST_AREACODE
),
param
,
rowBounds
);
...
...
base-manager/src/main/resources/sqlmap/module/matter/MatterMapperExt.xml
View file @
62647720
...
...
@@ -103,12 +103,11 @@
<if
test=
"condition.areaCode!=null and condition.areaCode!=''"
>
and a.areaCode = #{condition.areaCode,jdbcType=VARCHAR}
</if>
</trim>
<if
test=
"condition.source!=null and condition.source!=''"
>
and a.source = #{condition.source,jdbcType=INTEGER}
</if>
<if
test=
"condition.source!=null"
>
and a.source = #{condition.source,jdbcType=INTEGER}
</if>
</trim>
</select>
</mapper>
\ No newline at end of file
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