|
|
|
@ -1993,7 +1993,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
var blUpSQL = " insert into sys_log(GID,NAME,LOGTYPE,LOGTIME,LOGCONTENT,CREATEUSER) values(NEWID(),'" + headData.BSNO + "','ETD更改','" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "','" + headData.ETD + '(' + ETD + ')' + "','" + userid + "')";
|
|
|
|
|
bool bl = T_ALL_DA.GetExecuteSqlCommand(blUpSQL);
|
|
|
|
|
}
|
|
|
|
|
var ACCDATE2 = T_ALL_DA.GetStrSQL("ACCDATE", "select MBLNO from OP_SEAE WHERE BSNO='" + headData.BSNO + "'");
|
|
|
|
|
var ACCDATE2 = T_ALL_DA.GetStrSQL("ACCDATE", "select ACCDATE from OP_SEAE WHERE BSNO='" + headData.BSNO + "'");
|
|
|
|
|
if (ACCDATE2 != headData.ACCDATE)
|
|
|
|
|
{
|
|
|
|
|
var blUpSQL = " insert into sys_log(GID,NAME,LOGTYPE,LOGTIME,LOGCONTENT,CREATEUSER) values(NEWID(),'" + headData.BSNO + "','会计期间更改','" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "','" + headData.ACCDATE + '(' + ACCDATE2 + ')' + "','" + userid + "')";
|
|
|
|
@ -2233,7 +2233,11 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
//则用ctnall的前两位填充size
|
|
|
|
|
//用ctnall的后两位填充ctn
|
|
|
|
|
|
|
|
|
|
foreach (var ctn in bodyList) {
|
|
|
|
|
if (bodyList != null)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
foreach (var ctn in bodyList)
|
|
|
|
|
{
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(ctn.CTNALL) && string.IsNullOrWhiteSpace(ctn.SIZE))
|
|
|
|
|
{
|
|
|
|
|
ctn.SIZE = ctn.CTNALL.Substring(0, 2);
|
|
|
|
@ -2243,6 +2247,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
ctn.SIZE = ctn.CTNALL.Substring(ctn.CTNALL.Length - 2, 2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
result = MsOpSeaeDAL.SaveDetail(BSNO, bodyList, userid, true);
|
|
|
|
|
|
|
|
|
|