Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liqin
chnmuseum-party
Commits
33fd0559
Commit
33fd0559
authored
Mar 29, 2021
by
wzp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改机构
parent
478292aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
TBoxOperationController.java
...nmuseum/party/web/controller/TBoxOperationController.java
+2
-2
TOrganController.java
...ergy/chnmuseum/party/web/controller/TOrganController.java
+4
-3
TOrganMapper.xml
src/main/resources/mapper/TOrganMapper.xml
+1
-0
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/TBoxOperationController.java
View file @
33fd0559
...
...
@@ -134,9 +134,9 @@ public class TBoxOperationController extends BaseController {
@RequiresPermissions
(
"/boxOperation/delete"
)
@ApiOperation
(
value
=
"根据ID删除机顶盒运维信息"
,
notes
=
"根据ID删除机顶盒运维信息"
)
@ApiImplicitParams
(
value
=
{
@ApiImplicitParam
(
name
=
"id"
,
value
=
"标识ID"
,
paramType
=
"
path
"
,
dataType
=
"String"
)
@ApiImplicitParam
(
name
=
"id"
,
value
=
"标识ID"
,
paramType
=
"
query
"
,
dataType
=
"String"
)
})
public
Map
<
String
,
Object
>
deleteTBoxOperation
(
@PathVariable
(
"id"
)
String
id
)
{
public
Map
<
String
,
Object
>
deleteTBoxOperation
(
String
id
)
{
boolean
result
=
false
;
try
{
result
=
tBoxOperationService
.
removeById
(
id
);
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/TOrganController.java
View file @
33fd0559
...
...
@@ -123,9 +123,9 @@ public class TOrganController extends BaseController {
@DeleteMapping
(
"/delete"
)
@RequiresPermissions
(
"/organ/delete"
)
@ApiOperation
(
value
=
"根据ID删除机构"
,
notes
=
"根据ID删除机构"
)
//
@ApiImplicitParams(value = {
// @ApiImplicitParam(name = "id", value = "标识ID", paramType = "path
", dataType = "String")
//
})
@ApiImplicitParams
(
value
=
{
@ApiImplicitParam
(
name
=
"id"
,
value
=
"标识ID"
,
paramType
=
"query
"
,
dataType
=
"String"
)
})
// @MethodLog(operModule = OperModule.ORG,operType = OperType.DELETE)
public
Map
<
String
,
Object
>
deleteTOrgan
(
String
id
)
{
boolean
result
=
false
;
...
...
@@ -193,6 +193,7 @@ public class TOrganController extends BaseController {
}
//设置用户数据权限
queryWrapper
.
likeRight
(
TOrgan:
:
getCode
,
user
.
getOrgCode
());
queryWrapper
.
eq
(
TOrgan:
:
getIsDeleted
,
false
);
// 设置排序规则
queryWrapper
.
orderByDesc
(
TOrgan:
:
getCreateTime
);
page
=
this
.
tOrganService
.
page
(
getPage
(),
queryWrapper
);
...
...
src/main/resources/mapper/TOrganMapper.xml
View file @
33fd0559
...
...
@@ -46,6 +46,7 @@ where 1=1
<if
test=
" org.code != null and org.code != '' "
>
and o.code LIKE concat(#{org.code},'%')
</if>
and o.is_deleted = false
order by o.create_time desc
</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