|
@@ -1,5 +1,6 @@
|
|
|
package com.its.op.controller.its.facility;
|
|
|
|
|
|
+import com.its.op.dto.its.common.BatchJobCountDto;
|
|
|
import com.its.op.dto.its.common.NewIdLongDto;
|
|
|
import com.its.op.dto.its.common.NewIdStringDto;
|
|
|
import com.its.op.dto.its.common.UsageCountDto;
|
|
@@ -113,4 +114,16 @@ public class TbFcltInfrController {
|
|
|
return this.service.findUsageId(id);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "시설물 ID 사용여부 조회(신규 아이디 만들때 사용)", response = BatchJobCountDto.class)
|
|
|
+ @GetMapping(value = "/batch/user/{fcltType}/{mainUserId}/{subUserId}", produces = {"application/json; charset=utf8"})
|
|
|
+ public BatchJobCountDto batchUpdateUserId(
|
|
|
+ @ApiParam(name = "fcltType", value = "시설물유형", example = "CCTV", required = true)
|
|
|
+ @PathVariable final String fcltType,
|
|
|
+ @ApiParam(name = "mainUserId", value = "관리책임자(정)", example = "ADMIN", required = true)
|
|
|
+ @PathVariable final String mainUserId,
|
|
|
+ @ApiParam(name = "subUserId", value = "관리책임자(부)", example = "ADMIN", required = true)
|
|
|
+ @PathVariable final String subUserId) {
|
|
|
+ return this.service.batchUpdateUserId(fcltType, mainUserId,subUserId);
|
|
|
+ }
|
|
|
+
|
|
|
}
|