|
@@ -108,6 +108,7 @@ const ParamsService = {
|
|
|
['name', paramsEntity.name],
|
|
|
['remark', paramsEntity.remark],
|
|
|
['sort', paramsEntity.sort],
|
|
|
+ ['default_cql', paramsEntity.defaultCql],
|
|
|
]
|
|
|
const sql = `INSERT INTO ship_test_params (${values.map(v => v[0]).join(',')}) VALUES (${values.map(v => '?').join(',')})`
|
|
|
if (!isValue(paramsEntity.sourceId)) {
|
|
@@ -133,6 +134,7 @@ const ParamsService = {
|
|
|
['name', paramsEntity.name],
|
|
|
['remark', paramsEntity.remark],
|
|
|
['sort', paramsEntity.sort],
|
|
|
+ ['default_cql', paramsEntity.defaultCql],
|
|
|
]
|
|
|
let sql = `UPDATE ship_test_params SET ${values.map(v => `${v[0]} = ?`).join(',')}`
|
|
|
if (!isValue(paramsEntity.id)) {
|