package com.tenwa.flow.comm.handler; import com.amarsoft.awe.dw.handler.impl.CommonHandler; import com.amarsoft.awe.util.SqlObject; import com.amarsoft.awe.util.Transaction; public class LCPayCondtionHandler extends CommonHandler{ int show_Index = 0;//ÐòºÅ String sSql = ""; String flowUnid = ""; public String getFlowUnid() { return flowUnid; } public void setFlowUnid(String flowUnid) { this.flowUnid = flowUnid; } public Object selectShowIndex(Transaction Sqlca) throws Exception{ sSql = "select Max(Show_Index) + 1 from LC_PAY_CONDTION_TEMP where FlowUnid=:FlowUnid"; SqlObject sqlo = new SqlObject(sSql).setParameter("FlowUnid", flowUnid); String result = Sqlca.getString(sqlo); if(result == null){ result = "1" ; } return result; } }