佣金导入,解决:【导入费用时生成到更改单的费用同时也生成一条bsno为空白的chfee 】的问题

临时发布20240103
ddlucky 2 years ago
parent 310bd7920b
commit 176bd0d6ab

1
.gitignore vendored

@ -93,3 +93,4 @@ DSWeb/ocr_temp_files/*
/Job_JieFeng_FTP/obj/Debug/Job_JieFeng_FTP.csproj.AssemblyReference.cache
/JobPingTaiWork/obj/Debug/JobPingTaiWork.csproj.AssemblyReference.cache
/DSWeb.Job.Common/obj/Debug/DSWeb.Job.Common.csproj.AssemblyReference.cache
/DSWeb/UploadFiles/SeaFee

@ -896,11 +896,11 @@ namespace DSWeb.MvcShipping.Controllers
}
if (bodyListdr != null)
if (bodyListdr != null && bodyListdr.Count>0)
{
iResult = MsChFeeDAL.SaveUpdateFee(bodyListdr, bsno, USERID);
}
if (bodyListcr != null)
if (bodyListcr != null && bodyListcr.Count > 0)
{
iResult = MsChFeeDAL.SaveUpdateFee(bodyListcr, bsno, USERID);
}
@ -1821,6 +1821,8 @@ namespace DSWeb.MvcShipping.Controllers
{
var BSNO = T_ALL_DA.GetStrSQL("BSNO", "select BSNO from V_OP_BS where isnull(FEESTATUS,0)=0 and isnull(iscancel,0) in (0,3) AND MBLNO='" + MBLNO + "'");
if (string.IsNullOrWhiteSpace(BSNO)) continue;
//var AmendBSNO = T_ALL_DA.GetStrSQL("BSNO", "select BSNO from V_OP_BS where isnull(FEESTATUS,0)=0 and isnull(iscancel,0) in (0,3) AND MBLNO='" + MBLNO + "'");
//if (string.IsNullOrWhiteSpace(BSNO) && string.IsNullOrWhiteSpace(AmendBSNO))

Loading…
Cancel
Save