From 9a3986cb8a1fd67bfc539ca0d1e6d8607e6c2a4f Mon Sep 17 00:00:00 2001 From: dengyu Date: Mon, 20 Nov 2023 16:57:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BA=E8=AF=BA=E5=85=A8=E7=94=B5=20?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=BD=93=E5=A4=A9=E6=97=A0=E6=B3=95=E5=86=B2?= =?UTF-8?q?=E7=BA=A2=E7=9A=84=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/Chfee_invoice_HangXinController.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/DSWeb/Areas/Account/Controllers/Chfee_invoice_HangXinController.cs b/DSWeb/Areas/Account/Controllers/Chfee_invoice_HangXinController.cs index a61df227..db222446 100644 --- a/DSWeb/Areas/Account/Controllers/Chfee_invoice_HangXinController.cs +++ b/DSWeb/Areas/Account/Controllers/Chfee_invoice_HangXinController.cs @@ -1767,13 +1767,14 @@ namespace DSWeb.Areas.Account.Controllers } //增加判断 如果原票createtime晚于当前时间24小时之前,则报错不允许开出 - if (BlueInvoice.INVOICEMAKETIME == null || BlueInvoice.INVOICEMAKETIME == "" || Convert.ToDateTime(BlueInvoice.INVOICEMAKETIME) > DateTime.Now.AddDays(-1)) - { - jsonRespose.Success = false; - jsonRespose.Message = $"该蓝票为{BlueInvoice.INVOICEMAKETIME}开出,当前无法冲红"; + //20231120 取消此限制 + //if (BlueInvoice.INVOICEMAKETIME == null || BlueInvoice.INVOICEMAKETIME == "" || Convert.ToDateTime(BlueInvoice.INVOICEMAKETIME) > DateTime.Now.AddDays(-1)) + //{ + // jsonRespose.Success = false; + // jsonRespose.Message = $"该蓝票为{BlueInvoice.INVOICEMAKETIME}开出,当前无法冲红"; - return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) }; - } + // return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) }; + //} }