|
|
@@ -200,7 +200,8 @@ public class LedgerSyncServiceImpl implements ILedgerSyncService {
|
|
200
|
200
|
long l3Id; BigDecimal defaultSv;
|
|
201
|
201
|
if (level.contains("上级")) { l3Id = IND_SUPERVISION_L3_LEADER; defaultSv = BigDecimal.valueOf(-1.20); }
|
|
202
|
202
|
else if (level.contains("部门")) { l3Id = IND_SUPERVISION_L3_DEPT; defaultSv = BigDecimal.valueOf(-0.80); }
|
|
203
|
|
- else { l3Id = IND_SUPERVISION_L3_STATION; defaultSv = NEG_ONE; }
|
|
|
203
|
+ else if (level.contains("站")) { l3Id = IND_SUPERVISION_L3_STATION; defaultSv = NEG_ONE; }
|
|
|
204
|
+ else { skip++; continue; }
|
|
204
|
205
|
BigDecimal sv = row.getDeductScore() != null ? row.getDeductScore().negate() : defaultSv;
|
|
205
|
206
|
ScoreIndicator lv3 = getIndicator(l3Id);
|
|
206
|
207
|
ScoreEvent e = buildEvent(dimId, lv2, lv3, row.getInspectedName(),
|
|
|
@@ -270,7 +271,8 @@ public class LedgerSyncServiceImpl implements ILedgerSyncService {
|
|
270
|
271
|
long l3Id;
|
|
271
|
272
|
if (level.contains("局方")) { l3Id = IND_SECTEST_L3_GOV; }
|
|
272
|
273
|
else if (level.contains("公司")) { l3Id = IND_SECTEST_L3_CORP; }
|
|
273
|
|
- else { l3Id = IND_SECTEST_L3_STA; }
|
|
|
274
|
+ else if (level.contains("站")) { l3Id = IND_SECTEST_L3_STA; }
|
|
|
275
|
+ else { skip++; continue; }
|
|
274
|
276
|
ScoreIndicator lv3 = getIndicator(l3Id);
|
|
275
|
277
|
ScoreEvent e = buildEvent(dimId, lv2, lv3, row.getTestedName(),
|
|
276
|
278
|
row.getTeamName(), row.getRecordDate(),
|
|
|
@@ -390,7 +392,8 @@ public class LedgerSyncServiceImpl implements ILedgerSyncService {
|
|
390
|
392
|
long l3Id; BigDecimal defaultSv;
|
|
391
|
393
|
if (level.contains("航站楼")) { l3Id = IND_SVCPATROL_L3_TERMINAL; defaultSv = BigDecimal.valueOf(-1.20); }
|
|
392
|
394
|
else if (level.contains("站层级") || level.contains("站级")) { l3Id = IND_SVCPATROL_L3_STATION; defaultSv = NEG_ONE; }
|
|
393
|
|
- else { l3Id = IND_SVCPATROL_L3_DEPT; defaultSv = NEG_08; }
|
|
|
395
|
+ else if (level.contains("部门")) { l3Id = IND_SVCPATROL_L3_DEPT; defaultSv = NEG_08; }
|
|
|
396
|
+ else { skip++; continue; }
|
|
394
|
397
|
BigDecimal sv = row.getDeductScore() != null ? row.getDeductScore().negate() : defaultSv;
|
|
395
|
398
|
ScoreIndicator lv3 = getIndicator(l3Id);
|
|
396
|
399
|
ScoreEvent e = buildEvent(dimId, lv2, lv3, row.getInspectedName(),
|