YingHang
hanxuntao 8 months ago
parent 6a885e4108
commit 665da05413

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile> <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />
<IISExpressSSLPort /> <IISExpressSSLPort />

@ -402,7 +402,9 @@ namespace DSWeb.MvcShipping.DAL.MsOpOtherDAL
data.BSNO = Convert.ToString(reader["BSNO"]); data.BSNO = Convert.ToString(reader["BSNO"]);
data.OPLB = Convert.ToString(reader["OPLB"]); data.OPLB = Convert.ToString(reader["OPLB"]);
data.OPLBNAME = Convert.ToString(reader["OPLBNAME"]); data.OPLBNAME = Convert.ToString(reader["OPLBNAME"]);
if (reader["BSSTATUS"] != DBNull.Value)
data.BSSTATUS = Convert.ToBoolean(reader["BSSTATUS"]); data.BSSTATUS = Convert.ToBoolean(reader["BSSTATUS"]);
if (reader["FEESTATUS"] != DBNull.Value)
data.FEESTATUS = Convert.ToBoolean(reader["FEESTATUS"]); data.FEESTATUS = Convert.ToBoolean(reader["FEESTATUS"]);
data.BSSTATUSREF = Convert.ToString(reader["BSSTATUSREF"]); data.BSSTATUSREF = Convert.ToString(reader["BSSTATUSREF"]);
data.FEESTATUSREF = Convert.ToString(reader["FEESTATUSREF"]); data.FEESTATUSREF = Convert.ToString(reader["FEESTATUSREF"]);

@ -1138,6 +1138,20 @@ Ext.extend(Shipping.MsOpSeaiIndex, Ext.Panel, {
dataIndex: 'CUSTSERVICE', dataIndex: 'CUSTSERVICE',
header: Zi.LAN.CUSTSERVICE, //'客服', header: Zi.LAN.CUSTSERVICE, //'客服',
width: 100 width: 100
},
{
sortable: true,
id: '',
dataIndex: 'HGCYDATE',
header: Zi.LAN.HGCYDATE, //'客服',
width: 100
},
{
sortable: true,
id: '',
dataIndex: 'HGCYXL',
header: Zi.LAN.HGCYXL, //'客服',
width: 100
} }
]; ];

@ -49,7 +49,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
this.sqlcontext = '1=2'; this.sqlcontext = '1=2';
this.isquery = false; this.isquery = false;
this.NORPTSTLDATETYPE = 0; this.NORPTSTLDATETYPE = 0;
Ext.Ajax.timeout = 120000; Ext.Ajax.timeout = 1200000;
this.storectndisp = Ext.create('DsExt.ux.RefTableStore', { this.storectndisp = Ext.create('DsExt.ux.RefTableStore', {
model: 'DsShipping.ux.CtnDispModel', model: 'DsShipping.ux.CtnDispModel',
@ -176,7 +176,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
proxy: { proxy: {
type: 'ajax', type: 'ajax',
url: '/MvcShipping/MsRptNoTotal/BsListData', url: '/MvcShipping/MsRptNoTotal/BsListData',
timeout: 120000, timeout: 1200000,
reader: { reader: {
id: '', id: '',
root: 'data', root: 'data',
@ -1222,7 +1222,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
proxy: { proxy: {
type: 'ajax', type: 'ajax',
url: '/MvcShipping/MsRptNoTotal/FeeListData', url: '/MvcShipping/MsRptNoTotal/FeeListData',
timeout: 120000, timeout: 1200000,
reader: { reader: {
id: '', id: '',
root: 'data', root: 'data',
@ -1895,7 +1895,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
proxy: { proxy: {
type: 'ajax', type: 'ajax',
url: '/MvcShipping/MsRptNoTotal/BsListData', url: '/MvcShipping/MsRptNoTotal/BsListData',
timeout: 120000, timeout: 1200000,
reader: { reader: {
id: '', id: '',
root: 'data', root: 'data',
@ -2907,7 +2907,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
proxy: { proxy: {
type: 'ajax', type: 'ajax',
url: '/MvcShipping/MsRptNoTotal/FeeListData', url: '/MvcShipping/MsRptNoTotal/FeeListData',
timeout: 120000, timeout: 1200000,
reader: { reader: {
id: '', id: '',
root: 'data', root: 'data',
@ -3480,7 +3480,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
proxy: { proxy: {
type: 'ajax', type: 'ajax',
url: '/MvcShipping/MsRptNoTotal/SaleListData', url: '/MvcShipping/MsRptNoTotal/SaleListData',
timeout: 120000, timeout: 1200000,
reader: { reader: {
id: '', id: '',
root: 'data', root: 'data',
@ -3742,7 +3742,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
proxy: { proxy: {
type: 'ajax', type: 'ajax',
url: '/MvcShipping/MsRptNoTotal/CustListData', url: '/MvcShipping/MsRptNoTotal/CustListData',
timeout: 120000, timeout: 1200000,
reader: { reader: {
id: '', id: '',
root: 'data', root: 'data',
@ -4063,7 +4063,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
proxy: { proxy: {
type: 'ajax', type: 'ajax',
url: '/MvcShipping/MsRptNoTotal/SaleCustListData', url: '/MvcShipping/MsRptNoTotal/SaleCustListData',
timeout: 120000, timeout: 1200000,
reader: { reader: {
id: '', id: '',
root: 'data', root: 'data',
@ -4324,7 +4324,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
remoteSort: true, remoteSort: true,
proxy: { proxy: {
type: 'ajax', type: 'ajax',
timeout: 120000, timeout: 1200000,
url: '/MvcShipping/MsRptNoTotal/VesselVoyListData', url: '/MvcShipping/MsRptNoTotal/VesselVoyListData',
reader: { reader: {
id: '', id: '',
@ -4586,7 +4586,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
proxy: { proxy: {
type: 'ajax', type: 'ajax',
url: '/MvcShipping/MsRptNoTotal/DeptListData', url: '/MvcShipping/MsRptNoTotal/DeptListData',
timeout: 120000, timeout: 1200000,
reader: { reader: {
id: '', id: '',
root: 'data', root: 'data',
@ -4833,7 +4833,7 @@ Ext.extend(Shipping.MsRptNoTotalIndex, Ext.Panel, {
remoteSort: true, remoteSort: true,
proxy: { proxy: {
type: 'ajax', type: 'ajax',
timeout: 120000, timeout: 1200000,
url: '/MvcShipping/MsRptNoTotal/SumListData', url: '/MvcShipping/MsRptNoTotal/SumListData',
reader: { reader: {
id: '', id: '',

@ -4,7 +4,7 @@
<ProjectView>ShowAllFiles</ProjectView> <ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>配置文件1</NameOfLastUsedPublishProfile> <NameOfLastUsedPublishProfile>配置文件1</NameOfLastUsedPublishProfile>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<Use64BitIISExpress /> <Use64BitIISExpress />
<IISExpressSSLPort /> <IISExpressSSLPort />
<IISExpressAnonymousAuthentication /> <IISExpressAnonymousAuthentication />

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />
<IISExpressSSLPort /> <IISExpressSSLPort />

@ -354,13 +354,14 @@ namespace JobCreateFee
{ {
foreach (DataRow row in table.Rows) foreach (DataRow row in table.Rows)
{ {
str = str + " AND " + row["条件名称"].ToString(); str = str + " AND " + row["条件名称"].ToString().Replace("订舱代理","货代").Replace("报检行", "船代").Replace("产地证代理", "航线管理").Replace("运输代理", "其他相关公司");
str = str + "='" + row["条件值"].ToString() + "'"; str = str + "='" + row["条件值"].ToString() + "'";
} }
} }
return str; return str;
} }
static public List<MsChFee> GetFeeTemplate(string FA_ID, SqlConnection dbcon) static public List<MsChFee> GetFeeTemplate(string FA_ID, SqlConnection dbcon)
{ {

@ -39,6 +39,9 @@ namespace JobSendAgentMail
public string AGENTMAIL { get; set; } public string AGENTMAIL { get; set; }
public string OPEMAIL { get; set; } public string OPEMAIL { get; set; }
public string MBLNO { get; set; }
public string HBLNO { get; set; }
public string INVNO { get; set; }
} }
@ -61,7 +64,7 @@ namespace JobSendAgentMail
string MAILSENDPORT = context.JobDetail.JobDataMap.GetString("MAILSENDPORT"); string MAILSENDPORT = context.JobDetail.JobDataMap.GetString("MAILSENDPORT");
string MAILISSSL = context.JobDetail.JobDataMap.GetString("MAILISSSL"); string MAILISSSL = context.JobDetail.JobDataMap.GetString("MAILISSSL");
string MAILTEMPLATE = context.JobDetail.JobDataMap.GetString("MAILTEMPLATE"); string MAILTEMPLATE = context.JobDetail.JobDataMap.GetString("MAILTEMPLATE");
string MAILTITLEJOB = context.JobDetail.JobDataMap.GetString("MAILTITLE"); string MAILTITLE = context.JobDetail.JobDataMap.GetString("MAILTITLE");
string basePath = AppDomain.CurrentDomain.BaseDirectory; string basePath = AppDomain.CurrentDomain.BaseDirectory;
string savePath = Path.Combine(basePath, $"{DateTime.Now.ToString("yyyyMMdd")}\\{MAILSENDACCOUNT}"); string savePath = Path.Combine(basePath, $"{DateTime.Now.ToString("yyyyMMdd")}\\{MAILSENDACCOUNT}");
@ -169,10 +172,12 @@ namespace JobSendAgentMail
if (!string.IsNullOrEmpty(AGENTMAIL.AGENTMAIL)) if (!string.IsNullOrEmpty(AGENTMAIL.AGENTMAIL))
{ {
log.Debug($"生成转发:" + HBLNO + " " + STATUS); log.Debug($"生成转发:" + HBLNO + " " + STATUS);
MAILTITLE = MAILTITLE.Replace("$MBLNO$", AGENTMAIL.MBLNO);
MAILTITLE = MAILTITLE.Replace("$INVNO$",AGENTMAIL.INVNO);
MAILTITLE = MAILTITLE.Replace("$MAILTITLE$", recInfo.Subject);
var sendmail = new MailSend(); var sendmail = new MailSend();
sendmail.GID = Guid.NewGuid().ToString(); sendmail.GID = Guid.NewGuid().ToString();
sendmail.Title = recInfo.Subject; sendmail.Title = MAILTITLE;
sendmail.Body = recInfo.Body; sendmail.Body = recInfo.Body;
sendmail.SendTo = AGENTMAIL.AGENTMAIL; sendmail.SendTo = AGENTMAIL.AGENTMAIL;
sendmail.CCTo= AGENTMAIL.OPEMAIL; sendmail.CCTo= AGENTMAIL.OPEMAIL;
@ -232,6 +237,8 @@ namespace JobSendAgentMail
result.AGENTMAIL = row["AGENTEMAIL"].ToString(); result.AGENTMAIL = row["AGENTEMAIL"].ToString();
result.OPEMAIL = row["OPEMAIL"].ToString(); result.OPEMAIL = row["OPEMAIL"].ToString();
result.BSNO = row["BSNO"].ToString(); result.BSNO = row["BSNO"].ToString();
result.INVNO = row["INVNO"].ToString();
result.MBLNO = row["MBLNO"].ToString();
} }
} }

Loading…
Cancel
Save