| | |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.slcf.bean.WaitPakOutLogCondition; |
| | | import com.slcf.controller.param.SetEmsParam; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | |
| | | return map; |
| | | } |
| | | |
| | | /** |
| | | * 导出所有 |
| | | * @param response |
| | | */ |
| | | @RequestMapping("/exportWaitPakOut.action") |
| | | public void ExportExcel(WaitPakOutCondition waitPakOutCondition, HttpServletResponse response, HttpServletRequest request){ |
| | | try { |
| | | waitPakOutService.ExportWaitPakOutList(waitPakOutCondition,response); |
| | | |
| | | // 插入日志 |
| | | UserBean user = (UserBean) request.getSession().getAttribute("USER"); |
| | | SysLogBean sysLog = new SysLogBean(); |
| | | sysLog.setLogin_no(user.getUser_account()); |
| | | sysLog.setMachine_ip(request.getRemoteAddr()); |
| | | sysLog.setForm_no("exportWaitPakOut.action"); |
| | | sysLog.setTts_keyname("导出出库通知档到EXCEL"); |
| | | sysLog.setModi_user(user.getUser_account()); |
| | | sysLogService.insertSysLog(sysLog); |
| | | }catch (Exception e) { |
| | | System.out.println(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | } |