All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.schoolwow.quickdao.module.database.dql.response.service.GetArrayCompositeBusiness Maven / Gradle / Ivy

There is a newer version: 5.3.1
Show newest version
package cn.schoolwow.quickdao.module.database.dql.response.service;

import cn.schoolwow.quickdao.module.database.dql.response.flow.GetArrayFlow;
import cn.schoolwow.quickdao.module.database.dql.response.flow.common.ExecuteConditionStatementFlow;
import cn.schoolwow.quickdao.module.database.dql.response.flow.common.SetConditionParameterFlow;
import cn.schoolwow.quickdao.module.database.dql.response.flow.common.SetConditionStatementFlow;
import cn.schoolwow.quickflow.QuickFlowExecutor;
import cn.schoolwow.quickflow.flow.CompositeBusinessFlow;

public class GetArrayCompositeBusiness implements CompositeBusinessFlow {
    @Override
    public void executeCompositeBusiness(QuickFlowExecutor quickFlowExecutor) {
        quickFlowExecutor.next(new GetCountFlow())
                .next(new SetConditionStatementFlow())
                .next(new SetConditionParameterFlow())
                .next(new ExecuteConditionStatementFlow())
                .next(new GetArrayFlow());
    }

    @Override
    public String name() {
        return "获取数据库返回JSONArray对象";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy