2 Achegas 5b064a90de ... 9bd67dda3f

Autor SHA1 Mensaxe Data
  yinyujing 9bd67dda3f Merge branch 'master' of http://60.205.104.179:3000/yinyujing/zhihuishuiwuDataSyn hai 5 meses
  yinyujing 58006c3c37 1 hai 5 meses
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      TimedUpload/QuartzJobs/DABusinessDataJob.cs

+ 1 - 1
TimedUpload/QuartzJobs/DABusinessDataJob.cs

@@ -177,7 +177,6 @@ namespace TimedUpload.QuartzJobs
                     try
                     {
                         DataRow dr = dt.Rows[i];
-                        userMeterReadId = Convert.ToString(dr["UsedWater_ID"]);
 
                         string meterCode = Convert.ToString(dr["CM_ID"]);
                         string getDateTime = Convert.ToDateTime(dr["ThisMeterDt"]).ToString("yyyy-MM-dd HH:mm:ss");
@@ -199,6 +198,7 @@ namespace TimedUpload.QuartzJobs
                             IBasicProperties property = properties[key];
                             channel.BasicPublish("zone.userMeterHis", "", property, Encoding.UTF8.GetBytes(message.ToString())); //生产消息
                         }
+                        userMeterReadId = Convert.ToString(dr["UsedWater_ID"]);
                     }
                     catch (Exception ex)
                     {