The process of data transformer in browser&client

In this project,we use typescript as our develop language.

1.the api of this project shows we can send our request in this way:

image

2.in the codes of our pages we can learn that we get data in "row" field.

image

3.in the codes of our pages we also can learn that we get "row" data in "scope" field that called "tabledata".

image

4.in the codes of our pages we also can learn that we get our "tableData" in "res"&"res.data"&"res.data.data.records".

image

5.we get data in Mysql database through SQL language , return it to browser and we can get it in our java codes.

image

 <select id="selectAll"
            resultType="Employee">
        SELECT * FROM employee
        <where>
            <if test="name != null">
                 AND name like '%${name}%'
            </if>
        </where>
    </select>
posted @ 2023-08-03 10:59  PostMan_Zc  阅读(37)  评论(0)    收藏  举报