diff --git a/DSWeb/Areas/MvcShipping/Controllers/MsOpAirnController.cs b/DSWeb/Areas/MvcShipping/Controllers/MsOpAirnController.cs index 7c740939..18488450 100644 --- a/DSWeb/Areas/MvcShipping/Controllers/MsOpAirnController.cs +++ b/DSWeb/Areas/MvcShipping/Controllers/MsOpAirnController.cs @@ -377,7 +377,7 @@ namespace DSWeb.MvcShipping.Controllers //如果有 就不进行更改 var 主单 = MsOpAirnDAL.GetData(" BLTYPE='国内主单' and HBLNO='" + headData.HBLNO + "' "); - var feecount = BasicDataRefDAL.GetExist("ch_fee_advance_payment_detail", " BSNO='" + headData.BSNO + "' "); + var feecount = BasicDataRefDAL.GetExist("ch_fee_advance_payment_detail", " BSNO='" + 主单.BSNO + "' "); if (feecount > 0) {