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
90799164
Commit
90799164
authored
Feb 23, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加窗口无人值守
parent
d32061c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
9 deletions
+20
-9
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteBusinessServiceImpl.java
...xhx/module/site/service/impl/SiteBusinessServiceImpl.java
+14
-9
base-manager/src/test/java/com/mortals/httpclient/site/SiteMatterController.http
...ava/com/mortals/httpclient/site/SiteMatterController.http
+1
-0
base-manager/src/test/java/com/mortals/httpclient/system/system.http
...r/src/test/java/com/mortals/httpclient/system/system.http
+5
-0
No files found.
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteBusinessServiceImpl.java
View file @
90799164
package
com.mortals.xhx.module.site.service.impl
;
import
com.alibaba.fastjson.JSON
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.model.PageInfo
;
import
com.mortals.framework.model.Result
;
import
com.mortals.framework.service.impl.AbstractCRUDCacheServiceImpl
;
...
...
@@ -10,21 +13,21 @@ import com.mortals.xhx.module.business.model.BusinessMatterQuery;
import
com.mortals.xhx.module.business.model.BusinessQuery
;
import
com.mortals.xhx.module.business.service.BusinessMatterService
;
import
com.mortals.xhx.module.business.service.BusinessService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.xhx.common.code.SatusEnum
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.xhx.module.site.dao.SiteBusinessDao
;
import
com.mortals.xhx.module.site.model.SiteBusinessEntity
;
import
com.mortals.xhx.module.site.model.SiteBusinessQuery
;
import
com.mortals.xhx.module.site.service.SiteBusinessService
;
import
com.mortals.xhx.module.site.model.SiteBusinessTreeSelect
;
import
com.mortals.xhx.module.site.service.SiteBusinessService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.ObjectUtils
;
import
java.util.*
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Iterator
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
...
...
@@ -35,6 +38,7 @@ import java.util.stream.Collectors;
* @date 2022-01-13
*/
@Service
(
"siteBusinessService"
)
@Slf4j
public
class
SiteBusinessServiceImpl
extends
AbstractCRUDCacheServiceImpl
<
SiteBusinessDao
,
SiteBusinessEntity
,
Long
>
implements
SiteBusinessService
{
@Autowired
...
...
@@ -48,6 +52,7 @@ public class SiteBusinessServiceImpl extends AbstractCRUDCacheServiceImpl<SiteBu
SiteBusinessQuery
siteBusinessQuery
=
new
SiteBusinessQuery
();
if
(!
ObjectUtils
.
isEmpty
(
params
.
getIdNotList
()))
{
//排除掉已经存在的ids
log
.
info
(
"idNotList:{}"
,
JSON
.
toJSONString
(
params
.
getIdNotList
()));
Iterator
<
SiteBusinessEntity
>
iterator
=
list
.
iterator
();
while
(
iterator
.
hasNext
())
{
SiteBusinessEntity
item
=
iterator
.
next
();
...
...
base-manager/src/test/java/com/mortals/httpclient/site/SiteMatterController.http
View file @
90799164
...
...
@@ -6,6 +6,7 @@ Content-Type: application/json
{
"siteId":1,
"page":1,
"matterName":"加处罚款",
"size":10
}
...
...
base-manager/src/test/java/com/mortals/httpclient/system/system.http
View file @
90799164
...
...
@@ -77,6 +77,11 @@ Content-Type: application/json
{}
###testre
POST {{baseUrl}}/test/reEventShow
Content-Type: application/json
{}
###短信设置编辑
...
...
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