Giter Club home page Giter Club logo

java_data_jpa's Introduction

data_JPA_HOMEWORK

JAVA JPA 資料庫CRUD,以API方式製作

啟動serve: 到 DataJpaHomeworkApplication -> 點選右鍵 -> Run As -> Spring Boot App

使用方式: 可以把資料表先放到資料庫中,或是沒有放對應的表,資料庫會自動新增。此API要先使用新增訂單細項才可以用新增訂單,訂單排序需要跟著訂單的id

資料表的放置位置: JAVA_data_JPA/src/main/resources/

取得產品內容 http://localhost:8080/productQuery/{id}

取得訂單內容 http://localhost:8080/orderQuery/{id}

取得訂單的詳細項目 http://localhost:8080/queryOrder/{id}

移除訂單項目 http://localhost:8080/deleteOrder/{id}

新增訂單的細項 http://localhost:8080/orderItem?order_id=依訂單排序&qty=訂購數量&product_id=要購買的產品編號

新增訂單 http://localhost:8080/order?customer=購買人姓名&address=地址

java_data_jpa's People

Contributors

dragonleolin avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.