修改约号保存方法,增加去掉空格功能

optimize
jianghaiqing 2 years ago
parent 5f264602e6
commit a665ac3834

@ -606,9 +606,9 @@ namespace Myshipping.Application
throw Oops.Oh($"约号获取失败,请确认{model.Id}对应记录是否存在");
info.CONTRACT_NO = model.ContractNo;
info.CONTRACT_NAME = model.ContractName;
info.CONTRACT_NAME = model.ContractName;
info.CONTRACT_NO = model.ContractNo?.Trim();
info.CONTRACT_NAME = model.ContractName?.Trim();
info.CONTRACT_NOTE = model.ContractNote?.Trim();
await _paraContractNoInfoRepository.AsUpdateable(info).IgnoreColumns(it => new
{

Loading…
Cancel
Save