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

cn.schoolwow.util.module.compare.jsonarray.flow.SetAddAndUpdateCompareJSONArrayFlow Maven / Gradle / Ivy

The newest version!
package cn.schoolwow.util.module.compare.jsonarray.flow;

import cn.schoolwow.quickflow.domain.FlowContext;
import cn.schoolwow.quickflow.flow.BusinessFlow;
import cn.schoolwow.util.domain.compare.jsonarray.UpdateJSONArrayCompare;
import cn.schoolwow.util.domain.query.jsonobject.QueryJSONObject;
import cn.schoolwow.util.module.compare.jsonarray.domain.CompareJSONArrayQueryOption;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.util.ArrayList;
import java.util.List;

public class SetAddAndUpdateCompareJSONArrayFlow implements BusinessFlow {
    @Override
    public void executeBusinessFlow(FlowContext flowContext) throws Exception {
        CompareJSONArrayQueryOption compareJSONArrayQueryOption = (CompareJSONArrayQueryOption) flowContext.checkData("compareJSONArrayQueryOption");

        JSONArray addCompareArray = new JSONArray();
        List updateJSONArrayCompareList = new ArrayList();
        for(int i = 0; i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy