|
@@ -19,13 +19,13 @@ class FileTypeApi {
|
|
|
if ($params["project"]) {
|
|
|
$where[] = ["project", "=", $params["project"]];
|
|
|
}
|
|
|
- if ($param["type"]) {
|
|
|
+ if ($params["type"]) {
|
|
|
$where[] = ["type", "=", $params["type"]];
|
|
|
}
|
|
|
- if ($param["must"]) {
|
|
|
+ if ($params["must"]) {
|
|
|
$where[] = ["must", "=", $params["must"]];
|
|
|
}
|
|
|
- if ($param["active"]) {
|
|
|
+ if ($params["active"]) {
|
|
|
$where[] = ["active", "=", $params["active"]];
|
|
|
}
|
|
|
$projectNameKvs = DictApi::selectByParentCode("declare_type");
|