| | |
| | | } |
| | | statusVO.setDescription(statePool.description); |
| | | statusVO.setId(statePool.name); |
| | | statusVO.setName(statePool.tag); |
| | | statusVO.setName(statePool.label); |
| | | } |
| | | return statusVO; |
| | | } |
| | |
| | | statePool.oid = statusDTO.getOid(); |
| | | statePool.id = ""; |
| | | statePool.name = statusDTO.getId(); |
| | | //statePool.imagePath = statusDTO.getImagePath(); |
| | | statePool.imagePath = statusDTO.getImagePath(); |
| | | statePool.description = statusDTO.getDescription()==null?"":statusDTO.getDescription(); |
| | | String userId = WebThreadLocalUtil.getCurrentUserSessionInfoInThread().getUserId(); |
| | | long now = VciDateUtil.getNowTime(); |
| | |
| | | statePool.modifier = userId; |
| | | statePool.modifyTime = now; |
| | | statePool.ts = statusDTO.getTs()==null?VciDateUtil.getNowString(VciDateUtil.DateTimeMillFormat):VciDateUtil.date2Str(statusDTO.getTs(),VciDateUtil.DateTimeMillFormat); |
| | | statePool.tag = statusDTO.getName(); |
| | | statePool.label = statusDTO.getName(); |
| | | return statePool; |
| | | } |
| | | |
| | |
| | | statePool.modifier = statusVO.getLastModifier(); |
| | | statePool.modifyTime = VciDateUtil.getTime(statusVO.getLastModifyTime()); |
| | | statePool.ts = statusVO.getTs()==null?now:VciDateUtil.date2Str(statusVO.getTs(),VciDateUtil.DateTimeMillFormat); |
| | | statePool.tag = statusVO.getName(); |
| | | statePool.label = statusVO.getName(); |
| | | return statePool; |
| | | } |
| | | |