| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.rmi.ServerException; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | |
| | | @PostMapping("/clone") |
| | | @ApiOperationSupport(order = 10) |
| | | @ApiOperation(value = "克隆码段信息", notes = "codeBasicSecDTO") |
| | | public R cloneCodeBasicSec(@RequestBody CodeBasicSecDTO codeBasicSecDTO){ |
| | | public R cloneCodeBasicSec(@RequestBody CodeBasicSecDTO codeBasicSecDTO) throws ServerException { |
| | | VciBaseUtil.alertNotNull(codeBasicSecDTO.getOidArr(),"选择码段主键"); |
| | | List<String> oidArr = VciBaseUtil.str2List(codeBasicSecDTO.getOidArr()); |
| | | if (CollectionUtils.isEmpty(oidArr)){ |