master
zhangxiaofeng 8 months ago
parent 2f9da19c65
commit 71ef30da6c

@ -1849,6 +1849,10 @@ namespace Myshipping.Application
} }
else if (input.CARGOID == "D") else if (input.CARGOID == "D")
{ {
if (string.IsNullOrEmpty(input.DUNNO))
{
throw Oops.Bah("货物标识为危险品的情况下,危险品编号不能为空");
}
if (string.IsNullOrEmpty(input.DCLASS)) if (string.IsNullOrEmpty(input.DCLASS))
{ {
throw Oops.Bah("货物标识为危险品的情况下,危险品等级不能为空"); throw Oops.Bah("货物标识为危险品的情况下,危险品等级不能为空");

Loading…
Cancel
Save