This commit is contained in:
parent
b4c4b0ef55
commit
cdcb7106d8
@ -240,9 +240,9 @@ namespace DataLoader
|
|||||||
// will get read in the section code to get the section title.
|
// will get read in the section code to get the section title.
|
||||||
string sequence = drw["CSequence"].ToString().PadRight(10);
|
string sequence = drw["CSequence"].ToString().PadRight(10);
|
||||||
string step = drw["CStep"].ToString();
|
string step = drw["CStep"].ToString();
|
||||||
if (step[1]=='~' && sequence[1]==' ') break;
|
if (step[1]=='~' && sequence[1]==' ') break;
|
||||||
|
bool hasSubSects = (sequence[5] != ' ' && sequence[5] != '0');
|
||||||
SectItm = MigrateSection(parentitem, ProcNumber, cn, drw, ds.Tables["Steps"], SectItm, dicSecCount.Count > 0 ? true : false, pth, docver, activeFormat, addpart ? cont : null);
|
SectItm = MigrateSection(parentitem, ProcNumber, cn, drw, ds.Tables["Steps"], SectItm, hasSubSects, pth, docver, activeFormat, addpart ? cont : null);
|
||||||
addpart = false;
|
addpart = false;
|
||||||
// if no children, add first child (cont)
|
// if no children, add first child (cont)
|
||||||
//if (addpart)
|
//if (addpart)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user