up
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---@class _DBCust
|
||||
---@field custName
|
||||
---@field custType
|
||||
---@field phone
|
||||
---@field phoneNo
|
||||
---@field address
|
||||
---@field companyName
|
||||
---@field taskId
|
||||
@@ -80,10 +80,10 @@ DBCust.onGetFilter = function(data)
|
||||
end
|
||||
|
||||
DBCust.getFieldsByTask = function(taskValue)
|
||||
taskValue = tostring(taskValue)
|
||||
if not taskValue then
|
||||
return {}
|
||||
end
|
||||
taskValue = tostring(taskValue)
|
||||
return db.taskFields[taskValue] or {}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user