|
@@ -59,9 +59,9 @@ public class PosChannelHelper
|
|
|
JsonData jsonData = JsonMapper.ToObject(jsonString);
|
|
|
if(jsonData["resultCode"].ToString() == "1")
|
|
|
{
|
|
|
- // string acqInstId = jsonData["data"]["acqInstId"].ToString();
|
|
|
- // if(sub.ChannelNo == acqInstId)
|
|
|
- // {
|
|
|
+ string acqInstId = jsonData["data"]["acqInstId"].ToString();
|
|
|
+ if(sub.ChannelNo == acqInstId)
|
|
|
+ {
|
|
|
PosChannelSetRecord edit = db.PosChannelSetRecord.FirstOrDefault(m => m.Id == sub.Id);
|
|
|
if(edit != null)
|
|
|
{
|
|
@@ -70,7 +70,7 @@ public class PosChannelHelper
|
|
|
PosSnList += edit.PosSn + ",";
|
|
|
PassCount += 1;
|
|
|
}
|
|
|
- // }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
if(PassCount >= list.Count)
|