Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
83e0278c
Commit
83e0278c
authored
Jul 07, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考勤记录、评价差评记录、评价投诉记录、办件绩效记录、效能绩效几率、其他绩效人工核查后修改记录处理状态
parent
b884ffd0
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
247 additions
and
0 deletions
+247
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
...dule/check/service/impl/CheckAttendRecordServiceImpl.java
+11
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckComplainRecordServiceImpl.java
...le/check/service/impl/CheckComplainRecordServiceImpl.java
+10
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckEffectRecordServiceImpl.java
...dule/check/service/impl/CheckEffectRecordServiceImpl.java
+10
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckGoworkRecordServiceImpl.java
...dule/check/service/impl/CheckGoworkRecordServiceImpl.java
+10
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckOtherRecordServiceImpl.java
...odule/check/service/impl/CheckOtherRecordServiceImpl.java
+10
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckReviewRecordServiceImpl.java
...dule/check/service/impl/CheckReviewRecordServiceImpl.java
+10
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformAttendRecordService.java
...hx/module/perform/service/PerformAttendRecordService.java
+9
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformComplainRecordService.java
.../module/perform/service/PerformComplainRecordService.java
+9
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformEffectRecordService.java
...hx/module/perform/service/PerformEffectRecordService.java
+9
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformGoworkRecordService.java
...hx/module/perform/service/PerformGoworkRecordService.java
+9
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformOtherRecordService.java
...xhx/module/perform/service/PerformOtherRecordService.java
+9
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformReviewRecordService.java
...hx/module/perform/service/PerformReviewRecordService.java
+9
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendRecordServiceImpl.java
.../perform/service/impl/PerformAttendRecordServiceImpl.java
+22
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformComplainRecordServiceImpl.java
...erform/service/impl/PerformComplainRecordServiceImpl.java
+22
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformEffectRecordServiceImpl.java
.../perform/service/impl/PerformEffectRecordServiceImpl.java
+22
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformGoworkRecordServiceImpl.java
.../perform/service/impl/PerformGoworkRecordServiceImpl.java
+22
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformOtherRecordServiceImpl.java
...e/perform/service/impl/PerformOtherRecordServiceImpl.java
+22
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformReviewRecordServiceImpl.java
.../perform/service/impl/PerformReviewRecordServiceImpl.java
+22
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
View file @
83e0278c
package
com.mortals.xhx.module.check.service.impl
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.xhx.module.perform.service.PerformAttendRecordService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
...
...
@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j
public
class
CheckAttendRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
CheckAttendRecordDao
,
CheckAttendRecordEntity
,
Long
>
implements
CheckAttendRecordService
{
@Autowired
private
PerformAttendRecordService
performAttendRecordService
;
@Override
public
void
examine
(
CheckAttendRecordEntity
entity
,
Context
context
)
throws
AppException
{
if
(
entity
.
getId
()==
null
){
...
...
@@ -36,5 +41,11 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
entity
.
setUpdateTime
(
entity
.
getCheckTime
());
entity
.
setCheckStatus
(
2
);
//处理状态(1.未处理,2.已处理)
dao
.
update
(
entity
);
try
{
performAttendRecordService
.
updateProcessStatus
(
entity
.
getRecordId
(),
2
);
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
());
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckComplainRecordServiceImpl.java
View file @
83e0278c
package
com.mortals.xhx.module.check.service.impl
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.xhx.module.perform.service.PerformComplainRecordService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
...
...
@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j
public
class
CheckComplainRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
CheckComplainRecordDao
,
CheckComplainRecordEntity
,
Long
>
implements
CheckComplainRecordService
{
@Autowired
private
PerformComplainRecordService
performComplainRecordService
;
@Override
public
void
examine
(
CheckComplainRecordEntity
entity
,
Context
context
)
throws
AppException
{
if
(
entity
.
getId
()==
null
){
...
...
@@ -36,5 +41,10 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
entity
.
setUpdateTime
(
entity
.
getCheckTime
());
entity
.
setCheckStatus
(
2
);
//处理状态(1.未处理,2.已处理)
dao
.
update
(
entity
);
try
{
performComplainRecordService
.
updateProcessStatus
(
entity
.
getRecordId
(),
2
);
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
());
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckEffectRecordServiceImpl.java
View file @
83e0278c
package
com.mortals.xhx.module.check.service.impl
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.xhx.module.perform.service.PerformEffectRecordService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
...
...
@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j
public
class
CheckEffectRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
CheckEffectRecordDao
,
CheckEffectRecordEntity
,
Long
>
implements
CheckEffectRecordService
{
@Autowired
private
PerformEffectRecordService
performEffectRecordService
;
@Override
public
void
examine
(
CheckEffectRecordEntity
entity
,
Context
context
)
throws
AppException
{
if
(
entity
.
getId
()==
null
){
...
...
@@ -36,5 +41,10 @@ public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckE
entity
.
setUpdateTime
(
entity
.
getCheckTime
());
entity
.
setCheckStatus
(
2
);
//处理状态(1.未处理,2.已处理)
dao
.
update
(
entity
);
try
{
performEffectRecordService
.
updateProcessStatus
(
entity
.
getRecordId
(),
2
);
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
());
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckGoworkRecordServiceImpl.java
View file @
83e0278c
package
com.mortals.xhx.module.check.service.impl
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.xhx.module.perform.service.PerformGoworkRecordService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
...
...
@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j
public
class
CheckGoworkRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
CheckGoworkRecordDao
,
CheckGoworkRecordEntity
,
Long
>
implements
CheckGoworkRecordService
{
@Autowired
private
PerformGoworkRecordService
performGoworkRecordService
;
@Override
public
void
examine
(
CheckGoworkRecordEntity
entity
,
Context
context
)
throws
AppException
{
if
(
entity
.
getId
()==
null
){
...
...
@@ -36,5 +41,10 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG
entity
.
setUpdateTime
(
entity
.
getCheckTime
());
entity
.
setCheckStatus
(
2
);
//处理状态(1.未处理,2.已处理)
dao
.
update
(
entity
);
try
{
performGoworkRecordService
.
updateProcessStatus
(
entity
.
getRecordId
(),
2
);
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
());
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckOtherRecordServiceImpl.java
View file @
83e0278c
package
com.mortals.xhx.module.check.service.impl
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.xhx.module.perform.service.PerformOtherRecordService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
...
...
@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j
public
class
CheckOtherRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
CheckOtherRecordDao
,
CheckOtherRecordEntity
,
Long
>
implements
CheckOtherRecordService
{
@Autowired
private
PerformOtherRecordService
performOtherRecordService
;
@Override
public
void
examine
(
CheckOtherRecordEntity
entity
,
Context
context
)
throws
AppException
{
if
(
entity
.
getId
()==
null
){
...
...
@@ -36,5 +41,10 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
entity
.
setUpdateTime
(
entity
.
getCheckTime
());
entity
.
setCheckStatus
(
2
);
//处理状态(1.未处理,2.已处理)
dao
.
update
(
entity
);
try
{
performOtherRecordService
.
updateProcessStatus
(
entity
.
getRecordId
(),
2
);
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
());
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckReviewRecordServiceImpl.java
View file @
83e0278c
package
com.mortals.xhx.module.check.service.impl
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.xhx.module.perform.service.PerformReviewRecordService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
...
...
@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j
public
class
CheckReviewRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
CheckReviewRecordDao
,
CheckReviewRecordEntity
,
Long
>
implements
CheckReviewRecordService
{
@Autowired
private
PerformReviewRecordService
performReviewRecordService
;
@Override
public
void
examine
(
CheckReviewRecordEntity
entity
,
Context
context
)
throws
AppException
{
if
(
entity
.
getId
()==
null
){
...
...
@@ -36,5 +41,10 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR
entity
.
setUpdateTime
(
entity
.
getCheckTime
());
entity
.
setCheckStatus
(
2
);
//处理状态(1.未处理,2.已处理)
dao
.
update
(
entity
);
try
{
performReviewRecordService
.
updateProcessStatus
(
entity
.
getRecordId
(),
2
);
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
());
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformAttendRecordService.java
View file @
83e0278c
package
com.mortals.xhx.module.perform.service
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.perform.model.PerformAttendRecordEntity
;
import
com.mortals.xhx.module.perform.dao.PerformAttendRecordDao
;
...
...
@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformAttendRecordDao;
public
interface
PerformAttendRecordService
extends
ICRUDService
<
PerformAttendRecordEntity
,
Long
>{
PerformAttendRecordDao
getDao
();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
;
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformComplainRecordService.java
View file @
83e0278c
package
com.mortals.xhx.module.perform.service
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.perform.model.PerformComplainRecordEntity
;
import
com.mortals.xhx.module.perform.dao.PerformComplainRecordDao
;
...
...
@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformComplainRecordDao;
public
interface
PerformComplainRecordService
extends
ICRUDService
<
PerformComplainRecordEntity
,
Long
>{
PerformComplainRecordDao
getDao
();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
;
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformEffectRecordService.java
View file @
83e0278c
package
com.mortals.xhx.module.perform.service
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.perform.model.PerformEffectRecordEntity
;
import
com.mortals.xhx.module.perform.dao.PerformEffectRecordDao
;
...
...
@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformEffectRecordDao;
public
interface
PerformEffectRecordService
extends
ICRUDService
<
PerformEffectRecordEntity
,
Long
>{
PerformEffectRecordDao
getDao
();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
;
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformGoworkRecordService.java
View file @
83e0278c
package
com.mortals.xhx.module.perform.service
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.perform.model.PerformGoworkRecordEntity
;
import
com.mortals.xhx.module.perform.dao.PerformGoworkRecordDao
;
...
...
@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformGoworkRecordDao;
public
interface
PerformGoworkRecordService
extends
ICRUDService
<
PerformGoworkRecordEntity
,
Long
>{
PerformGoworkRecordDao
getDao
();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
;
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformOtherRecordService.java
View file @
83e0278c
package
com.mortals.xhx.module.perform.service
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.perform.model.PerformOtherRecordEntity
;
import
com.mortals.xhx.module.perform.dao.PerformOtherRecordDao
;
...
...
@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformOtherRecordDao;
public
interface
PerformOtherRecordService
extends
ICRUDService
<
PerformOtherRecordEntity
,
Long
>{
PerformOtherRecordDao
getDao
();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
;
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/PerformReviewRecordService.java
View file @
83e0278c
package
com.mortals.xhx.module.perform.service
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.perform.model.PerformReviewRecordEntity
;
import
com.mortals.xhx.module.perform.dao.PerformReviewRecordDao
;
...
...
@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformReviewRecordDao;
public
interface
PerformReviewRecordService
extends
ICRUDService
<
PerformReviewRecordEntity
,
Long
>{
PerformReviewRecordDao
getDao
();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
;
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendRecordServiceImpl.java
View file @
83e0278c
...
...
@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformAttendRecordDao;
import
com.mortals.xhx.module.perform.model.PerformAttendRecordEntity
;
import
com.mortals.xhx.module.perform.service.PerformAttendRecordService
;
import
lombok.extern.slf4j.Slf4j
;
import
java.util.Date
;
/**
* PerformAttendRecordService
* 考勤绩效记录信息 service实现
...
...
@@ -39,4 +42,23 @@ public class PerformAttendRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
}
checkAttendRecordService
.
save
(
checkAttendRecordEntity
,
context
);
}
@Override
public
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
{
if
(
id
==
null
){
throw
new
AppException
(
"考勤绩效记录Id不能为空"
);
}
PerformAttendRecordEntity
entity
=
this
.
get
(
id
);
if
(
entity
==
null
){
throw
new
AppException
(
"无效的考勤绩效记录Id"
);
}
if
(
status
==
null
){
status
=
1
;
//处理状态(1.未核查,2.已核查)
}
PerformAttendRecordEntity
update
=
new
PerformAttendRecordEntity
();
update
.
setId
(
id
);
update
.
setProcessStatus
(
status
);
update
.
setUpdateTime
(
new
Date
());
dao
.
update
(
update
);
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformComplainRecordServiceImpl.java
View file @
83e0278c
...
...
@@ -13,6 +13,9 @@ import lombok.extern.slf4j.Slf4j;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.Date
;
/**
* PerformComplainRecordService
* 评价绩效投诉记录信息 service实现
...
...
@@ -40,4 +43,23 @@ public class PerformComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Pe
}
checkComplainRecordService
.
save
(
checkComplainRecordEntity
,
context
);
}
@Override
public
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
{
if
(
id
==
null
){
throw
new
AppException
(
"评价绩效投诉记录Id不能为空"
);
}
PerformComplainRecordEntity
entity
=
this
.
get
(
id
);
if
(
entity
==
null
){
throw
new
AppException
(
"无效的评价绩效投诉记录Id"
);
}
if
(
status
==
null
){
status
=
1
;
//处理状态(1.未核查,2.已核查)
}
PerformComplainRecordEntity
update
=
new
PerformComplainRecordEntity
();
update
.
setId
(
id
);
update
.
setProcessStatus
(
status
);
update
.
setUpdateTime
(
new
Date
());
dao
.
update
(
update
);
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformEffectRecordServiceImpl.java
View file @
83e0278c
...
...
@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformEffectRecordDao;
import
com.mortals.xhx.module.perform.model.PerformEffectRecordEntity
;
import
com.mortals.xhx.module.perform.service.PerformEffectRecordService
;
import
lombok.extern.slf4j.Slf4j
;
import
java.util.Date
;
/**
* PerformEffectRecordService
* 效能绩效记录信息 service实现
...
...
@@ -39,4 +42,23 @@ public class PerformEffectRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
}
checkEffectRecordService
.
save
(
checkEffectRecordEntity
,
context
);
}
@Override
public
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
{
if
(
id
==
null
){
throw
new
AppException
(
"效能绩效记录Id不能为空"
);
}
PerformEffectRecordEntity
entity
=
this
.
get
(
id
);
if
(
entity
==
null
){
throw
new
AppException
(
"无效的效能绩效记录Id"
);
}
if
(
status
==
null
){
status
=
1
;
//处理状态(1.未核查,2.已核查)
}
PerformEffectRecordEntity
update
=
new
PerformEffectRecordEntity
();
update
.
setId
(
id
);
update
.
setProcessStatus
(
status
);
update
.
setUpdateTime
(
new
Date
());
dao
.
update
(
update
);
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformGoworkRecordServiceImpl.java
View file @
83e0278c
...
...
@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformGoworkRecordDao;
import
com.mortals.xhx.module.perform.model.PerformGoworkRecordEntity
;
import
com.mortals.xhx.module.perform.service.PerformGoworkRecordService
;
import
lombok.extern.slf4j.Slf4j
;
import
java.util.Date
;
/**
* PerformGoworkRecordService
* 办件绩效记录信息 service实现
...
...
@@ -39,4 +42,23 @@ public class PerformGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
}
checkGoworkRecordService
.
save
(
checkGoworkRecordEntity
,
context
);
}
@Override
public
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
{
if
(
id
==
null
){
throw
new
AppException
(
"办件绩效记录Id不能为空"
);
}
PerformGoworkRecordEntity
entity
=
this
.
get
(
id
);
if
(
entity
==
null
){
throw
new
AppException
(
"无效的办件绩效记录Id"
);
}
if
(
status
==
null
){
status
=
1
;
//处理状态(1.未核查,2.已核查)
}
PerformGoworkRecordEntity
update
=
new
PerformGoworkRecordEntity
();
update
.
setId
(
id
);
update
.
setProcessStatus
(
status
);
update
.
setUpdateTime
(
new
Date
());
dao
.
update
(
update
);
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformOtherRecordServiceImpl.java
View file @
83e0278c
...
...
@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformOtherRecordDao;
import
com.mortals.xhx.module.perform.model.PerformOtherRecordEntity
;
import
com.mortals.xhx.module.perform.service.PerformOtherRecordService
;
import
lombok.extern.slf4j.Slf4j
;
import
java.util.Date
;
/**
* PerformOtherRecordService
* 其它绩效记录信息 service实现
...
...
@@ -39,4 +42,23 @@ public class PerformOtherRecordServiceImpl extends AbstractCRUDServiceImpl<Perfo
}
checkOtherRecordService
.
save
(
checkOtherRecordEntity
,
context
);
}
@Override
public
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
{
if
(
id
==
null
){
throw
new
AppException
(
"其它绩效记录Id不能为空"
);
}
PerformOtherRecordEntity
entity
=
this
.
get
(
id
);
if
(
entity
==
null
){
throw
new
AppException
(
"无效的其它绩效记录Id"
);
}
if
(
status
==
null
){
status
=
1
;
//处理状态(1.未核查,2.已核查)
}
PerformOtherRecordEntity
update
=
new
PerformOtherRecordEntity
();
update
.
setId
(
id
);
update
.
setProcessStatus
(
status
);
update
.
setUpdateTime
(
new
Date
());
dao
.
update
(
update
);
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformReviewRecordServiceImpl.java
View file @
83e0278c
...
...
@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformReviewRecordDao;
import
com.mortals.xhx.module.perform.model.PerformReviewRecordEntity
;
import
com.mortals.xhx.module.perform.service.PerformReviewRecordService
;
import
lombok.extern.slf4j.Slf4j
;
import
java.util.Date
;
/**
* PerformReviewRecordService
* 评价差评绩效记录信息 service实现
...
...
@@ -38,4 +41,23 @@ public class PerformReviewRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
}
checkReviewRecordService
.
save
(
checkReviewRecordEntity
,
context
);
}
@Override
public
void
updateProcessStatus
(
Long
id
,
Integer
status
)
throws
AppException
{
if
(
id
==
null
){
throw
new
AppException
(
"评价差评绩效记录Id不能为空"
);
}
PerformReviewRecordEntity
entity
=
this
.
get
(
id
);
if
(
entity
==
null
){
throw
new
AppException
(
"无效的评价差评绩效记录Id"
);
}
if
(
status
==
null
){
status
=
1
;
//处理状态(1.未核查,2.已核查)
}
PerformReviewRecordEntity
update
=
new
PerformReviewRecordEntity
();
update
.
setId
(
id
);
update
.
setProcessStatus
(
status
);
update
.
setUpdateTime
(
new
Date
());
dao
.
update
(
update
);
}
}
\ No newline at end of file
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