|
|
|
@ -29,7 +29,7 @@ namespace BWP.B3QingDaoWanFu.Rpc { |
|
|
|
query.Columns.Add(DQSelectColumn.Field("IsAccountCustomer")); |
|
|
|
query.Where.Conditions.Add(DQCondition.EQ("ID",accountCustomerID)); |
|
|
|
var isAccountCustomer= query.EExecuteScalar<bool?>(); |
|
|
|
if (isAccountCustomer ?? false) |
|
|
|
if (!(isAccountCustomer ?? false)) |
|
|
|
{ |
|
|
|
throw new ApplicationException("该客户不是结账客户,请修改个性设置中的往来客户"); |
|
|
|
} |
|
|
|
|