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
15a1d4d3
Commit
15a1d4d3
authored
Jul 07, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/attendance-performance-platform
parents
d43795af
2b714d56
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
136 additions
and
8 deletions
+136
-8
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/CheckGoworkRecordService.java
...ls/xhx/module/check/service/CheckGoworkRecordService.java
+2
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendRecordServiceImpl.java
.../perform/service/impl/PerformAttendRecordServiceImpl.java
+22
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformComplainRecordServiceImpl.java
...erform/service/impl/PerformComplainRecordServiceImpl.java
+25
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformEffectRecordServiceImpl.java
.../perform/service/impl/PerformEffectRecordServiceImpl.java
+22
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformGoworkRecordServiceImpl.java
.../perform/service/impl/PerformGoworkRecordServiceImpl.java
+22
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformOtherRecordServiceImpl.java
...e/perform/service/impl/PerformOtherRecordServiceImpl.java
+22
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformReviewRecordServiceImpl.java
.../perform/service/impl/PerformReviewRecordServiceImpl.java
+21
-1
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/CheckGoworkRecordService.java
View file @
15a1d4d3
...
@@ -13,4 +13,6 @@ import com.mortals.xhx.module.check.dao.CheckGoworkRecordDao;
...
@@ -13,4 +13,6 @@ import com.mortals.xhx.module.check.dao.CheckGoworkRecordDao;
public
interface
CheckGoworkRecordService
extends
ICRUDService
<
CheckGoworkRecordEntity
,
Long
>{
public
interface
CheckGoworkRecordService
extends
ICRUDService
<
CheckGoworkRecordEntity
,
Long
>{
CheckGoworkRecordDao
getDao
();
CheckGoworkRecordDao
getDao
();
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendRecordServiceImpl.java
View file @
15a1d4d3
package
com.mortals.xhx.module.perform.service.impl
;
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckAttendRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckAttendRecordService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
...
@@ -18,4 +23,20 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -18,4 +23,20 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
@Slf4j
public
class
PerformAttendRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformAttendRecordDao
,
PerformAttendRecordEntity
,
Long
>
implements
PerformAttendRecordService
{
public
class
PerformAttendRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformAttendRecordDao
,
PerformAttendRecordEntity
,
Long
>
implements
PerformAttendRecordService
{
@Autowired
private
CheckAttendRecordService
checkAttendRecordService
;
@Override
protected
void
saveAfter
(
PerformAttendRecordEntity
entity
,
Context
context
)
throws
AppException
{
CheckAttendRecordEntity
checkAttendRecordEntity
=
new
CheckAttendRecordEntity
();
checkAttendRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkAttendRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkAttendRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkAttendRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
}
else
{
checkAttendRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
}
checkAttendRecordService
.
save
(
checkAttendRecordEntity
,
context
);
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformComplainRecordServiceImpl.java
View file @
15a1d4d3
package
com.mortals.xhx.module.perform.service.impl
;
package
com.mortals.xhx.module.perform.service.impl
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckComplainRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckComplainRecordService
;
import
com.mortals.xhx.module.perform.dao.PerformComplainRecordDao
;
import
com.mortals.xhx.module.perform.dao.PerformComplainRecordDao
;
import
com.mortals.xhx.module.perform.model.PerformComplainRecordEntity
;
import
com.mortals.xhx.module.perform.model.PerformComplainRecordEntity
;
import
com.mortals.xhx.module.perform.service.PerformComplainRecordService
;
import
com.mortals.xhx.module.perform.service.PerformComplainRecordService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
/**
* PerformComplainRecordService
* PerformComplainRecordService
* 评价绩效投诉记录信息 service实现
* 评价绩效投诉记录信息 service实现
...
@@ -18,4 +24,20 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -18,4 +24,20 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
@Slf4j
public
class
PerformComplainRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformComplainRecordDao
,
PerformComplainRecordEntity
,
Long
>
implements
PerformComplainRecordService
{
public
class
PerformComplainRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformComplainRecordDao
,
PerformComplainRecordEntity
,
Long
>
implements
PerformComplainRecordService
{
@Autowired
private
CheckComplainRecordService
checkComplainRecordService
;
@Override
protected
void
saveAfter
(
PerformComplainRecordEntity
entity
,
Context
context
)
throws
AppException
{
CheckComplainRecordEntity
checkComplainRecordEntity
=
new
CheckComplainRecordEntity
();
checkComplainRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkComplainRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkComplainRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkComplainRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
}
else
{
checkComplainRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
}
checkComplainRecordService
.
save
(
checkComplainRecordEntity
,
context
);
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformEffectRecordServiceImpl.java
View file @
15a1d4d3
package
com.mortals.xhx.module.perform.service.impl
;
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckEffectRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckEffectRecordService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
...
@@ -18,4 +23,20 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -18,4 +23,20 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
@Slf4j
public
class
PerformEffectRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformEffectRecordDao
,
PerformEffectRecordEntity
,
Long
>
implements
PerformEffectRecordService
{
public
class
PerformEffectRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformEffectRecordDao
,
PerformEffectRecordEntity
,
Long
>
implements
PerformEffectRecordService
{
@Autowired
private
CheckEffectRecordService
checkEffectRecordService
;
@Override
protected
void
saveAfter
(
PerformEffectRecordEntity
entity
,
Context
context
)
throws
AppException
{
CheckEffectRecordEntity
checkEffectRecordEntity
=
new
CheckEffectRecordEntity
();
checkEffectRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkEffectRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkEffectRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkEffectRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
}
else
{
checkEffectRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
}
checkEffectRecordService
.
save
(
checkEffectRecordEntity
,
context
);
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformGoworkRecordServiceImpl.java
View file @
15a1d4d3
package
com.mortals.xhx.module.perform.service.impl
;
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckGoworkRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckGoworkRecordService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
...
@@ -18,4 +23,20 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -18,4 +23,20 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
@Slf4j
public
class
PerformGoworkRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformGoworkRecordDao
,
PerformGoworkRecordEntity
,
Long
>
implements
PerformGoworkRecordService
{
public
class
PerformGoworkRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformGoworkRecordDao
,
PerformGoworkRecordEntity
,
Long
>
implements
PerformGoworkRecordService
{
@Autowired
private
CheckGoworkRecordService
checkGoworkRecordService
;
@Override
protected
void
saveAfter
(
PerformGoworkRecordEntity
entity
,
Context
context
)
throws
AppException
{
CheckGoworkRecordEntity
checkGoworkRecordEntity
=
new
CheckGoworkRecordEntity
();
checkGoworkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkGoworkRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkGoworkRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkGoworkRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
}
else
{
checkGoworkRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
}
checkGoworkRecordService
.
save
(
checkGoworkRecordEntity
,
context
);
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformOtherRecordServiceImpl.java
View file @
15a1d4d3
package
com.mortals.xhx.module.perform.service.impl
;
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckOtherRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckOtherRecordService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
...
@@ -18,4 +23,20 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -18,4 +23,20 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
@Slf4j
public
class
PerformOtherRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformOtherRecordDao
,
PerformOtherRecordEntity
,
Long
>
implements
PerformOtherRecordService
{
public
class
PerformOtherRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformOtherRecordDao
,
PerformOtherRecordEntity
,
Long
>
implements
PerformOtherRecordService
{
@Autowired
private
CheckOtherRecordService
checkOtherRecordService
;
@Override
protected
void
saveAfter
(
PerformOtherRecordEntity
entity
,
Context
context
)
throws
AppException
{
CheckOtherRecordEntity
checkOtherRecordEntity
=
new
CheckOtherRecordEntity
();
checkOtherRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkOtherRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkOtherRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkOtherRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
}
else
{
checkOtherRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
}
checkOtherRecordService
.
save
(
checkOtherRecordEntity
,
context
);
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformReviewRecordServiceImpl.java
View file @
15a1d4d3
package
com.mortals.xhx.module.perform.service.impl
;
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckReviewRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckReviewRecordService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
...
@@ -18,4 +23,19 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -18,4 +23,19 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
@Slf4j
public
class
PerformReviewRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformReviewRecordDao
,
PerformReviewRecordEntity
,
Long
>
implements
PerformReviewRecordService
{
public
class
PerformReviewRecordServiceImpl
extends
AbstractCRUDServiceImpl
<
PerformReviewRecordDao
,
PerformReviewRecordEntity
,
Long
>
implements
PerformReviewRecordService
{
@Autowired
private
CheckReviewRecordService
checkReviewRecordService
;
@Override
protected
void
saveAfter
(
PerformReviewRecordEntity
entity
,
Context
context
)
throws
AppException
{
CheckReviewRecordEntity
checkReviewRecordEntity
=
new
CheckReviewRecordEntity
();
BeanUtils
.
copyProperties
(
entity
,
checkReviewRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkReviewRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkReviewRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
}
else
{
checkReviewRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
}
checkReviewRecordService
.
save
(
checkReviewRecordEntity
,
context
);
}
}
}
\ 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