内贸空运,主单保存时查询旧数据的查询参数不对,改正

DS7_JinGang
ddlucky 2 years ago
parent 20064bb0b7
commit 43bab0b2b4

@ -263,7 +263,7 @@ namespace DSWeb.MvcShipping.Controllers
var feecount = BasicDataRefDAL.GetExist("ch_fee", " BSNO='" + headData.BSNO + "' "); var feecount = BasicDataRefDAL.GetExist("ch_fee", " BSNO='" + headData.BSNO + "' ");
if (feecount > 0) { if (feecount > 0) {
var oldheadData = MsOpAirnDAL.GetData(" BSNO='" + headData.BSNO + "' "); var oldheadData = MsOpAirnDAL.GetData(" B.BSNO='" + headData.BSNO + "' ");
headData.BLFRT = oldheadData.BLFRT; headData.BLFRT = oldheadData.BLFRT;
headData.PFREIGHT = oldheadData.PFREIGHT; headData.PFREIGHT = oldheadData.PFREIGHT;

Loading…
Cancel
Save