rax-medical/node-server/core/featureTable.js
2023-11-16 14:20:47 +08:00

20 lines
535 B
JavaScript

import common from "./common.js";
const app = common.app;
const connection = common.connection;
const m_get = common.m_get;
const nowTime = common.nowTime;
const getTable = () => app.post('/getfeature', function (req, res) {
const database = req.body.database;
const table = `FeatureTable`;
const order = `ID`;
const Clause = false;
const start = ~~req.body.start;
const end = ~~req.body.end;
common.mysqlQuery(res, database, m_get(table, Clause, order, start, end));
});
export default {
getTable
};