📄 guidangdoaction.java
字号:
package com.mdcl.mocha.jlcmcc.contract.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.mdcl.mocha.bpm.webcommons.action.BPMBaseAction;
import com.mdcl.mocha.jlcmcc.contract.serviceimp.guidang.DocManageforguidang;
/**
* <strong>Title : GuiDangdo<br></strong>
* <strong>Description : 实现归档操作</strong><br>
* <strong>Create on : 2007-10-19<br></strong>
* <p>
* <strong>Copyright (C) Mocha Software Co.,Ltd.<br></strong>
* <p>
* @author zhanghd zhanghd@mochasoft.com.cn<br>
* @version <strong>吉林移动BPM一期</strong><br>
* <br>
* <strong>修改历史:</strong><br>
* 修改人 修改日期 修改描述<br>
* -------------------------------------------<br>
* <br>
* <br>
*/
public class GuiDangdoAction extends BPMBaseAction{
/**
* action
*/
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
//获取参数
String idStr = request.getParameter("boInsId");
String flag = request.getParameter("flag");
String[] boInsId = null;
if (idStr != null)
boInsId = idStr.split("##");
//归档
DocManageforguidang guido = new DocManageforguidang();
for(int i=0;i<boInsId.length;i++){
String boId = boInsId[i];
guido.setGuiDangState(boId, flag);
}
return null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -