Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qianhe-ydsj
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
qianhe-ydsj
Commits
b5f2e138
Commit
b5f2e138
authored
Aug 06, 2024
by
tyk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经验交流代码提交
parent
0bccd28f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
3 deletions
+26
-3
qianhe-ydsj/src/main/java/com/qianhe/controller/JygxWzglController.java
+22
-0
qianhe-ydsj/src/main/java/com/qianhe/domain/JygxWzgl.java
+3
-3
qianhe-ydsj/src/main/java/com/qianhe/service/impl/JygxWzglServiceImpl.java
+1
-0
No files found.
qianhe-ydsj/src/main/java/com/qianhe/controller/JygxWzglController.java
View file @
b5f2e138
...
@@ -146,6 +146,28 @@ public class JygxWzglController extends BaseController
...
@@ -146,6 +146,28 @@ public class JygxWzglController extends BaseController
}
}
/**
/**
* 文章管理审核
*/
@PreAuthorize
(
"@ss.hasPermi('system:wzgl:wzglsh')"
)
@Log
(
title
=
"文章管理审核"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
(
"/wzglsh"
)
public
AjaxResult
wzglsh
(
@RequestBody
JygxWzgl
jygxWzgl
)
{
return
toAjax
(
jygxWzglService
.
updateJygxWzgl
(
jygxWzgl
));
}
/**
* 文章管理发布
*/
@PreAuthorize
(
"@ss.hasPermi('system:wzgl:wzglfb')"
)
@Log
(
title
=
"文章管理发布"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
(
"/wzglfb"
)
public
AjaxResult
wzglfb
(
@RequestBody
JygxWzgl
jygxWzgl
)
{
return
toAjax
(
jygxWzglService
.
updateJygxWzgl
(
jygxWzgl
));
}
/**
* 删除经验共享-文章管理
* 删除经验共享-文章管理
*/
*/
@PreAuthorize
(
"@ss.hasPermi('system:wzgl:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:wzgl:remove')"
)
...
...
qianhe-ydsj/src/main/java/com/qianhe/domain/JygxWzgl.java
View file @
b5f2e138
...
@@ -74,7 +74,7 @@ public class JygxWzgl extends BaseEntity
...
@@ -74,7 +74,7 @@ public class JygxWzgl extends BaseEntity
/** 预留1 */
/** 预留1 */
@Excel
(
name
=
"预留1"
)
@Excel
(
name
=
"预留1"
)
private
Stri
ng
deptId
;
private
Lo
ng
deptId
;
/** 预留2 */
/** 预留2 */
@Excel
(
name
=
"预留2"
)
@Excel
(
name
=
"预留2"
)
...
@@ -227,11 +227,11 @@ public class JygxWzgl extends BaseEntity
...
@@ -227,11 +227,11 @@ public class JygxWzgl extends BaseEntity
return
wzsj
;
return
wzsj
;
}
}
public
Stri
ng
getDeptId
()
{
public
Lo
ng
getDeptId
()
{
return
deptId
;
return
deptId
;
}
}
public
void
setDeptId
(
Stri
ng
deptId
)
{
public
void
setDeptId
(
Lo
ng
deptId
)
{
this
.
deptId
=
deptId
;
this
.
deptId
=
deptId
;
}
}
...
...
qianhe-ydsj/src/main/java/com/qianhe/service/impl/JygxWzglServiceImpl.java
View file @
b5f2e138
...
@@ -96,6 +96,7 @@ public class JygxWzglServiceImpl implements IJygxWzglService
...
@@ -96,6 +96,7 @@ public class JygxWzglServiceImpl implements IJygxWzglService
}
}
jygxWzgl
.
setCreateBy
(
SecurityUtils
.
getUsername
());
jygxWzgl
.
setCreateBy
(
SecurityUtils
.
getUsername
());
jygxWzgl
.
setCreateTime
(
DateUtils
.
getNowDate
());
jygxWzgl
.
setCreateTime
(
DateUtils
.
getNowDate
());
jygxWzgl
.
setDeptId
(
SecurityUtils
.
getDeptId
());
return
jygxWzglMapper
.
insertJygxWzgl
(
jygxWzgl
);
return
jygxWzglMapper
.
insertJygxWzgl
(
jygxWzgl
);
}
}
...
...
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