|
@@ -84,16 +84,24 @@ namespace MySystem
|
|
|
|
|
|
|
|
public void poscheck()
|
|
public void poscheck()
|
|
|
{
|
|
{
|
|
|
- string[] poslist = function.ReadInstance("pos.txt").Split('\n');
|
|
|
|
|
- List<string> pos25 = function.ReadInstance("pos25.txt").Split('\n').ToList();
|
|
|
|
|
|
|
+ // string[] poslist = function.ReadInstance("pos.txt").Split('\n');
|
|
|
|
|
+ // List<string> pos25 = function.ReadInstance("pos25.txt").Split('\n').ToList();
|
|
|
|
|
+ // foreach(string possn in poslist)
|
|
|
|
|
+ // {
|
|
|
|
|
+ // if(!pos25.Contains(possn))
|
|
|
|
|
+ // {
|
|
|
|
|
+ // string result = PublicImportDataService.Instance.LkbSetFee(possn, 0.7M, 300);
|
|
|
|
|
+ // function.WriteLog(possn + "\n" + result + "\n\n", "25年前的金控机具费率");
|
|
|
|
|
+ // Thread.Sleep(500);
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
+ string[] poslist = function.ReadInstance("posset.txt").Split('\n');
|
|
|
foreach(string possn in poslist)
|
|
foreach(string possn in poslist)
|
|
|
{
|
|
{
|
|
|
- if(!pos25.Contains(possn))
|
|
|
|
|
- {
|
|
|
|
|
- string result = PublicImportDataService.Instance.LkbSetFee(possn, 0.7M, 300);
|
|
|
|
|
- function.WriteLog(possn + "\n" + result + "\n\n", "25年前的金控机具费率");
|
|
|
|
|
- Thread.Sleep(500);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ string[] data = possn.Split('|');
|
|
|
|
|
+ string result = PublicImportDataService.Instance.LkbSetFee(data[0], decimal.Parse(data[1]), 0);
|
|
|
|
|
+ function.WriteLog(possn + "\n" + result + "\n\n", "金控机具临时费率");
|
|
|
|
|
+ Thread.Sleep(500);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|