| | |
| | | * @return |
| | | */ |
| | | @RequestMapping("/projectPlan/flowStatus") |
| | | public R flowStatus(){ |
| | | public R flowStatus( |
| | | @RequestParam(defaultValue = "1") Integer curr, |
| | | @RequestParam(defaultValue = "10") Integer limit, |
| | | @RequestParam(required = false) String orderByField, |
| | | @RequestParam(required = false) String orderByType, |
| | | @RequestParam Map<String, Object> param |
| | | ){ |
| | | |
| | | EntityWrapper<FlowStatus> wrapper = new EntityWrapper<>(); |
| | | excludeTrash(param); |
| | | convert(param, wrapper); |
| | | wrapper.orderBy("weight_num"); |
| | | List<FlowStatus> flowStatuses = flowStatusService.selectList(wrapper); |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @RequestMapping("/projectPlan/toFront") |
| | | public R toFront(){ |
| | | List<Item> items = itemService.selectList(new EntityWrapper<Item>() |
| | | public R toFront( |
| | | @RequestParam(defaultValue = "1") Integer curr, |
| | | @RequestParam(defaultValue = "10") Integer limit, |
| | | @RequestParam(required = false) String orderByField, |
| | | @RequestParam(required = false) String orderByType, |
| | | @RequestParam Map<String, Object> param |
| | | ){ |
| | | EntityWrapper<Item> itemEntityWrapper = new EntityWrapper<>(); |
| | | excludeTrash(param); |
| | | convert(param, itemEntityWrapper); |
| | | List<Item> items = itemService.selectList(itemEntityWrapper |
| | | .eq("status","1")); |
| | | List<ItemsDTO> itemsDTOs = new ArrayList<>(); |
| | | |