|
|
|
@ -188,8 +188,27 @@ namespace DSWeb.MvcShipping.DAL.MsChFeeDAL
|
|
|
|
|
new SqlParameter(PARM_FEE_GID,SqlDbType.VarChar,36)
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
//20230210 增加但未启用 用于批量修改添加费用时 对应客户类型(应为中文 批量录入时为英文)
|
|
|
|
|
//var customertypeDic = new Dictionary<string, string>
|
|
|
|
|
//{
|
|
|
|
|
// { "CUSTOMERNAME", "委托单位" },
|
|
|
|
|
// { "CARRIER", "船公司" },
|
|
|
|
|
// { "FORWARDER", "订舱代理" },
|
|
|
|
|
// { "CUSTOMSER", "报关行" },
|
|
|
|
|
// { "TRUCKER", "车队" },
|
|
|
|
|
// { "SHIPPERID", "发货人" },
|
|
|
|
|
// { "CONSIGNEEID", "收货人" },
|
|
|
|
|
// { "NOTIFYPARTYID", "通知人" },
|
|
|
|
|
// { "AGENTID", "代理" },
|
|
|
|
|
// { "YARD", "场站" }
|
|
|
|
|
//};
|
|
|
|
|
|
|
|
|
|
foreach (MsChFee feeEntity in tempFeeEntities)
|
|
|
|
|
{
|
|
|
|
|
//20230210 增加但未启用
|
|
|
|
|
//if (customertypeDic.ContainsKey(feeEntity.CustomerType))
|
|
|
|
|
// feeEntity.CustomerType = customertypeDic[feeEntity.CustomerType];
|
|
|
|
|
|
|
|
|
|
if (feeEntity.BsNo == "*" || feeEntity.BsNo == "")
|
|
|
|
|
{
|
|
|
|
|
SqlParameter[] parms = GetInsertParms();
|
|
|
|
|