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
c5c11c16
Commit
c5c11c16
authored
Nov 17, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加站点事项过滤
parent
29da3ddd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
3 deletions
+20
-3
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
...als/xhx/module/matter/service/impl/MatterServiceImpl.java
+2
-0
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterController.java
...a/com/mortals/xhx/module/matter/web/MatterController.java
+0
-1
base-manager/src/main/resources/sqlmap/module/matter/MatterMapperExt.xml
...c/main/resources/sqlmap/module/matter/MatterMapperExt.xml
+18
-2
No files found.
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
View file @
c5c11c16
...
@@ -200,6 +200,8 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
...
@@ -200,6 +200,8 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
@Override
@Override
public
Result
<
MatterEntity
>
findSubList
(
MatterEntity
matterQuery
,
PageInfo
pageInfo
,
Context
context
)
throws
AppException
{
public
Result
<
MatterEntity
>
findSubList
(
MatterEntity
matterQuery
,
PageInfo
pageInfo
,
Context
context
)
throws
AppException
{
SiteEntity
siteCache
=
siteService
.
getCache
(
matterQuery
.
getSiteId
().
toString
());
matterQuery
.
setAreaCode
(
siteCache
==
null
?
null
:
siteCache
.
getAreaCode
());
return
this
.
dao
.
getSubList
(
matterQuery
,
pageInfo
);
return
this
.
dao
.
getSubList
(
matterQuery
,
pageInfo
);
}
}
...
...
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterController.java
View file @
c5c11c16
...
@@ -155,7 +155,6 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
...
@@ -155,7 +155,6 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
this
.
init
(
model
,
context
);
this
.
init
(
model
,
context
);
ret
.
setCode
(
code
);
ret
.
setCode
(
code
);
ret
.
setData
(
model
);
ret
.
setData
(
model
);
ret
.
setDict
(
model
.
get
(
KEY_RESULT_DICT
));
ret
.
setMsg
(
model
.
get
(
MESSAGE_INFO
)
==
null
?
""
:
model
.
remove
(
MESSAGE_INFO
).
toString
());
ret
.
setMsg
(
model
.
get
(
MESSAGE_INFO
)
==
null
?
""
:
model
.
remove
(
MESSAGE_INFO
).
toString
());
return
ret
;
return
ret
;
}
}
...
...
base-manager/src/main/resources/sqlmap/module/matter/MatterMapperExt.xml
View file @
c5c11c16
...
@@ -13,7 +13,15 @@
...
@@ -13,7 +13,15 @@
<trim
suffixOverrides=
"where"
suffix=
""
>
<trim
suffixOverrides=
"where"
suffix=
""
>
where b.matterCode IS NULL
where b.matterCode IS NULL
<trim
prefixOverrides=
"and"
prefix=
""
>
<trim
prefixOverrides=
"and"
prefix=
""
>
<include
refid=
"_condition_"
/>
<if
test=
"condition.areaCode!=null and condition.areaCode!=''"
>
and a.areaCode = #{condition.areaCode,jdbcType=VARCHAR}
</if>
<if
test=
"condition.deptCode!=null and condition.deptCode!=''"
>
and a.deptCode = #{condition.deptCode,jdbcType=VARCHAR}
</if>
<if
test=
"condition.matterName != null and condition.matterName != ''"
>
a.matterName like #{condition.matterName}
</if>
</trim>
</trim>
</trim>
</trim>
</select>
</select>
...
@@ -28,7 +36,15 @@
...
@@ -28,7 +36,15 @@
<trim
suffixOverrides=
"where"
suffix=
""
>
<trim
suffixOverrides=
"where"
suffix=
""
>
where b.matterCode IS NULL
where b.matterCode IS NULL
<trim
prefixOverrides=
"and"
prefix=
""
>
<trim
prefixOverrides=
"and"
prefix=
""
>
<include
refid=
"_condition_"
/>
<if
test=
"condition.areaCode!=null and condition.areaCode!=''"
>
and a.areaCode = #{condition.areaCode,jdbcType=VARCHAR}
</if>
<if
test=
"condition.deptCode!=null and condition.deptCode!=''"
>
and a.deptCode = #{condition.deptCode,jdbcType=VARCHAR}
</if>
<if
test=
"condition.matterName != null and condition.matterName != ''"
>
a.matterName like #{condition.matterName}
</if>
</trim>
</trim>
</trim>
</trim>
</select>
</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