箱信息去除末尾空格bug

master
zhangxiaofeng 5 months ago
parent 7ce87e3a3b
commit a9fb0776fd

@ -488,10 +488,10 @@ namespace djy.Service.AFR
house.CntrList.ForEach(cntr => house.CntrList.ForEach(cntr =>
{ {
cntr.LastUpdate = nowTime; cntr.LastUpdate = nowTime;
StringTrimmer.TrimStringProperties(cntr);
if (string.IsNullOrEmpty(cntr.GID)) if (string.IsNullOrEmpty(cntr.GID))
{ {
StringTrimmer.TrimStringProperties(cntr);
cntr.GID = Guid.NewGuid().ToString(); cntr.GID = Guid.NewGuid().ToString();
cntr.PID = house.GID; cntr.PID = house.GID;
cntr.CreateTime = nowTime; cntr.CreateTime = nowTime;
@ -952,7 +952,7 @@ namespace djy.Service.AFR
requestDto.houseBillInfoList.Add(houseBillInfo); requestDto.houseBillInfoList.Add(houseBillInfo);
} }
} }
// 开始请求电子口岸的接口 // 开始请求电子口岸的接口
var masterBillInfoStr = JsonHelper.Instance.Serialize(requestDto); var masterBillInfoStr = JsonHelper.Instance.Serialize(requestDto);
var businessParam = new Dictionary<string, string>() var businessParam = new Dictionary<string, string>()

Loading…
Cancel
Save