| | |
| | | if (item.ResendStatus == 1 && item.ResendFlag == 1) { resendStatusText = "<span class='text-danger'>失败短信已补发</span>"; } |
| | | if (item.ResendStatus == 1 && item.ResendFlag == 0) { resendStatusText = "<span class='text-success'>补发记录</span>"; } |
| | | str += "<td>" + resendStatusText + "</td>"; |
| | | str += "<td>" + (item.OpDeliverTime - item.SubmitTime).TotalSeconds + "</td>"; |
| | | if (item.OpDeliverTime.ToString() == "0001/1/1 0:00:00" || item.OpDeliverTime == null) |
| | | { |
| | | str += "<td>" + "无法计算" + "</td>"; |
| | | } |
| | | else |
| | | { |
| | | str += "<td>" + (item.OpDeliverTime - item.SubmitTime).TotalSeconds + "</td>"; |
| | | } |
| | | |
| | | str += "<td>" + item.APFeeCount + "/" + item.OPFeeCount + "</td>"; |
| | | str += "<td>" + item.APResult + "/" + item.OPResult + "</td>"; |
| | | str += @"<td class=""text-right"">" + (item.SubmitTime == DateTime.MinValue ? string.Empty : item.SubmitTime.ToString("yy-MM-dd HH:mm:ss")) + "</td>"; |