Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-mindworkplate
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6fa30d42
authored
Dec 25, 2025
by
杨卫
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/v5.5.1' into v5.5.1
2 parents
f5dc7849
8f5b37ed
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/job/digitalmanagement/DailyReportUnsubmittedSummaryJob.java
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/mapper/digitalmanagement/DigitalManagementTemplateMapper.java
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/service/digitalmanagement/DigitalManagementStaffRecordService.java
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/service/digitalmanagement/DigitalManagementTemplateService.java
rpc-dj-mindworkplate/src/main/resources/META-INF/orm/DigitalManagementTemplateMapper.xml
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/job/digitalmanagement/DailyReportUnsubmittedSummaryJob.java
View file @
6fa30d4
...
...
@@ -32,7 +32,7 @@ import java.util.stream.Collectors;
* @Version 1.0
*/
@Slf4j
@ElasticJobConf
(
name
=
"DailyReportUnsubmittedSummaryJob"
,
cron
=
"0
23 *
* * ?"
,
description
=
"工作日报未填写统计推送"
,
overwrite
=
false
)
@ElasticJobConf
(
name
=
"DailyReportUnsubmittedSummaryJob"
,
cron
=
"0
0 23
* * ?"
,
description
=
"工作日报未填写统计推送"
,
overwrite
=
false
)
public
class
DailyReportUnsubmittedSummaryJob
implements
SimpleJob
{
@Autowired
...
...
@@ -83,7 +83,7 @@ public class DailyReportUnsubmittedSummaryJob implements SimpleJob {
Integer
count
=
0
;
String
unsubmittedStaffName
=
"无"
;
DigitalManagementStaffRecordDTO
staffRecordDTO
=
new
DigitalManagementStaffRecordDTO
();
staffRecordDTO
.
setTemplateCode
(
template
Service
.
getRegionalTemplateCode
()
);
staffRecordDTO
.
setTemplateCode
(
template
Code
);
staffRecordDTO
.
setStartTime
(
DateUtils
.
getStartTimeOfDay
(
new
Date
()));
staffRecordDTO
.
setEndTime
(
new
Date
());
// 今日未提交员工
...
...
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/mapper/digitalmanagement/DigitalManagementTemplateMapper.java
View file @
6fa30d4
...
...
@@ -24,7 +24,7 @@ public interface DigitalManagementTemplateMapper extends OreMapper<DigitalManage
* @param date
* @return
*/
DigitalManagementTemplate
queryUserTemplate
(
@Param
(
"uuid"
)
String
uuid
,
@Param
(
"date"
)
Date
date
);
DigitalManagementTemplate
queryUserTemplate
(
@Param
(
"uuid"
)
String
uuid
,
@Param
(
"date"
)
Date
date
,
@Param
(
"excludeTempCode"
)
String
excludeTempCode
);
/**
* 查找用户指定日期关联的模板
...
...
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/service/digitalmanagement/DigitalManagementStaffRecordService.java
View file @
6fa30d4
...
...
@@ -251,7 +251,7 @@ public class DigitalManagementStaffRecordService {
private
DigitalManagementStaffRecordDTO
getStaffRecordTemplateInfo
(
Integer
loginRole
,
String
uuid
,
Date
date
,
String
templateCode
)
{
DigitalManagementTemplate
template
;
if
(
StringUtils
.
isBlank
(
templateCode
))
{
if
(
StringUtils
.
is
Not
Blank
(
templateCode
))
{
template
=
templateMapper
.
findByCode
(
templateCode
);
}
else
{
template
=
templateService
.
getTemplateByStaffUuid
(
loginRole
,
uuid
,
date
);
...
...
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/service/digitalmanagement/DigitalManagementTemplateService.java
View file @
6fa30d4
...
...
@@ -514,7 +514,8 @@ public class DigitalManagementTemplateService {
switch
(
loginRole
){
// 区域运营角色,查询圈人
case
DigitalManagementConstants
.
LOGIN_ROLE_REGIONAL_SUPERVISION
:
DigitalManagementTemplate
template
=
templateMapper
.
queryUserTemplate
(
uuid
,
date
);
// 排除一下轻改日报模板
DigitalManagementTemplate
template
=
templateMapper
.
queryUserTemplate
(
uuid
,
date
,
getLightChangeTemplateCode
());
if
(
template
==
null
)
{
return
null
;
}
...
...
rpc-dj-mindworkplate/src/main/resources/META-INF/orm/DigitalManagementTemplateMapper.xml
View file @
6fa30d4
...
...
@@ -84,6 +84,9 @@
SELECT r2.template_code as template_code, max(r2.id) as id
FROM digital_management_template_staff_ref r2
where r2.deleted_flag = 'N'
<if
test=
"excludeTempCode != null and excludeTempCode != ''"
>
and r2.template_code != #{excludeTempCode}
</if>
and r2.effective_date
<
= date(#{date})
group by r2.template_code
) temp on temp.template_code = r1.template_code
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment