Merge branch 'tolag'
This commit is contained in:
commit
63d449cc36
@ -4,6 +4,7 @@ import java.math.BigDecimal;
|
|||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.ibatis.annotations.Case;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
@ -46,6 +47,7 @@ public class PriceServiceImpl implements PriceService {
|
|||||||
|
|
||||||
String enumStr = "STAT_200";
|
String enumStr = "STAT_200";
|
||||||
|
|
||||||
|
//response set
|
||||||
priceResponse = PriceResponse.builder()
|
priceResponse = PriceResponse.builder()
|
||||||
//defalut set
|
//defalut set
|
||||||
.resultCode(StatMsg.valueOf(enumStr).getCode())
|
.resultCode(StatMsg.valueOf(enumStr).getCode())
|
||||||
@ -65,6 +67,20 @@ public class PriceServiceImpl implements PriceService {
|
|||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.info("selectPrice Error [{}]", e.getMessage());
|
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;
|
return priceResponse;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user