spotless 적용
This commit is contained in:
@@ -246,6 +246,7 @@ public class InferenceResultCoreService {
|
|||||||
*
|
*
|
||||||
* @param request 추론 실행 정보
|
* @param request 추론 실행 정보
|
||||||
*/
|
*/
|
||||||
|
@Transactional
|
||||||
public void update(SaveInferenceAiDto request) {
|
public void update(SaveInferenceAiDto request) {
|
||||||
MapSheetLearnEntity entity =
|
MapSheetLearnEntity entity =
|
||||||
mapSheetLearnRepository
|
mapSheetLearnRepository
|
||||||
@@ -272,8 +273,7 @@ public class InferenceResultCoreService {
|
|||||||
|
|
||||||
private void applyModelUpdate(MapSheetLearnEntity entity, SaveInferenceAiDto request) {
|
private void applyModelUpdate(MapSheetLearnEntity entity, SaveInferenceAiDto request) {
|
||||||
switch (request.getType()) {
|
switch (request.getType()) {
|
||||||
case "M1" ->
|
case "M1" -> applyModelFields(
|
||||||
applyModelFields(
|
|
||||||
request,
|
request,
|
||||||
entity::setM1ModelBatchId,
|
entity::setM1ModelBatchId,
|
||||||
entity::setM1ModelStartDttm,
|
entity::setM1ModelStartDttm,
|
||||||
@@ -282,8 +282,7 @@ public class InferenceResultCoreService {
|
|||||||
entity::setM1RunningJobs,
|
entity::setM1RunningJobs,
|
||||||
entity::setM1CompletedJobs,
|
entity::setM1CompletedJobs,
|
||||||
entity::setM1FailedJobs);
|
entity::setM1FailedJobs);
|
||||||
case "M2" ->
|
case "M2" -> applyModelFields(
|
||||||
applyModelFields(
|
|
||||||
request,
|
request,
|
||||||
entity::setM2ModelBatchId,
|
entity::setM2ModelBatchId,
|
||||||
entity::setM2ModelStartDttm,
|
entity::setM2ModelStartDttm,
|
||||||
@@ -292,8 +291,7 @@ public class InferenceResultCoreService {
|
|||||||
entity::setM2RunningJobs,
|
entity::setM2RunningJobs,
|
||||||
entity::setM2CompletedJobs,
|
entity::setM2CompletedJobs,
|
||||||
entity::setM2FailedJobs);
|
entity::setM2FailedJobs);
|
||||||
case "M3" ->
|
case "M3" -> applyModelFields(
|
||||||
applyModelFields(
|
|
||||||
request,
|
request,
|
||||||
entity::setM3ModelBatchId,
|
entity::setM3ModelBatchId,
|
||||||
entity::setM3ModelStartDttm,
|
entity::setM3ModelStartDttm,
|
||||||
@@ -420,6 +418,7 @@ public class InferenceResultCoreService {
|
|||||||
*
|
*
|
||||||
* @param id learn 테이블 id
|
* @param id learn 테이블 id
|
||||||
*/
|
*/
|
||||||
|
@Transactional
|
||||||
public void upsertGeomData(Long id) {
|
public void upsertGeomData(Long id) {
|
||||||
Long analId = inferenceResultRepository.upsertGroupsFromMapSheetAnal(id);
|
Long analId = inferenceResultRepository.upsertGroupsFromMapSheetAnal(id);
|
||||||
inferenceResultRepository.upsertGroupsFromInferenceResults(analId);
|
inferenceResultRepository.upsertGroupsFromInferenceResults(analId);
|
||||||
@@ -434,6 +433,7 @@ public class InferenceResultCoreService {
|
|||||||
* @param failMapIds 실패한 도엽 목록
|
* @param failMapIds 실패한 도엽 목록
|
||||||
* @param type 모델타입
|
* @param type 모델타입
|
||||||
*/
|
*/
|
||||||
|
@Transactional
|
||||||
public void saveFail5k(UUID uuid, List<Long> failMapIds, String type) {
|
public void saveFail5k(UUID uuid, List<Long> failMapIds, String type) {
|
||||||
mapSheetLearn5kRepository.saveFail5k(uuid, failMapIds, type);
|
mapSheetLearn5kRepository.saveFail5k(uuid, failMapIds, type);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user