마이페이지 나의단가 표시 오류 수정
This commit is contained in:
parent
6c95b410dc
commit
d6a4d90016
@ -257,17 +257,21 @@ public class EgovMypageController {
|
||||
int userMoney = (int) mberManageVO.getUserMoney();
|
||||
String userPoint = mberManageVO.getUserPoint();
|
||||
|
||||
if(shortPrice < 1 || longPrice < 1 || picturePrice < 1 || kakaoAtPrice < 1 || faxPrice < 1) {
|
||||
|
||||
if(shortPrice < 1 || longPrice < 1 || picturePrice < 1) {
|
||||
shortPrice = (float) sysJoinSetVO.getShortPrice();
|
||||
longPrice = (float) sysJoinSetVO.getLongPrice();
|
||||
picturePrice = (float) sysJoinSetVO.getPicturePrice();
|
||||
picture2Price = (float) sysJoinSetVO.getPicture2Price();
|
||||
picture3Price = (float) sysJoinSetVO.getPicture3Price();
|
||||
kakaoAtPrice = (float) sysJoinSetVO.getKakaoAtPrice();
|
||||
faxPrice = (float) sysJoinSetVO.getFaxPrice();
|
||||
}
|
||||
|
||||
if(kakaoAtPrice < 1) {
|
||||
kakaoAtPrice = (float) sysJoinSetVO.getKakaoAtPrice();
|
||||
}
|
||||
|
||||
if(faxPrice < 1) {
|
||||
faxPrice = (float) sysJoinSetVO.getFaxPrice();
|
||||
}
|
||||
model.addAttribute("shortPrice", shortPrice);
|
||||
model.addAttribute("longPrice", longPrice);
|
||||
model.addAttribute("picturePrice", picturePrice);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user