Skip to content

Commit

Permalink
Merge pull request #106 from Tea-Bliss/dev
Browse files Browse the repository at this point in the history
[fix] Post시 id 넘기기 적용 안되있는 부분 수정2, 재료 Get URL 필터 수정
  • Loading branch information
mun9659 authored Jun 24, 2024
2 parents 1969309 + 4a61336 commit a4883bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public class RequestMatcherHolder {
// re-issue
new RequestInfo(HttpMethod.POST, "/api/member/re-issue", null),

// Ingredient
new RequestInfo(HttpMethod.GET, "/api/ingredient/**", null),

// Tea
new RequestInfo(HttpMethod.GET, "/api/tea/**", null),
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mapper/SurveyMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<mapper namespace="store.teabliss.survey.mapper.SurveyMapper">

<insert id="createSurvey" parameterType="Survey" useGeneratedKeys="true" keyProperty="id" keyColumn="survey_id">
<insert id="createSurvey" parameterType="Survey" useGeneratedKeys="true" keyProperty="surveyId" keyColumn="survey_id">
INSERT INTO SURVEY (taste, sale, category, caffeine, mem_id)
VALUES (#{taste}, #{sale}, #{category}, #{caffeine}, #{memId})
</insert>
Expand Down

0 comments on commit a4883bf

Please sign in to comment.