fix(fixcontact): 状态统计将 bpm_status 为空的记录按未开始计数
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+4
@@ -68,7 +68,11 @@ public class FixedContact20260730Controller extends JeecgController<FixedContact
|
||||
int notStarted = 0, inProgress = 0, overdue = 0, completed = 0;
|
||||
java.time.LocalDate today = java.time.LocalDate.now();
|
||||
for (FixedContact20260730 item : list) {
|
||||
// bpm_status 为空表示未发起,按未开始统计
|
||||
BpmStatus bpmStatus = BpmStatus.fromCode(item.getBpmStatus());
|
||||
if (bpmStatus == null) {
|
||||
bpmStatus = BpmStatus.NOT_START;
|
||||
}
|
||||
if (bpmStatus == BpmStatus.NOT_START) {
|
||||
notStarted++;
|
||||
} else if (bpmStatus == BpmStatus.SUPERVISING) {
|
||||
|
||||
Reference in New Issue
Block a user