Merge branch 'tolag'
This commit is contained in:
commit
63d449cc36
@ -4,6 +4,7 @@ import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.Case;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@ -46,6 +47,7 @@ public class PriceServiceImpl implements PriceService {
|
||||
|
||||
String enumStr = "STAT_200";
|
||||
|
||||
//response set
|
||||
priceResponse = PriceResponse.builder()
|
||||
//defalut set
|
||||
.resultCode(StatMsg.valueOf(enumStr).getCode())
|
||||
@ -65,6 +67,20 @@ public class PriceServiceImpl implements PriceService {
|
||||
|
||||
} catch (Exception e) {
|
||||
log.info("selectPrice Error [{}]", e.getMessage());
|
||||
|
||||
String enumStr = "";
|
||||
|
||||
//오류발생 예측이 어렵다..일단 기타시스템 오류로_230524_이준호
|
||||
if(true) {
|
||||
enumStr = "STAT_1099";
|
||||
}
|
||||
|
||||
priceResponse = PriceResponse.builder()
|
||||
//defalut set
|
||||
.resultCode(StatMsg.valueOf(enumStr).getCode())
|
||||
.message(StatMsg.valueOf(enumStr).getMsg())
|
||||
.localDateTime(LocalDateTime.now())
|
||||
.build();
|
||||
}
|
||||
return priceResponse;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user