| | |
| | | import com.zy.asrs.service.WorkService; |
| | | import com.zy.asrs.utils.Utils; |
| | | import com.zy.common.model.StartupDto; |
| | | import com.zy.common.utils.RoleUtils; |
| | | import com.zy.common.web.BaseController; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * 工作流接口控制器 |
| | |
| | | // 不同继承角色显示不同库信息 |
| | | //RoleUtils.addRoleWrapperByCrn(getUserId(),wrapper); |
| | | wrapper.eq("type_no",101); |
| | | wrapper.orderBy("stn_no", false); |
| | | List<StaDesc> staDescs = staDescService.selectList(wrapper); |
| | | // List<Integer> outSite = staDescs.stream().map(StaDesc::getStnNo).distinct().collect(Collectors.toList()); |
| | | // List<Integer> outSite = basDevpService.getAvailableOutSite(101); |
| | |
| | | } |
| | | return R.ok().add(result); |
| | | } |
| | | |
| | | @RequestMapping("/crn/available/take/site") |
| | | @ManagerAuth() |
| | | public R crnAvailableTakeSite(){ |