Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
fa712679
Commit
fa712679
authored
Aug 28, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HRO 收入证明 客户资料
parent
77652ce1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
SalaryProveController.java
...us/v1/yifu/archives/controller/SalaryProveController.java
+1
-1
TCompanyInfoController.java
...s/v1/yifu/archives/controller/TCompanyInfoController.java
+11
-11
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/SalaryProveController.java
View file @
fa712679
...
...
@@ -435,7 +435,7 @@ public class SalaryProveController {
* @author fxj
* @date 2023-08-23 17:31:05
**/
@GetMapping
@GetMapping
(
"/getLastCompanyName"
)
public
R
<
String
>
getLastCompanyName
()
{
return
tProveApplyService
.
getLastCompanyName
();
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TCompanyInfoController.java
View file @
fa712679
...
...
@@ -89,7 +89,7 @@ public class TCompanyInfoController {
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_tcompanyinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('
demo_
tcompanyinfo_get')"
)
@PreAuthorize
(
"@pms.hasPermission('tcompanyinfo_get')"
)
public
R
<
TCompanyInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tCompanyInfoService
.
getById
(
id
));
}
...
...
@@ -100,10 +100,10 @@ public class TCompanyInfoController {
* @param tCompanyInfo 收入证明 中的 单位信息维护表
* @return R
*/
@Operation
(
summary
=
"新增收入证明 中的 单位信息维护表"
,
description
=
"新增收入证明 中的 单位信息维护表:hasPermission('
demo_
tcompanyinfo_add')"
)
@Operation
(
summary
=
"新增收入证明 中的 单位信息维护表"
,
description
=
"新增收入证明 中的 单位信息维护表:hasPermission('tcompanyinfo_add')"
)
@SysLog
(
"新增收入证明 中的 单位信息维护表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('
demo_
tcompanyinfo_add')"
)
@PreAuthorize
(
"@pms.hasPermission('tcompanyinfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TCompanyInfo
tCompanyInfo
)
{
TCompanyInfo
exits
=
tCompanyInfoService
.
getOne
(
Wrappers
.<
TCompanyInfo
>
query
().
lambda
()
.
eq
(
TCompanyInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_STRING
)
...
...
@@ -119,10 +119,10 @@ public class TCompanyInfoController {
* @param tCompanyInfo 收入证明 中的 单位信息维护表
* @return R
*/
@Operation
(
summary
=
"修改收入证明 中的 单位信息维护表"
,
description
=
"修改收入证明 中的 单位信息维护表:hasPermission('
demo_
tcompanyinfo_edit')"
)
@Operation
(
summary
=
"修改收入证明 中的 单位信息维护表"
,
description
=
"修改收入证明 中的 单位信息维护表:hasPermission('tcompanyinfo_edit')"
)
@SysLog
(
"修改收入证明 中的 单位信息维护表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('
demo_
tcompanyinfo_edit')"
)
@PreAuthorize
(
"@pms.hasPermission('tcompanyinfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TCompanyInfo
tCompanyInfo
)
{
TCompanyInfo
exits
=
tCompanyInfoService
.
getOne
(
Wrappers
.<
TCompanyInfo
>
query
().
lambda
()
.
eq
(
TCompanyInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_STRING
)
...
...
@@ -140,10 +140,10 @@ public class TCompanyInfoController {
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除收入证明 中的 单位信息维护表"
,
description
=
"通过id删除收入证明 中的 单位信息维护表:hasPermission('
demo_
tcompanyinfo_del')"
)
@Operation
(
summary
=
"通过id删除收入证明 中的 单位信息维护表"
,
description
=
"通过id删除收入证明 中的 单位信息维护表:hasPermission('tcompanyinfo_del')"
)
@SysLog
(
"通过id删除收入证明 中的 单位信息维护表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('
demo_
tcompanyinfo_del')"
)
@PreAuthorize
(
"@pms.hasPermission('tcompanyinfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tCompanyInfoService
.
removeById
(
id
));
}
...
...
@@ -155,10 +155,10 @@ public class TCompanyInfoController {
* @date 2023-08-23 17:31:05
**/
@SneakyThrows
@Operation
(
description
=
"批量新增收入证明 中的 单位信息维护表 hasPermission('
demo_
tcompanyinfo-batch-import')"
)
@Operation
(
description
=
"批量新增收入证明 中的 单位信息维护表 hasPermission('tcompanyinfo-batch-import')"
)
@SysLog
(
"批量新增收入证明 中的 单位信息维护表"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('
demo_
tcompanyinfo-batch-import')"
)
@PreAuthorize
(
"@pms.hasPermission('tcompanyinfo-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
)
{
return
tCompanyInfoService
.
importDiy
(
file
.
getInputStream
());
}
...
...
@@ -169,9 +169,9 @@ public class TCompanyInfoController {
* @author fxj
* @date 2023-08-23 17:31:05
**/
@Operation
(
description
=
"导出收入证明 中的 单位信息维护表 hasPermission('
demo_
tcompanyinfo-export')"
)
@Operation
(
description
=
"导出收入证明 中的 单位信息维护表 hasPermission('tcompanyinfo-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('
demo_
tcompanyinfo-export')"
)
@PreAuthorize
(
"@pms.hasPermission('tcompanyinfo-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TCompanyInfoSearchVo
searchVo
)
{
tCompanyInfoService
.
listExport
(
response
,
searchVo
);
}
...
...
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