//生成订单号orderCode
string orderCode = DateTime.Now.ToString("yyyyMMddhhmmssffff") + userId;
userOrderEntity.OrderCode = orderCode;
转载于:https://www.cnblogs.com/aaa6818162/archive/2011/02/18/1957517.html
//生成订单号orderCode
string orderCode = DateTime.Now.ToString("yyyyMMddhhmmssffff") + userId;
userOrderEntity.OrderCode = orderCode;
转载于:https://www.cnblogs.com/aaa6818162/archive/2011/02/18/1957517.html