This commit is contained in:
parent
5c213e8f35
commit
a3a428bcd0
@ -138,14 +138,14 @@ namespace DataLoader
|
|||||||
// last sibling. In data, these are represented with the SQL database field in the transitions
|
// last sibling. In data, these are represented with the SQL database field in the transitions
|
||||||
// table 'IsRange' == 2, and the toid == rangeid. In the content record, the link is
|
// table 'IsRange' == 2, and the toid == rangeid. In the content record, the link is
|
||||||
// TransitionRange:[type] [tranid] [toid] [rangeid] -> and the toid == rangeid
|
// TransitionRange:[type] [tranid] [toid] [rangeid] -> and the toid == rangeid
|
||||||
if (itype == 2)
|
//if (itype == 2)
|
||||||
{
|
//{
|
||||||
if (dr["TOSEQUENCE"].ToString().Length > 3 &&
|
// if (dr["TOSEQUENCE"].ToString().Length > 3 &&
|
||||||
dr["TOSEQUENCE"].ToString().Substring(0, 2) == dr2["TOSEQUENCE"].ToString().Substring(0, 2))
|
// dr["TOSEQUENCE"].ToString().Substring(0, 2) == dr2["TOSEQUENCE"].ToString().Substring(0, 2))
|
||||||
thekey2 = thekey;
|
// thekey2 = thekey;
|
||||||
else
|
// else
|
||||||
thekey2 = dr2["TONUMBER"].ToString() + "|" + dr2["TOSEQUENCE"].ToString().Substring(0, 3);
|
// thekey2 = dr2["TONUMBER"].ToString() + "|" + dr2["TOSEQUENCE"].ToString().Substring(0, 3);
|
||||||
}
|
//}
|
||||||
if (dicTrans_ItemDone.ContainsKey(thekey2))
|
if (dicTrans_ItemDone.ContainsKey(thekey2))
|
||||||
{
|
{
|
||||||
toItem2 = dicTrans_ItemDone[thekey2];
|
toItem2 = dicTrans_ItemDone[thekey2];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user