明树Git Lab

Commit 42d76b9c authored by zfp1's avatar zfp1

1

parent ac042cc9
Pipeline #112028 passed with stage
in 3 seconds
......@@ -58,6 +58,12 @@ async function getTzjhList(req, res, next) {
if (req.body.projectId) {
where.projectId = req.body.projectId;
}
if (req.body.cwbblx) {
where.cwbblx = req.body.cwbblx;
}
if (req.body.zyfzy) {
where.zyfzy = req.body.zyfzy;
}
search.where = where;
if (req.body.attributes && req.body.attributes.length) {
search.attributes = req.body.attributes;
......
......@@ -254,7 +254,7 @@ const RcTzjh = sequelize.define('RcTzjh', {
RcTzjh.sync({
// force: false,
// force: true ,//会删除已存在表并重新创建
alter: true
// alter: true
})
.then(() => {
console.log('RcTzjh 表同步成功');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment