public string TestBJFCxml()
        {

            var client = Context.Request.UserHostAddress;
            var local = new[] { "localhost", "127.0.0.1", "::1" };
            if (local.All(x => x != client))
            {
                return client;
            }
            BJFC.AddOrdInfoService bjfc = new BJFC.AddOrdInfoService();
            var finds = mongo.MedicationCollection.AsQueryable().Where(m => !m.IsDisabled && m.Mode == ExchangeMode.Medication).FirstOrDefault();
            string upxml = new BJFCConverter().BJFCUpHis(finds);          
            return upxml;

        }
 public string TestBJFCUpHis(string upxml)
 {
     
     var client = Context.Request.UserHostAddress;
     var local = new[] { "localhost", "127.0.0.1", "::1" };
     if (local.All(x => x != client))
     {
         return client;
     }
     BJFC.AddOrdInfoService bjfc = new BJFC.AddOrdInfoService();
     var finds =mongo.MedicationCollection.AsQueryable().Where(m => !m.IsDisabled && m.Mode==ExchangeMode.Medication).FirstOrDefault();
     //string upxml = new BJFCConverter().BJFCUpHis(finds);
     var xml=bjfc.AddOrdInfo(upxml);
     BaseConverter.WriteSyncLog(nameof(Medication), DateTime.Now.Ticks.ToString(), upxml + "/r/n" + xml);
     return xml;
    
 }