| | |
| | | import com.baomidou.mybatisplus.mapper.Wrapper; |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.core.common.DateUtils; |
| | | import zy.cloud.wms.manager.entity.Cstmr; |
| | | import zy.cloud.wms.manager.entity.FlowStatus; |
| | | import zy.cloud.wms.manager.service.FlowStatusService; |
| | | import com.core.annotations.ManagerAuth; |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * 单击input之后弹出的选择框 |
| | | * @return |
| | | */ |
| | | @RequestMapping("/flowId/auth") |
| | | public R getAllFlowIds(){ |
| | | List<FlowStatus> flowStatuses = flowStatusService.selectList(null); |
| | | List<Map<String, Object>> result = new ArrayList<>(); |
| | | for (FlowStatus flowStatus : flowStatuses) { |
| | | Map<String,Object> content = new HashMap<>(); |
| | | content.put("id",flowStatus.getId()); |
| | | content.put("value",flowStatus.getName()); |
| | | result.add(content); |
| | | } |
| | | return R.ok(result); |
| | | } |
| | | } |