Commit 3f2dcd8f authored by 何虹's avatar 何虹 💬

userId给默认值0

parent a70072e2
......@@ -22,8 +22,8 @@ class Control {
if (!dbCode) {
parms.dbCode = urlParam.dbCode || ''
}
if (!userId && userId !== 0) {
parms.userId = -2
if (!userId) {
parms.userId = 0
}
if (!configType && configType !== 0) {
parms.configType = -2
......@@ -75,7 +75,7 @@ class Control {
*/
webChartConfigQuery (data) {
this.packParamHandle(data)
const { appCode, pageName, controlName, userId, dbName, dbCode,configType } = data
const { appCode, pageName, controlName, userId, dbName, dbCode, configType } = data
const postData = {
exec_sql: `EXEC dbo.spappWebChartConfig_Query @sAppCode='${appCode}',@sPage='${pageName}',@sControl='${controlName}',@iUserId='${userId}',@iConfigType='${configType}'`,
db_name: dbName,
......
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