use of com.qlangtech.tis.coredefine.module.action.IndexIncrStatus in project tis by qlangtech.
the class TestGenerateDAOAndIncrScript method testCompileAndPackageStreamCode.
public void testCompileAndPackageStreamCode() throws Exception {
IControlMsgHandler msgHandler = new DefaultMessageHandler();
IndexStreamCodeGenerator indexStreamCodeGenerator = getIndexStreamCodeGenerator();
GenerateDAOAndIncrScript generateDAOAndIncrScript = new GenerateDAOAndIncrScript(msgHandler, indexStreamCodeGenerator);
DefaultContext context = new DefaultContext();
IndexIncrStatus incrStatus = new IndexIncrStatus();
Map<Integer, Long> /**
* timestamp ver
*/
dependencyDbs = Maps.newHashMap();
// order
dependencyDbs.put(58, 20200227124059l);
// member
dependencyDbs.put(61, 20200227124200l);
// cardcenter
dependencyDbs.put(62, 20200227124220l);
// shop
dependencyDbs.put(63, 20200227124231l);
generateDAOAndIncrScript.generate(context, incrStatus, true, dependencyDbs);
}
Aggregations