以下源码大家帮我看看 帮忙写点注释谢谢package commsoft.yy.station;import commsoft.common.db.ClientDataSet;
import commsoft.common.db.DBTool;
import commsoft.framework.form.ClientDataSetForm;
import commsoft.framework.view.UserView;
import commsoft.workcommon.common.commMethod;
import commsoft.workcommon.sys.sysMultiRecordAction;
import java.math.BigDecimal;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.*;public class RunCycleConfigAction extends sysMultiRecordAction
{    public RunCycleConfigAction()
    {
    }    public ActionForward initRecords(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
        throws Exception
    {
        ClientDataSetForm form;
        DBTool dbtool;
        form = (ClientDataSetForm)actionForm;
        dbtool = null;
        dbtool = new DBTool();
        String sql = "";
        ArrayList paramList = new ArrayList();
        String deptIds = getUserView(httpServletRequest).getDEPT_IDS();
        sql = " delete from yy_run_car_cycle t where t.dept_id=? ";
        paramList.clear();
        paramList.add(new BigDecimal(deptIds));
        dbtool.executeUpdate(sql, paramList);
        sql = " insert into yy_run_car_cycle(line_id,dept_id,cycle_type)  select t.line_id,t.dept_id,'1' from yy_line t where t.yn_use='Y' and t.dept_id=? ";
        dbtool.executeUpdate(sql, paramList);
        super.initForm(actionMapping, actionForm, httpServletRequest, httpServletResponse);
        break MISSING_BLOCK_LABEL_158;
        Exception e;
        e;
        sysCommethod.Exception("\u521D\u59CB\u5316\u6570\u636E\u9519\u8BEF:", form.getDsName(), e, servlet);
        break MISSING_BLOCK_LABEL_158;
        local;
        if(dbtool != null)
            dbtool.closeConnection();
        JVM INSTR ret 11;
        form.setMaxRowID(form.getClientDataSet().getRowID());
        int liProCountRow = form.getClientDataSet().getTotalRecordCount();
        form.setAllRowNum(liProCountRow);
        return new ActionForward(form.getJspName());
    }
}