package com.kingdee.shr.custom.logs;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.ui.ModelMap;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.eas.base.permission.util.ToolUtils;
import com.kingdee.eas.custom.logs.IMessageLogs;
import com.kingdee.eas.custom.logs.MessageLogsCollection;
import com.kingdee.eas.custom.logs.MessageLogsFactory;
import com.kingdee.shr.base.syssetting.context.SHRContext;
import com.kingdee.shr.base.syssetting.exception.SHRWebException;
import com.kingdee.shr.base.syssetting.web.handler.EditHandler;
import com.kingdee.util.StringUtils;

public class MessageLogsEditHandler extends EditHandler{
	
	/**
	 * 作废链接
	 * @param request
	 * @param response
	 * @param modelMap
	 * @throws SHRWebException
	 * @throws BOSException
	 */
	public void cancelLinkAction (HttpServletRequest request, HttpServletResponse response, ModelMap modelMap)
			throws SHRWebException, BOSException {
		 Context ctx = SHRContext.getInstance().getContext();
		String billIds = StringUtils.cnulls(request.getParameter("billIds"));
		IMessageLogs localInstance = MessageLogsFactory.getLocalInstance(ctx);
		MessageLogsCollection msgLogsCol = localInstance.getMessageLogsCollection("where id in ("+billIds+")");
		
		
		
//		writeSuccessData(party);
	}
	
	
	/**
	 * 执行作废
	 */
	private void  exeCancel() {
		
		
	}
	

}
