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
7898d666
Commit
7898d666
authored
Feb 24, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.1' into MVP1.5.1
parents
d1f47fc6
5ea4e3af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
TProveRecord.java
...yifu/cloud/plus/v1/yifu/archives/entity/TProveRecord.java
+1
-0
SalaryProveController.java
...us/v1/yifu/archives/controller/SalaryProveController.java
+2
-3
TSalaryAccountController.java
...s/v1/yifu/salary/controller/TSalaryAccountController.java
+1
-1
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TProveRecord.java
View file @
7898d666
...
...
@@ -206,6 +206,7 @@ public class TProveRecord extends Model<TProveRecord> {
* 合同结束时间
*/
@Schema
(
description
=
"合同结束时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
contractEndDate
;
/**
* 入职时间
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/SalaryProveController.java
View file @
7898d666
...
...
@@ -183,7 +183,7 @@ public class SalaryProveController {
WageProofDto
pd
=
new
WageProofDto
();
pd
.
setStartMouth
(
startDate
);
pd
.
setEndMouth
(
endDate
);
pd
.
setEmIdCard
(
em
.
getEmpIdc
ard
());
pd
.
setEmIdCard
(
record
.
getEmployeeIdC
ard
());
pd
.
setSumType
(
sumType
);
R
<
WageProofDto
>
wpR
=
HttpDaprUtil
.
invokeMethodPost
(
daprSalaryProperties
.
getAppUrl
(),
daprSalaryProperties
.
getAppId
()
,
"/tsalaryaccount/inner/findAverageSalaryForProve"
,
pd
,
WageProofDto
.
class
,
SecurityConstants
.
FROM_IN
);
...
...
@@ -283,7 +283,7 @@ public class SalaryProveController {
record
.
setCreatUserName
(
user
.
getNickname
());
record
.
setIsInvalid
(
CommonConstants
.
ZERO_STRING
);
tProveRecordService
.
saveNo
(
record
);
//保存并自动生成编号
return
new
R
(
record
.
getNo
());
return
R
.
ok
(
record
.
getNo
());
}
/**
...
...
@@ -330,7 +330,6 @@ public class SalaryProveController {
}
else
{
return
R
.
failed
(
"id不能为空!"
);
}
}
/**
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TSalaryAccountController.java
View file @
7898d666
...
...
@@ -329,7 +329,7 @@ public class TSalaryAccountController {
**/
@Inner
@PostMapping
(
"/inner/findAverageSalaryForProve"
)
public
WageProofDto
findAverageSalaryForProve
(
WageProofDto
pd
)
{
public
WageProofDto
findAverageSalaryForProve
(
@RequestBody
WageProofDto
pd
)
{
return
getWageProofDtoR
(
pd
.
getStartMouth
(),
pd
.
getEndMouth
(),
pd
.
getEmIdCard
(),
pd
.
getSumType
(),
null
);
}
...
...
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