public List <GoodsImage> BuildGoodsImages() { List <GoodsImage> list = null; if (ImageIds != null && ImageIds.Any()) { list = new List <GoodsImage>(); foreach (var id in ImageIds) { list.Add(new GoodsImage() { ImageId = id, GoodsId = GoodsId, CreateTime = CreateTime.ConvertToTimeStamp(), UpdateTime = UpdateTime.ConvertToTimeStamp(), WxappId = WxappId }); } } return(list); }