|
|
|
@ -440,7 +440,7 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
|
|
|
|
|
public String generateAbnormalBill(AbnormalBill abnormalBill, AbnormalBillDispose abnormalBillDispose,List<String> dutyCauseType,List<String> dutyType) {
|
|
|
|
|
String site = CommonMethods.getSite();
|
|
|
|
|
//返回的消息
|
|
|
|
|
String message = "保存成功";
|
|
|
|
|
String message = "提报成功";
|
|
|
|
|
LocalDateTime currentTime = LocalDateTime.now();
|
|
|
|
|
String user = CommonMethods.getUser();
|
|
|
|
|
//如果前台传过来的异常单为空的话,则抛出一个异常
|
|
|
|
@ -793,7 +793,12 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
this.anomalyReportDevice(abnormalBill,abnormalBillDispose);
|
|
|
|
|
if(Constants.ABNORMAL_RESRCE.equals(category)){
|
|
|
|
|
this.anomalyReportDevice(abnormalBill,abnormalBillDispose);
|
|
|
|
|
}else if(Constants.ABNORMAL_OTHER.equals(category)){
|
|
|
|
|
this.anomalyReportOther(abnormalBill,abnormalBillDispose,null,null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|