username@email.com
2021-07-27 072169e3c5446f94e2cf4e570e5c7952bb5b15b9
zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs
@@ -306,6 +306,26 @@
            if (string.IsNullOrEmpty(data.Shifoutianjiaweixin))
            {
                data.Shifoutianjiaweixin = "D";
                data.Weixiner = null;
                data.Weixintime = null;
            }
            else
            {
                if (String.IsNullOrEmpty(data.Id))
                {
                    data.Weixiner = curentuser.Id;
                    data.Weixintime = DateTime.Now;
                }
                else
                {
                    var cooperatecustomCustomerDTO = _intentionCustomerService.Get(data.Id);
                    if (string.IsNullOrEmpty(cooperatecustomCustomerDTO.Weixiner))
                    {
                        data.Weixiner = curentuser.Id;
                        data.Weixintime = DateTime.Now;
                    }
                }
            }
            if (String.IsNullOrEmpty(data.Id))
            {