|
|
|
@ -318,14 +318,16 @@ namespace DSWeb.MvcShipping.DAL.MsOpOtherDAL
|
|
|
|
|
|
|
|
|
|
if (result.Success == true)
|
|
|
|
|
{
|
|
|
|
|
//headData.DbOperationType = DbOperationType.DbotUpd;
|
|
|
|
|
//headData.ModelUIStatus = "E";
|
|
|
|
|
|
|
|
|
|
//if (result.Success) {
|
|
|
|
|
// var detailList = GetBodyList(" BSNO='" + headData.BSNO + "'");
|
|
|
|
|
// headData.setSum(detailList);
|
|
|
|
|
// result = modb.Save(headData);
|
|
|
|
|
//}
|
|
|
|
|
headData.DbOperationType = DbOperationType.DbotUpd;
|
|
|
|
|
headData.ModelUIStatus = "E";
|
|
|
|
|
headData = GetData("BSNO='" + headData.BSNO + "'");
|
|
|
|
|
if (result.Success)
|
|
|
|
|
{
|
|
|
|
|
var detailList = GetBodyList(" BSNO='" + headData.BSNO + "'");
|
|
|
|
|
headData.setSum(detailList);
|
|
|
|
|
result = modb.Save(headData);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|