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
fb6dc874
Commit
fb6dc874
authored
Jul 19, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/attendance-performance-platform
parents
5dbcf4af
ffb6f3d3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
10 deletions
+12
-10
attendance-performance-manager/src/main/java/com/mortals/xhx/base/system/message/impl/MessageServiceImpl.java
...tals/xhx/base/system/message/impl/MessageServiceImpl.java
+2
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
...dingding/personal/service/impl/DingPersonServiceImpl.java
+0
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendAppealServiceImpl.java
.../perform/service/impl/PerformAttendAppealServiceImpl.java
+6
-6
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformAttendAppealController.java
...xhx/module/perform/web/PerformAttendAppealController.java
+3
-0
attendance-performance-manager/src/main/resources/bootstrap.yml
...ance-performance-manager/src/main/resources/bootstrap.yml
+1
-2
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/base/system/message/impl/MessageServiceImpl.java
View file @
fb6dc874
...
@@ -21,7 +21,7 @@ import org.springframework.stereotype.Service;
...
@@ -21,7 +21,7 @@ import org.springframework.stereotype.Service;
@Slf4j
@Slf4j
public
class
MessageServiceImpl
implements
MessageService
{
public
class
MessageServiceImpl
implements
MessageService
{
@Value
(
"${webUrl:
''
}"
)
@Value
(
"${webUrl:}"
)
private
String
webUrl
;
private
String
webUrl
;
@Autowired
@Autowired
private
IDingPersonService
dingPersonService
;
private
IDingPersonService
dingPersonService
;
...
@@ -34,6 +34,7 @@ public class MessageServiceImpl implements MessageService {
...
@@ -34,6 +34,7 @@ public class MessageServiceImpl implements MessageService {
Link
link
=
new
Link
();
Link
link
=
new
Link
();
//link.setMessageUrl(webUrl + dingMsg.getPath());
//link.setMessageUrl(webUrl + dingMsg.getPath());
link
.
setMessageUrl
(
webUrl
+
dingMsg
.
getPath
());
link
.
setMessageUrl
(
webUrl
+
dingMsg
.
getPath
());
log
.
info
(
"linkUrl:"
+
link
.
getMessageUrl
());
if
(
SubAddTypeEnum
.
增加
.
getValue
()
==
dingMsg
.
getSubAddType
())
{
if
(
SubAddTypeEnum
.
增加
.
getValue
()
==
dingMsg
.
getSubAddType
())
{
link
.
setText
(
String
.
format
(
"你好,经人工核实后你在%%-%s"
+
link
.
setText
(
String
.
format
(
"你好,经人工核实后你在%%-%s"
+
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
View file @
fb6dc874
...
@@ -70,7 +70,6 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
...
@@ -70,7 +70,6 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
public
Rest
<
String
>
sendWorkMsg
(
WorkMsgReq
workMsgReq
)
{
public
Rest
<
String
>
sendWorkMsg
(
WorkMsgReq
workMsgReq
)
{
try
{
try
{
DingTalkClient
client
=
getDingTalkClient
(
"/topapi/message/corpconversation/asyncsend_v2"
);
DingTalkClient
client
=
getDingTalkClient
(
"/topapi/message/corpconversation/asyncsend_v2"
);
OapiMessageCorpconversationAsyncsendV2Request
req
=
new
OapiMessageCorpconversationAsyncsendV2Request
();
OapiMessageCorpconversationAsyncsendV2Request
req
=
new
OapiMessageCorpconversationAsyncsendV2Request
();
req
.
setAgentId
(
agentId
);
req
.
setAgentId
(
agentId
);
req
.
setUseridList
(
workMsgReq
.
getUseridList
());
req
.
setUseridList
(
workMsgReq
.
getUseridList
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendAppealServiceImpl.java
View file @
fb6dc874
...
@@ -128,7 +128,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -128,7 +128,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
if
(
appeal
.
getSubAddType
()
==
SubAddTypeEnum
.
扣除
.
getValue
())
{
if
(
appeal
.
getSubAddType
()
==
SubAddTypeEnum
.
扣除
.
getValue
())
{
//需增一条记录后 冲销相关核查的记录
//需增一条记录后 冲销相关核查的记录
if
(
PerformTypeEnum
.
考勤绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
if
(
PerformTypeEnum
.
考勤绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
CheckAttendRecordEntity
checkEntity
=
checkAttendRecordService
.
get
(
appeal
.
getId
(),
context
);
CheckAttendRecordEntity
checkEntity
=
checkAttendRecordService
.
get
(
appeal
.
get
CheckRecord
Id
(),
context
);
CheckAttendRecordEntity
checkAttendRecordEntity
=
new
CheckAttendRecordEntity
();
CheckAttendRecordEntity
checkAttendRecordEntity
=
new
CheckAttendRecordEntity
();
checkAttendRecordEntity
.
initAttrValue
();
checkAttendRecordEntity
.
initAttrValue
();
...
@@ -138,7 +138,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -138,7 +138,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
checkAttendRecordEntity
.
setRemark
(
appealMsg
);
checkAttendRecordEntity
.
setRemark
(
appealMsg
);
checkAttendRecordService
.
save
(
checkAttendRecordEntity
,
context
);
checkAttendRecordService
.
save
(
checkAttendRecordEntity
,
context
);
}
else
if
(
PerformTypeEnum
.
评价差评绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
评价差评绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
CheckReviewRecordEntity
checkEntity
=
checkReviewRecordService
.
get
(
appeal
.
getId
(),
context
);
CheckReviewRecordEntity
checkEntity
=
checkReviewRecordService
.
get
(
appeal
.
get
CheckRecord
Id
(),
context
);
CheckReviewRecordEntity
checkRecordEntity
=
new
CheckReviewRecordEntity
();
CheckReviewRecordEntity
checkRecordEntity
=
new
CheckReviewRecordEntity
();
checkRecordEntity
.
initAttrValue
();
checkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
...
@@ -149,7 +149,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -149,7 +149,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkReviewRecordService
.
save
(
checkRecordEntity
,
context
);
checkReviewRecordService
.
save
(
checkRecordEntity
,
context
);
}
else
if
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
CheckComplainRecordEntity
checkEntity
=
checkComplainRecordService
.
get
(
appeal
.
getId
(),
context
);
CheckComplainRecordEntity
checkEntity
=
checkComplainRecordService
.
get
(
appeal
.
get
CheckRecord
Id
(),
context
);
CheckComplainRecordEntity
checkRecordEntity
=
new
CheckComplainRecordEntity
();
CheckComplainRecordEntity
checkRecordEntity
=
new
CheckComplainRecordEntity
();
checkRecordEntity
.
initAttrValue
();
checkRecordEntity
.
initAttrValue
();
...
@@ -162,7 +162,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -162,7 +162,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
checkComplainRecordService
.
save
(
checkRecordEntity
,
context
);
checkComplainRecordService
.
save
(
checkRecordEntity
,
context
);
}
else
if
(
PerformTypeEnum
.
办件绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
办件绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
CheckGoworkRecordEntity
checkEntity
=
checkGoworkRecordService
.
get
(
appeal
.
getId
(),
context
);
CheckGoworkRecordEntity
checkEntity
=
checkGoworkRecordService
.
get
(
appeal
.
get
CheckRecord
Id
(),
context
);
CheckGoworkRecordEntity
checkRecordEntity
=
new
CheckGoworkRecordEntity
();
CheckGoworkRecordEntity
checkRecordEntity
=
new
CheckGoworkRecordEntity
();
checkRecordEntity
.
initAttrValue
();
checkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
...
@@ -174,7 +174,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -174,7 +174,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
checkGoworkRecordService
.
save
(
checkRecordEntity
,
context
);
checkGoworkRecordService
.
save
(
checkRecordEntity
,
context
);
}
else
if
(
PerformTypeEnum
.
效能绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
效能绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
CheckEffectRecordEntity
checkEntity
=
checkEffectRecordService
.
get
(
appeal
.
getId
(),
context
);
CheckEffectRecordEntity
checkEntity
=
checkEffectRecordService
.
get
(
appeal
.
get
CheckRecord
Id
(),
context
);
CheckEffectRecordEntity
checkRecordEntity
=
new
CheckEffectRecordEntity
();
CheckEffectRecordEntity
checkRecordEntity
=
new
CheckEffectRecordEntity
();
checkRecordEntity
.
initAttrValue
();
checkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
...
@@ -186,7 +186,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -186,7 +186,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
checkEffectRecordService
.
save
(
checkRecordEntity
,
context
);
checkEffectRecordService
.
save
(
checkRecordEntity
,
context
);
}
else
if
(
PerformTypeEnum
.
其它绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
其它绩效
.
getValue
().
equals
(
appeal
.
getPerformType
()))
{
CheckOtherRecordEntity
checkEntity
=
checkOtherRecordService
.
get
(
appeal
.
getId
(),
context
);
CheckOtherRecordEntity
checkEntity
=
checkOtherRecordService
.
get
(
appeal
.
get
CheckRecord
Id
(),
context
);
CheckOtherRecordEntity
checkRecordEntity
=
new
CheckOtherRecordEntity
();
CheckOtherRecordEntity
checkRecordEntity
=
new
CheckOtherRecordEntity
();
checkRecordEntity
.
initAttrValue
();
checkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformAttendAppealController.java
View file @
fb6dc874
...
@@ -15,6 +15,7 @@ import com.mortals.xhx.module.perform.model.PerformRulesQuery;
...
@@ -15,6 +15,7 @@ import com.mortals.xhx.module.perform.model.PerformRulesQuery;
import
com.mortals.xhx.module.perform.model.vo.AppealInfo
;
import
com.mortals.xhx.module.perform.model.vo.AppealInfo
;
import
com.mortals.xhx.module.perform.model.vo.AppealSummaryQuery
;
import
com.mortals.xhx.module.perform.model.vo.AppealSummaryQuery
;
import
com.mortals.xhx.module.perform.service.PerformRulesService
;
import
com.mortals.xhx.module.perform.service.PerformRulesService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -54,6 +55,7 @@ import static java.util.stream.Collectors.toMap;
...
@@ -54,6 +55,7 @@ import static java.util.stream.Collectors.toMap;
*/
*/
@RestController
@RestController
@RequestMapping
(
"perform/attend/appeal"
)
@RequestMapping
(
"perform/attend/appeal"
)
@Slf4j
public
class
PerformAttendAppealController
extends
BaseCRUDJsonBodyMappingController
<
PerformAttendAppealService
,
PerformAttendAppealEntity
,
Long
>
{
public
class
PerformAttendAppealController
extends
BaseCRUDJsonBodyMappingController
<
PerformAttendAppealService
,
PerformAttendAppealEntity
,
Long
>
{
@Autowired
@Autowired
...
@@ -125,6 +127,7 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
...
@@ -125,6 +127,7 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
*/
*/
@PostMapping
(
value
=
"audit"
)
@PostMapping
(
value
=
"audit"
)
public
String
appealAudit
(
@RequestBody
PerformAttendAppealEntity
appeal
)
{
public
String
appealAudit
(
@RequestBody
PerformAttendAppealEntity
appeal
)
{
log
.
info
(
"appeal audit ==>{}"
,
JSONObject
.
toJSONString
(
appeal
));
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
String
busiDesc
=
this
.
getModuleDesc
()
+
"审核"
;
String
busiDesc
=
this
.
getModuleDesc
()
+
"审核"
;
try
{
try
{
...
...
attendance-performance-manager/src/main/resources/bootstrap.yml
View file @
fb6dc874
...
@@ -66,13 +66,12 @@ hik:
...
@@ -66,13 +66,12 @@ hik:
# AppKey: dingpqzradgfr4efdi2j
# AppKey: dingpqzradgfr4efdi2j
# AppSecret: bF2WALmo5_Wuj3hg5gXeWqezrYnZChUJ88HjzNWpkA9ivdOxfBDGOGYcfVRfB3vd
# AppSecret: bF2WALmo5_Wuj3hg5gXeWqezrYnZChUJ88HjzNWpkA9ivdOxfBDGOGYcfVRfB3vd
# domain: https://oapi.dingtalk.com
# domain: https://oapi.dingtalk.com
webUrl
:
@
profiles.webUrl@
dingtalk
:
dingtalk
:
domain
:
@
profiles.dingtalk.domain@
domain
:
@
profiles.dingtalk.domain@
agentId
:
@
profiles.dingtalk.agentId@
agentId
:
@
profiles.dingtalk.agentId@
AppKey
:
@
profiles.dingtalk.appKey@
AppKey
:
@
profiles.dingtalk.appKey@
AppSecret
:
@
profiles.dingtalk.appSecret@
AppSecret
:
@
profiles.dingtalk.appSecret@
webUrl
:
@
profiles.webUrl@
AesKey
:
@
profiles.dingtalk.aesKey@
AesKey
:
@
profiles.dingtalk.aesKey@
token
:
@
profiles.dingtalk.token@
token
:
@
profiles.dingtalk.token@
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