Skip to content

Commit 2b96b04

Browse files
committed
Fix spelling error
1 parent 1f34658 commit 2b96b04

File tree

1 file changed

+2
-2
lines changed
  • Track 4_ReactJS_Web Development/Project/Backend/API/demo/src/main/java/com/nooobcoder/restdatabase

1 file changed

+2
-2
lines changed

Track 4_ReactJS_Web Development/Project/Backend/API/demo/src/main/java/com/nooobcoder/restdatabase/AdvancedSearch.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,14 @@ protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws S
152152
WHERE doc_id = ?
153153
AND invoice_id = ?
154154
AND cust_number = ?
155-
AND buisness_year = ?;
155+
AND business_year = ?;
156156
* */
157157
List<Map<String, Object>> rows = DBConnection.executeQuery("SELECT *\n" +
158158
"FROM winter_internship\n" +
159159
"WHERE doc_id = ?\n" +
160160
" AND invoice_id = ?\n" +
161161
" AND cust_number = ?\n" +
162-
" AND buisness_year = ?;", pojo.getDoc_id(), pojo.getInvoice_id(), pojo.getCust_number(), pojo.getBusiness_year());
162+
" AND business_year = ?;", pojo.getDoc_id(), pojo.getInvoice_id(), pojo.getCust_number(), pojo.getBusiness_year());
163163

164164
resp.addHeader("Access-Control-Allow-Origin", "*");
165165
resp.setContentType("application/json");

0 commit comments

Comments
 (0)