/* (non-Javadoc) * @see org.mo.logic.data.ILgTaskLinkDi() */ @Override public FSqlProcedure doClear() { FSqlProcedure procedure = new FSqlProcedure("Do_Clear"); procedure.setLogicName(LOGIC_NAME); activeConnection().execute(procedure); return procedure; }
/* (non-Javadoc) * @see org.mo.logic.data.ILgTaskLinkDi(java.lang.Object) */ @Override public FSqlProcedure lockTable(Object mode) { FSqlProcedure procedure = new FSqlProcedure("Lock_Table"); procedure.setLogicName(LOGIC_NAME); procedure.createParameter("mode_", mode, ESqlDataType.String, ESqlDataDirection.In); activeConnection().execute(procedure); return procedure; }
/* (non-Javadoc) * @see org.mo.logic.data.ILgTaskLinkDi(java.lang.Object) */ @Override public FSqlProcedure lockRecord(Object objectId) { FSqlProcedure procedure = new FSqlProcedure("Lock_Record"); procedure.setLogicName(LOGIC_NAME); procedure.createParameter("object_id_", objectId, ESqlDataType.Integer, ESqlDataDirection.In); activeConnection().execute(procedure); return procedure; }
/* (non-Javadoc) * @see org.mo.logic.data.ICmCityDi(java.lang.Object, java.lang.Object) */ @Override public FSqlProcedure doDelete(Object logic, Object params) { FSqlProcedure procedure = new FSqlProcedure("Do_Delete"); procedure.setLogicName(LOGIC_NAME); procedure.createParameter("logic_", logic, ESqlDataType.String, ESqlDataDirection.InOut); procedure.createParameter("params_", params, ESqlDataType.String, ESqlDataDirection.InOut); activeConnection().execute(procedure); return procedure; }
/* (non-Javadoc) * @see org.mo.logic.data.ILgTaskLinkDi(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) */ @Override public FSqlProcedure doSync(Object logic, Object params, Object objectId, Object check) { FSqlProcedure procedure = new FSqlProcedure("Do_Sync"); procedure.setLogicName(LOGIC_NAME); procedure.createParameter("logic_", logic, ESqlDataType.String, ESqlDataDirection.InOut); procedure.createParameter("params_", params, ESqlDataType.String, ESqlDataDirection.InOut); procedure.createParameter("object_id_", objectId, ESqlDataType.Integer, ESqlDataDirection.In); procedure.createParameter("check_", check, ESqlDataType.String, ESqlDataDirection.In); activeConnection().execute(procedure); return procedure; }