@ -1,5 +1,6 @@
package com.fr.design.mainframe.share.generate.task ;
package com.fr.design.mainframe.share.generate.task ;
import com.fr.base.TableData ;
import com.fr.base.iofile.attr.ExtendSharableAttrMark ;
import com.fr.base.iofile.attr.ExtendSharableAttrMark ;
import com.fr.base.iofile.attr.SharableAttrMark ;
import com.fr.base.iofile.attr.SharableAttrMark ;
import com.fr.design.i18n.Toolkit ;
import com.fr.design.i18n.Toolkit ;
@ -21,6 +22,7 @@ import com.fr.workspace.WorkContext;
import org.jetbrains.annotations.NotNull ;
import org.jetbrains.annotations.NotNull ;
import java.util.HashMap ;
import java.util.HashMap ;
import java.util.Iterator ;
import java.util.Map ;
import java.util.Map ;
/ * *
/ * *
@ -91,10 +93,16 @@ public class ComponentCreator extends AbstractComponentCreatorProcessor {
FineLoggerFactory . getLogger ( ) . error ( e . getMessage ( ) , e ) ;
FineLoggerFactory . getLogger ( ) . error ( e . getMessage ( ) , e ) ;
}
}
// //内置数据集
//内置数据集
ShareEmbeddedConverter embeddedConverter = WorkContext . getCurrent ( ) . get ( ShareEmbeddedConverter . class ) ;
if ( tpl ! = null ) {
embeddedConverter . convertToEmbeddedTableData ( tpl , paraMap ) ;
ShareEmbeddedConverter embeddedConverter = WorkContext . getCurrent ( ) . get ( ShareEmbeddedConverter . class ) ;
Map < String , TableData > map = embeddedConverter . convertToEmbeddedTableData ( tpl , paraMap ) ;
Iterator < Map . Entry < String , TableData > > iterator = map . entrySet ( ) . iterator ( ) ;
while ( iterator . hasNext ( ) ) {
Map . Entry < String , TableData > entry = iterator . next ( ) ;
tpl . putTableData ( entry . getKey ( ) , entry . getValue ( ) ) ;
}
}
return tpl ;
return tpl ;
}
}