| | |
| | | select ap.id planId,ap.name planName,ap.`status`,pn.id nodeId,pn.content from pr_assembly_plan ap |
| | | left join pr_production_node pn on ap.process_id = pn.process_id |
| | | where status != -1 |
| | | <if test="planName != null and planName!= null"> |
| | | <if test="planName != null and planName!= ''"> |
| | | and ap.name like concat('%', #{planName}, '%') |
| | | </if> |
| | | </select> |
| | |
| | | filterRegistrationBean.setOrder(order_DevStageFilter);//执行次序 |
| | | }else{ |
| | | filterRegistrationBean.setFilter(new UserTokenFilter()); |
| | | filterRegistrationBean.addUrlPatterns("/*");//配置过滤规则 |
| | | filterRegistrationBean.addUrlPatterns("/process/*","/order/*","/assembly/*", |
| | | "/devOps/*","/workStation/*","/assembly/*", |
| | | "/schedule/save", |
| | | "/schedule/update", |
| | | "/schedule/selectPlan", |
| | | "/schedule/one", |
| | | "/schedule/some", |
| | | "/schedule/export", |
| | | "/schedule/getUserList");//配置过滤规则 |
| | | filterRegistrationBean.setName("UserTokenFilter");//设置过滤器名称 |
| | | filterRegistrationBean.setOrder(order_UserTokenFilter);//执行次序 |
| | | } |
| | |
| | | EasyExcel.write(response.getOutputStream(), list.get(0).getClass()).sheet(sheetName) |
| | | .registerWriteHandler(new CustomCellWriteHandler()).doWrite(list); |
| | | } |
| | | |
| | | /** |
| | | * 查询所有,触屏端使用不验证token |
| | | * @param queryVo |
| | | * @return |
| | | */ |
| | | @PostMapping(path="selectAll") |
| | | public BaseResponse<List<PrSchedule>> selectAll(@RequestBody QueryVo queryVo) { |
| | | return BaseResponseUtils.buildSuccess(sv.selectAll(queryVo)); |
| | | } |
| | | } |