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
8810a0ca
Commit
8810a0ca
authored
Oct 30, 2024
by
wangqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
无权限修改
parent
2b6cb45d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
22 deletions
+23
-22
qianhe-admin/src/main/java/com/qianhe/web/controller/system/SysDeptCbController.java
+0
-7
qianhe-ydsj/src/main/java/com/qianhe/controller/SjFybpZbController.java
+2
-6
qianhe-ydsj/src/main/java/com/qianhe/controller/SjLhscController.java
+21
-9
No files found.
qianhe-admin/src/main/java/com/qianhe/web/controller/system/SysDeptCbController.java
View file @
8810a0ca
...
...
@@ -37,7 +37,6 @@ public class SysDeptCbController extends BaseController
/**
* 查询单位从列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sysDeptCb:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SysDeptCb
sysDeptCb
)
{
...
...
@@ -49,7 +48,6 @@ public class SysDeptCbController extends BaseController
/**
* 导出单位从列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sysDeptCb:export')"
)
@Log
(
title
=
"单位从"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SysDeptCb
sysDeptCb
)
...
...
@@ -62,7 +60,6 @@ public class SysDeptCbController extends BaseController
/**
* 获取单位从详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sysDeptCb:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
...
...
@@ -72,7 +69,6 @@ public class SysDeptCbController extends BaseController
/**
* 新增单位从
*/
@PreAuthorize
(
"@ss.hasPermi('system:sysDeptCb:add')"
)
@Log
(
title
=
"单位从"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SysDeptCb
sysDeptCb
)
...
...
@@ -83,7 +79,6 @@ public class SysDeptCbController extends BaseController
/**
* 修改单位从
*/
@PreAuthorize
(
"@ss.hasPermi('system:sysDeptCb:edit')"
)
@Log
(
title
=
"单位从"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SysDeptCb
sysDeptCb
)
...
...
@@ -94,7 +89,6 @@ public class SysDeptCbController extends BaseController
/**
* 删除单位从
*/
@PreAuthorize
(
"@ss.hasPermi('system:sysDeptCb:remove')"
)
@Log
(
title
=
"单位从"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
...
...
@@ -107,7 +101,6 @@ public class SysDeptCbController extends BaseController
/**
* 获取单位从详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sysDeptCb:getInfoBydeptId')"
)
@GetMapping
(
value
=
"/getInfoBydeptId"
)
public
AjaxResult
getInfoBydeptId
(
SysDeptCb
sysDeptCb
)
{
...
...
qianhe-ydsj/src/main/java/com/qianhe/controller/SjFybpZbController.java
View file @
8810a0ca
...
...
@@ -43,7 +43,6 @@ public class SjFybpZbController extends BaseController
/**
* 查询三基-费用报批主列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjFybpZb:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjFybpZb
sjFybpZb
)
{
...
...
@@ -55,7 +54,6 @@ public class SjFybpZbController extends BaseController
/**
* 导出三基-费用报批主列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjFybpZb:export')"
)
@Log
(
title
=
"三基-费用报批主"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjFybpZb
sjFybpZb
)
...
...
@@ -68,7 +66,6 @@ public class SjFybpZbController extends BaseController
/**
* 获取三基-费用报批主详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjFybpZb:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
...
...
@@ -78,7 +75,6 @@ public class SjFybpZbController extends BaseController
/**
* 新增三基-费用报批主
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjFybpZb:add')"
)
@Log
(
title
=
"三基-费用报批主"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjFybpZb
sjFybpZb
)
...
...
@@ -169,7 +165,7 @@ public class SjFybpZbController extends BaseController
/**
* 修改三基-费用报批主
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjFybpZb:edit')"
)
@Log
(
title
=
"三基-费用报批主"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjFybpZb
sjFybpZb
)
...
...
@@ -260,7 +256,7 @@ public class SjFybpZbController extends BaseController
/**
* 删除三基-费用报批主
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjFybpZb:remove')"
)
@Log
(
title
=
"三基-费用报批主"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
...
...
qianhe-ydsj/src/main/java/com/qianhe/controller/SjLhscController.java
View file @
8810a0ca
...
...
@@ -52,7 +52,7 @@ public class SjLhscController extends BaseController
/**
* 查询三基-例会上传列表(二级单位)
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLhsc:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjLhsc
sjLhsc
)
{
...
...
@@ -78,7 +78,13 @@ public class SjLhscController extends BaseController
}
if
(
"4"
.
equals
(
jd
)){
startJd
=
nd
+
"-10"
;
endJd
=
nd
+
"-12"
;
}
else
{
startJd
=
nd
+
"-01"
;
endJd
=
nd
+
"-12"
;
}
}
else
{
startJd
=
nd
+
"-01"
;
endJd
=
nd
+
"-12"
;
}
sjLhsc
.
setStartJd
(
startJd
);
sjLhsc
.
setEndJd
(
endJd
);
...
...
@@ -90,7 +96,7 @@ public class SjLhscController extends BaseController
/**
* 查询三基-例会上传列表(三级单位)
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLhsc:listBySj')"
)
@GetMapping
(
"/listBySj"
)
public
TableDataInfo
listBySj
(
SjLhsc
sjLhsc
)
{
...
...
@@ -115,7 +121,13 @@ public class SjLhscController extends BaseController
}
if
(
"4"
.
equals
(
jd
)){
startJd
=
nd
+
"-10"
;
endJd
=
nd
+
"-12"
;
}
else
{
startJd
=
nd
+
"-01"
;
endJd
=
nd
+
"-12"
;
}
}
else
{
startJd
=
nd
+
"-01"
;
endJd
=
nd
+
"-12"
;
}
sjLhsc
.
setStartJd
(
startJd
);
sjLhsc
.
setEndJd
(
endJd
);
...
...
@@ -126,7 +138,7 @@ public class SjLhscController extends BaseController
/**
* 导出三基-例会上传列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLhsc:export')"
)
@Log
(
title
=
"三基-例会上传"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjLhsc
sjLhsc
)
...
...
@@ -139,7 +151,7 @@ public class SjLhscController extends BaseController
/**
* 获取三基-例会上传详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLhsc:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
...
...
@@ -149,7 +161,7 @@ public class SjLhscController extends BaseController
/**
* 新增三基-例会上传
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLhsc:add')"
)
@Log
(
title
=
"三基-例会上传"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjLhsc
sjLhsc
)
throws
Exception
{
...
...
@@ -164,7 +176,7 @@ public class SjLhscController extends BaseController
/**
* 修改三基-例会上传
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLhsc:edit')"
)
@Log
(
title
=
"三基-例会上传"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjLhsc
sjLhsc
)
throws
UnsupportedEncodingException
{
...
...
@@ -179,7 +191,7 @@ public class SjLhscController extends BaseController
/**
* 删除三基-例会上传
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLhsc:remove')"
)
@Log
(
title
=
"三基-例会上传"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
...
...
@@ -191,7 +203,7 @@ public class SjLhscController extends BaseController
/**
* 提交
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLhsc:tj')"
)
@Log
(
title
=
"三基-例会上传"
,
businessType
=
BusinessType
.
UPDATE
)
@PostMapping
(
"/tj"
)
public
AjaxResult
tj
(
@RequestBody
SjLhsc
sjLhsc
)
...
...
@@ -203,7 +215,7 @@ public class SjLhscController extends BaseController
/**
* 查询三基-例会上传已提交列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLhsc:listYtj')"
)
@GetMapping
(
"/listYtj"
)
public
TableDataInfo
listYtj
(
SjLhsc
sjLhsc
)
{
...
...
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