| | |
| | | if(btmName!=null){ |
| | | btmName = btmName.trim().toLowerCase(); |
| | | } |
| | | String userid = WebUtil.getCurrentUserId(); |
| | | //todo 由于登录问题后续需要修改 |
| | | // String userid = WebUtil.getCurrentUserId(); |
| | | String userid = "1"; |
| | | if(!hasCreatedCbos.containsKey(btmName)){ |
| | | if(StringUtils.isEmpty(userid)){ |
| | | throw new VciBaseException(msgCodePrefix +"noHasUserid"); |
| | |
| | | bo.setLctId(btmTypeVO.getLifeCycleId()); |
| | | if(StringUtils.isNotBlank(btmTypeVO.getLifeCycleId())){ |
| | | OsLifeCycleVO lifeCycleVO = lifeService.getLifeCycleById(btmTypeVO.getLifeCycleId()); |
| | | bo.setLcStatus(lifeCycleVO.getStartStatus()); |
| | | //todo 无法获取数据 |
| | | // bo.setLcStatus(lifeCycleVO.getStartStatus()); |
| | | } |
| | | bo.setId(""); |
| | | bo.setName(""); |