| | |
| | | @Autowired |
| | | private WrkMastLogService wrkMastLogService; |
| | | |
| | | @RequestMapping(value = "/order/search/pda/auth") |
| | | @ManagerAuth |
| | | public R pdaOrderSearch(@RequestParam(required = false)String condition){ |
| | | EntityWrapper<Order> wrapper = new EntityWrapper<>(); |
| | | if (!Cools.isEmpty(condition)) { |
| | | // wrapper.like("matnr", condition).or().like("maktx", condition); |
| | | wrapper.like("order_no", condition); |
| | | } |
| | | wrapper.orderBy("create_time", false); |
| | | List<Order> mats = orderService.selectList(wrapper); |
| | | return R.ok().add(mats); |
| | | } |
| | | |
| | | |
| | | @RequestMapping(value = "/order/list/pda/page/auth") |
| | | @ManagerAuth |