hanxuntao 1 week ago
parent b826036539
commit af62fe6d94

@ -2214,7 +2214,7 @@ namespace DSWeb.MvcShipping.Controllers
if (tuioptype == "V") if (tuioptype == "V")
{ {
#region 推航次 #region 推航次
result = MsOpSeaeDAL.SubmitTuiShen(CookieConfig.GetCookie_UserId(Request), headData, tuioptype, reason); result = MsOpSeaeDAL.SubmitTuiShen(CookieConfig.GetCookie_UserId(Request), headData, tuioptype, reason, REASONCMB);
#endregion #endregion
} }
else else

@ -246,6 +246,8 @@ namespace DSWeb.MvcShipping.DAL.MsBaseInfoDAL
static public bool GetUserModuleEnable(string modulename, string userid) static public bool GetUserModuleEnable(string modulename, string userid)
{ {
if (string.IsNullOrEmpty(userid)) return false;
try try
{ {
var result = false; var result = false;

@ -42,6 +42,7 @@ using DSWeb.MvcShipping.DAL.MsOpSeaePreDAL;
using Ivony.Fluent; using Ivony.Fluent;
using DSWeb.MvcShipping.Models.MsOpSeaePre; using DSWeb.MvcShipping.Models.MsOpSeaePre;
using static java.security.cert.CertPathValidatorException; using static java.security.cert.CertPathValidatorException;
using DSWeb.MvcShipping.DAL.MsSeaeOrderDAL;
namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
@ -5837,21 +5838,23 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
{ {
var result = new DBResult(); var result = new DBResult();
//向:做确认订舱操作的人、该业务的销售、该业务的录入人 发送邮件 //向:做确认订舱操作的人、该业务的销售、该业务的录入人 发送邮件
var msorder = MsSeaeOrderDAL.MsSeaeOrderDAL.GetData("ORDNO='"+ headData.ORDNO + "'");
headData.DbOperationType = DbOperationType.DbotUpd; headData.DbOperationType = DbOperationType.DbotUpd;
headData.MBLNO = opSeae.MBLNO; headData.MBLNO = msorder.MBLNO;
headData.ORDERNO = opSeae.ORDERNO; headData.ORDERNO = msorder.ORDERNO;
headData.CARRIER = opSeae.CARRIER; headData.CARRIER = msorder.CARRIER;
headData.HSCODE = opSeae.HSCODE; headData.HSCODE = msorder.HSCODE;
headData.GOODSNAME = opSeae.GOODSNAME; headData.GOODSNAME = msorder.GOODSNAME;
headData.CONTRACTNO = opSeae.CONTRACTNO; headData.CONTRACTNO = msorder.CONTRACTNO;
headData.PORTLOAD = opSeae.PORTLOAD; headData.PORTLOAD = msorder.PORTLOAD;
headData.PORTLOADID = opSeae.PORTLOADID; headData.PORTLOADID = msorder.PORTLOADID;
headData.PORTDISCHARGE = opSeae.PORTDISCHARGE; headData.PORTDISCHARGE = msorder.PORTDISCHARGE;
headData.PORTDISCHARGEID = opSeae.PORTDISCHARGEID; headData.PORTDISCHARGEID = msorder.PORTDISCHARGEID;
headData.LANE = opSeae.LANE; headData.LANE = msorder.LANE;
headData.VESSEL = opSeae.VESSEL; headData.VESSEL = msorder.VESSEL;
headData.VOYNO = opSeae.VOYNO; headData.VOYNO = msorder.VOYNO;
headData.FORWARDER = opSeae.FORWARDER; headData.FORWARDER = msorder.FORWARDER;
var modb = new ModelObjectDB(); var modb = new ModelObjectDB();
modb.Save(headData); modb.Save(headData);
var mailtitle = "舱位回收 "; var mailtitle = "舱位回收 ";

@ -193,7 +193,7 @@ namespace DSWeb.MvcShipping.DAL.MsSeaeOrderDAL
} }
static public MsSeaeOrder GetData(string condition,string userid) static public MsSeaeOrder GetData(string condition,string userid="")
{ {
var strSql = new StringBuilder(); var strSql = new StringBuilder();
strSql.Append("SELECT ORDNO,BSNO,ORSTATUS,ORREASON,BSDATE,CUSTOMERNAME,ORDTYPE,SHIPPERID,CONSIGNEEID,NOTIFYPARTYID,YARD"); strSql.Append("SELECT ORDNO,BSNO,ORSTATUS,ORREASON,BSDATE,CUSTOMERNAME,ORDTYPE,SHIPPERID,CONSIGNEEID,NOTIFYPARTYID,YARD");

Loading…
Cancel
Save