조회 쿼리 수정(bookPrice 추가) 및 MySQL 프로젝트 조회 페이지 출판일 JS코드 제거
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<select id="goodsGetDetail" resultType="com.vam.model.BookVO">
|
||||
|
||||
select bookId, bookName, (select authorName from vam_author where authorId =vam_book.authorId) authorName,
|
||||
authorId, publeYear, publisher, cateCode, bookStock, bookDiscount, bookIntro, bookContents, regDate, updateDate
|
||||
authorId, publeYear, publisher, cateCode, bookPrice, bookStock, bookDiscount, bookIntro, bookContents, regDate, updateDate
|
||||
from vam_book where bookId = #{bookId}
|
||||
|
||||
</select>
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
<select id="goodsGetDetail" resultType="com.vam.model.BookVO">
|
||||
|
||||
select bookId, bookName, (select authorName from vam_author where authorId =vam_book.authorId) authorName,
|
||||
authorId, publeYear, publisher, cateCode, bookStock, bookDiscount, bookIntro, bookContents, regDate, updateDate
|
||||
authorId, publeYear, publisher, cateCode, bookPrice, bookStock, bookDiscount, bookIntro, bookContents, regDate, updateDate
|
||||
from vam_book where bookId = #{bookId}
|
||||
|
||||
</select>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Generated by Maven Integration for Eclipse
|
||||
#Mon Apr 19 22:02:04 KST 2021
|
||||
#Fri Apr 23 01:44:53 KST 2021
|
||||
m2e.projectLocation=C\:\\Users\\sjinj\\git\\Blog_Project\\VamPa
|
||||
m2e.projectName=VamPa
|
||||
groupId=com.vam
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<select id="goodsGetDetail" resultType="com.vam.model.BookVO">
|
||||
|
||||
select bookId, bookName, (select authorName from vam_author where authorId =vam_book.authorId) authorName,
|
||||
authorId, publeYear, publisher, cateCode, bookStock, bookDiscount, bookIntro, bookContents, regDate, updateDate
|
||||
authorId, publeYear, publisher, cateCode, bookPrice, bookStock, bookDiscount, bookIntro, bookContents, regDate, updateDate
|
||||
from vam_book where bookId = #{bookId}
|
||||
|
||||
</select>
|
||||
|
||||
@@ -161,14 +161,6 @@
|
||||
$("#discount_interface").attr("value", bookDiscount);
|
||||
|
||||
|
||||
/* 출판일 값 가공 */
|
||||
let publeYear = '${goodsInfo.publeYear}';
|
||||
let length = publeYear.indexOf(" ");
|
||||
|
||||
publeYear = publeYear.substring(0, length);
|
||||
|
||||
$("input[name='publeYear']").attr("value", publeYear);
|
||||
|
||||
/* 책 소개 */
|
||||
ClassicEditor
|
||||
.create(document.querySelector('#bookIntro_textarea'))
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<select id="goodsGetDetail" resultType="com.vam.model.BookVO">
|
||||
|
||||
select bookId, bookName, (select authorName from vam_author where authorId =vam_book.authorId) authorName,
|
||||
authorId, publeYear, publisher, cateCode, bookStock, bookDiscount, bookIntro, bookContents, regDate, updateDate
|
||||
authorId, publeYear, publisher, cateCode, bookPrice, bookStock, bookDiscount, bookIntro, bookContents, regDate, updateDate
|
||||
from vam_book where bookId = #{bookId}
|
||||
|
||||
</select>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Generated by Maven Integration for Eclipse
|
||||
#Mon Apr 19 22:02:05 KST 2021
|
||||
#Thu Apr 22 18:29:14 KST 2021
|
||||
m2e.projectLocation=C\:\\Users\\sjinj\\git\\Blog_Project\\VamPa_MySQL
|
||||
m2e.projectName=VamPa_MySQL
|
||||
groupId=com.vam
|
||||
|
||||
Reference in New Issue
Block a user