{
  "data": [
    {
      "children": [
        {
          "name": "CONCAT",
          "chineseName": "链接多个文本",
          "description": "可用于连接多个任意类型的文本、日期、数字变量或常量。最后一个字符可使用'#分隔符#'标记为分隔符",
          "example": "CONCAT({总价}/10000, '万元')",
          "result": "100万元",
          "paramDescs": [
            "*文本1*（必选）",
            "*文本2*（可选）",
            "......"
          ],
          "formatString": "CONCAT(文本1, 文本2, [文本3, …],[#分隔符#])",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": -1,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": true
            }
          ]
        },
        {
          "name": "TEXT",
          "chineseName": "将变量转为文本",
          "description": "将变量转为文本。",
          "example": "TEXT({当前数据.性别})",
          "result": "'男'",
          "paramDescs": [
            "*变量*（必选）"
          ],
          "formatString": "TEXT(变量)",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "VALUE",
          "chineseName": "将文本转为数字",
          "description": "将文本转为数字。",
          "example": "VALUE('23')",
          "result": "23",
          "paramDescs": [
            "*文本、数字、选项*（必选）"
          ],
          "formatString": "VALUE([文本、数字、选项])",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "LEN",
          "chineseName": "返回文本长度",
          "description": "返回文本的长度，中文、英文都算1个字符。",
          "example": "LEN('大家好dajiahao')",
          "result": "12",
          "paramDescs": [
            "*变量或常量*（必选）"
          ],
          "formatString": "LEN(文本)",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "SEARCH",
          "chineseName": "在文本中查找关键字",
          "description": "在指定文本中查找关键字，返回第一次出现关键字的字符位置，文本的第一个字记为1。未找到，返回0。搜索开始位置，表示从文本的第几个字符开始搜索，默认为1。",
          "example": "SEARCH('大家', '大家好大家好', 3)",
          "result": "4",
          "paramDescs": [
            "*文本关键字*（必选）",
            "*文本*（必选）",
            "*搜索开始位置*（可选）"
          ],
          "formatString": "SEARCH(关键字, 文本, [搜索开始位置])",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 3,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": false,
              "infinite": false
            }
          ]
        },
        {
          "name": "REPLACE",
          "chineseName": "替换文本中的字",
          "description": "在原文本中，从替换位置开始，往后数指定的替换字符数，将这段文本替换为新文本。",
          "example": "REPLACE('大家好大家好', 2, 3, 'dajia')",
          "result": "'大dajia家好'",
          "paramDescs": [
            "*文本*（必选）"
          ],
          "formatString": "REPLACE(原文本, 替换开始位置, 替换字符数, 新文本)",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 4,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "REPT",
          "chineseName": "将文本重复指定次数",
          "description": "将文本重复指定次数。",
          "example": "REPT('大家', 2)",
          "result": "'大家大家'",
          "paramDescs": [
            "*文本*（必选）",
            "*重复次数*（必选）"
          ],
          "formatString": "REPT(文本, 重复次数)",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "PAD",
          "chineseName": "将文本填充至指定长度",
          "description": "将原文本填充到指定长度，如果文本长度大于设置的长度，则不做任何操作。填充位置可用参数：'LEFT'、'RIGHT'。",
          "example": "PAD('你好', 4, '你', 'LEFT')",
          "result": "'你你你好'",
          "paramDescs": [
            "*原文本*（必选）",
            "*长度*（必选）",
            "*填充用的文本*（必选）",
            "*填充位置*（可选）"
          ],
          "formatString": "PAD(原文本, 长度, 填充用的文本, [填充位置])",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 4,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "string",
              "must": true,
              "constType": [
                "RIGHT",
                "LEFT"
              ],
              "infinite": false
            }
          ]
        },
        {
          "name": "TRIM",
          "chineseName": "清除前后空格",
          "description": "删除文本首尾的空格。",
          "example": "TRIM(' 大家好 ')",
          "result": "'大家好'",
          "paramDescs": [
            "*文本*（必选）"
          ],
          "formatString": "TRIM(文本)",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "LEFT",
          "chineseName": "返回文本左侧开始的文字",
          "description": "从文本左侧开始，返回指定字符数的文字。",
          "example": "LEFT('大家好', 2)",
          "result": "'大家'",
          "paramDescs": [
            "*文本*（必选）",
            "*截取字符数*（必选）"
          ],
          "formatString": "LEFT(文本, 截取字符数)",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "RIGHT",
          "chineseName": "返回文本右侧开始的文字",
          "description": "从文本右侧开始，返回指定字符数的文字。",
          "example": "RIGHT('大家好', 2)",
          "result": "'家好'",
          "paramDescs": [
            "*文本*（必选）",
            "*截取字符数*（必选）"
          ],
          "formatString": "RIGHT(文本, 截取字符数)",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "MID",
          "chineseName": "返回文本指定位置开始的文字",
          "description": "从文本指定位置之后开始，返回指定字符数的文字。",
          "example": "MID('大家好', 2, 1)",
          "result": "'家'",
          "paramDescs": [
            "*文本*（必选）",
            "*指定位置*（必选）",
            "*截取字符数*（必选）"
          ],
          "formatString": "MID(文本, 指定位置, 截取字符数)",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 3,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "SCORE",
          "chineseName": "获取选项型控件分数",
          "description": "获取选项型控件（单选框、复选框、下拉菜单）分数。",
          "example": "SCORE({当前数据.单选框})",
          "result": "选项分数（注：未设置选项分数时，结果为0）",
          "paramDescs": [
            "*选项*（必选）"
          ],
          "formatString": "SCORE({选项})",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "option",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "IDCARD",
          "chineseName": "身份证函数",
          "description": "从身份证号码中获取相关信息，比如：生日（BD）、年龄（AGE）、籍贯（NA）、性别（GENDER）。",
          "example": "IDCARD( ‘******19980706****’ , ‘BD’ )",
          "result": "'1998-07-06'",
          "paramDescs": [
            "*身份证号码*（必选）",
            "*查找类型*（必选）"
          ],
          "formatString": "IDCARD({身份证号码}, {查找类型})",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "string",
              "must": true,
              "constType": [
                "BD",
                "NA",
                "AGE",
                "GENDER"
              ],
              "infinite": false
            }
          ]
        },
        {
          "name": "ISSTRING",
          "chineseName": "是否是字符串",
          "description": "判断是否是字符。",
          "example": "ISSTRING('泛微123456')",
          "result": "true",
          "paramDescs": [
            "*变量或常量*（必选）"
          ],
          "formatString": "ISSTRING({任意控件})",
          "paramArray": [],
          "paramData": [],
          "returnType": "boolean",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            }
          ]
        }
      ],
      "dataType": "char",
      "name": "字符函数",
      "action": "DataSource",
      "type": "functions"
    },
    {
      "children": [
        {
          "name": "TODAY",
          "chineseName": "当前日期",
          "description": "返回当天日期。",
          "example": "TODAY()",
          "result": "'2020-01-01'",
          "formatString": "TODAY()",
          "paramArray": [],
          "paramData": [],
          "returnType": "date",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "NOW",
          "chineseName": "当前日期时间",
          "description": "返回当天日期+时间。",
          "example": "NOW()",
          "result": "'2016-12-24 12:05:38'",
          "formatString": "NOW()",
          "paramArray": [],
          "paramData": [],
          "returnType": "date",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "DATEADD",
          "chineseName": "对日期加减年、月、日",
          "description": "对日期加减按照单位加减。单位默认为日，可选单位：年Y、月M、日D、时H、分I、秒S。",
          "example": "DATEADD('2016-12-21', 3) <br/> DATEADD('2016-12-24 20:00:00', 3, 'H')",
          "result": "'2016-12-24' <br/> '2016-12-24 23:00:00'",
          "paramDescs": [
            "*日期*（必选）",
            "*数值*（必选）",
            "*单位*（可选）"
          ],
          "formatString": "DATEADD(日期,数值 , [单位])",
          "paramArray": [],
          "paramData": [],
          "returnType": "date",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 3,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "string",
              "must": true,
              "constType": [
                "Y",
                "M",
                "D",
                "H",
                "I",
                "S"
              ],
              "infinite": false
            }
          ]
        },
        {
          "name": "DATEDIFF",
          "chineseName": "返回两个日期的差值",
          "description": "根据指定的单位，返回日期2减去日期1的差值。当日期2小于日期1时，差值为负值。单位默认为日，可选单位：年Y、月M、日D、时H、分I、秒S。",
          "example": "DATEDIF('2016-12-21', '2016-12-24') <br/> DATEDIF('2016-12-24 20:00:00', '2016-12-25 20:00:00', 'H')",
          "result": "3 <br/> 24",
          "paramDescs": [
            "*日期1*（必选）",
            "*日期2*（必选）",
            "*单位*（可选）"
          ],
          "formatString": "DATEDIFF(日期1, 日期2, [单位])",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 3,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "string",
              "must": true,
              "constType": [
                "Y",
                "M",
                "D",
                "H",
                "I",
                "S"
              ],
              "infinite": false
            }
          ]
        },
        {
          "name": "DATEFORMAT",
          "chineseName": "返回指定格式的日期",
          "description": "将日期转为指定格式返回。 <br> yyyy 将年份显示为1900-9999 <br> yy 将年份显示为00-99 <br> mm 将月份显示为 01–12 <br> dd 将日期显示为 01–31",
          "example": "DATEFORMAT('2016-12-24', 'YY-MM-DD')",
          "result": "2016-12-24",
          "paramDescs": [
            "*日期*（必选）",
            "*日期格式*（必选）"
          ],
          "formatString": "DATEFORMAT(日期, 可选格式)",
          "paramArray": [],
          "paramData": [],
          "returnType": "date",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "YEAR",
          "chineseName": "返回日期中的年",
          "description": "返回指定日期中的年。",
          "example": "YEAR('2016-12-24')",
          "result": "2016",
          "paramDescs": [
            "*日期*（必选）"
          ],
          "formatString": "YEAR(日期)",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "MONTH",
          "chineseName": "返回日期中的月",
          "description": "返回指定日期中的月。",
          "example": "MONTH('2016-12-24')",
          "result": "12",
          "paramDescs": [
            "*日期*（必选）"
          ],
          "formatString": "MONTH(日期)",
          "paramArray": [
            "String"
          ],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "DAY",
          "chineseName": "返回日期中的日",
          "description": "返回指定日期中的日。",
          "example": "DAY('2016-12-24')",
          "result": "24",
          "paramDescs": [
            "*日期*（必选）"
          ],
          "formatString": "DAY(日期)",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "HOUR",
          "chineseName": "返回日期中的小时",
          "description": "返回指定日期中的小时。",
          "example": "HOUR('2016-12-24 20:30:56')",
          "result": "20",
          "paramDescs": [
            "*日期*（必选）"
          ],
          "formatString": "HOUR(日期)",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "MINUTE",
          "chineseName": "返回日期中的分钟",
          "description": "返回指定日期中的分钟。",
          "example": "MINUTE('2016-12-24 20:30:56')",
          "result": "30",
          "paramDescs": [
            "*日期*（必选）"
          ],
          "formatString": "MINUTE(日期)",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "SECOND",
          "chineseName": "返回日期中的秒",
          "description": "返回指定日期中的秒钟。",
          "example": "SECOND('2016-12-24 20:30:56')",
          "result": "56",
          "paramDescs": [
            "*日期*（必选）"
          ],
          "formatString": "SECOND(日期)",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "WEEKNUM",
          "chineseName": "返回日期为第几周",
          "description": "返回指定日期为第几周，从每年第1天开始算第1周。",
          "example": "WEEKNUM('2016-12-24')",
          "result": "52",
          "paramDescs": [
            "*日期*（必选）"
          ],
          "formatString": "WEEKNUM(日期)",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "WEEKDAY",
          "chineseName": "返回日期为星期几",
          "description": "返回指定日期为星期几。返回值为0~6，代表周日~周六。",
          "example": "WEEKDAY('2016-12-24')",
          "result": "6",
          "paramDescs": [
            "*日期*（必选）"
          ],
          "formatString": "WEEKDAY(日期)",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "EOMONTH",
          "chineseName": "返回某月最后一天日期",
          "description": "将某月最后一天日期返回。日期可以为指定日期也可以是日期参数，之前的月数用负数表示，之后的月数用正数表示。所输入月数需为整数。",
          "example": "EOMONTH('2021-11-07', -2)",
          "result": "2021-09-30",
          "paramDescs": [
            "*日期*（必选）",
            "*数值*（必选）"
          ],
          "formatString": "EOMONTH(日期，指定日期之前或之后的月数)",
          "paramArray": [],
          "paramData": [],
          "returnType": "string",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "CURRYEAR",
          "chineseName": "返回当前年份",
          "description": "取当前日期的年份。",
          "example": "假设当前时间为：2022年2月17日 11:20:30 ，CURRYEAR()",
          "result": "2022",
          "formatString": "CURRYEAR()",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "CURRMONTH",
          "chineseName": "返回当前月份",
          "description": "取当前日期的月份。",
          "example": "假设当前时间为：2022年2月17日 11:20:30 ，CURRMONTH()",
          "result": "2",
          "formatString": "CURRMONTH()",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "CURRDAY",
          "chineseName": "返回当前第几日（当月）",
          "description": "取当前日期的天。",
          "example": "假设当前时间为：2022年2月17日 11:20:30 ，CURRDAY()",
          "result": "17",
          "formatString": "CURRDAY()",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "CURRWEEK",
          "chineseName": "返回当前是周几",
          "description": "取当前日期是周几。",
          "example": "假设当前时间为：2022年2月17日 11:20:30 ，CURRWEEK()",
          "result": "4",
          "formatString": "CURRWEEK()",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "CURRHOUR",
          "chineseName": "返回当前小时",
          "description": "取当前日期的小时。",
          "example": "假设当前时间为：2022年2月17日 11:20:30 ，CURRHOUR()",
          "result": "11",
          "formatString": "CURRHOUR()",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "CURRMINUTE",
          "chineseName": "返回当前分",
          "description": "取当前日期的分钟。",
          "example": "假设当前时间为：2022年2月17日 11:20:30 ，CURRMINUTE()",
          "result": "20",
          "formatString": "CURRMINUTE()",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "CURRSECOND",
          "chineseName": "返回当前秒",
          "description": "取当前日期的秒钟。",
          "example": "假设当前时间为：2022年2月17日 11:20:30 ，CURRSECOND()",
          "result": "30",
          "formatString": "CURRSECOND()",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "MAXDATE",
          "chineseName": "返回一组日期中的最大值",
          "description": "取一组日期中的最大值。",
          "example": "MAXDATE('2016-12-24', '2022-12-24')",
          "result": "2022-12-24",
          "paramDescs": [
            "*日期1*（必选）",
            "*日期2*（必选）"
          ],
          "formatString": "MAXDATE(日期1，日期2，……)",
          "paramArray": [],
          "paramData": [],
          "returnType": "date",
          "type": "function",
          "validForm": "current_data",
          "paramCount": -1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": true
            }
          ]
        },
        {
          "name": "MINDATE",
          "chineseName": "返回一组日期中的最小值",
          "description": "取一组日期中的最小值。",
          "example": "MINDATE('2016-12-24', '2022-12-24')",
          "result": "2016-12-24",
          "paramDescs": [
            "*日期1*（必选）",
            "*日期2*（必选）"
          ],
          "formatString": "MINDATE(日期1，日期2，……)",
          "paramArray": [],
          "paramData": [],
          "returnType": "date",
          "type": "function",
          "validForm": "current_data",
          "paramCount": -1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": true
            }
          ]
        },
        {
          "name": "DAYSINMONTH",
          "chineseName": "返回指定月的天数",
          "description": "返回指定月的天数。",
          "example": "DAYSINMONTH('2024-01-01')",
          "result": "31",
          "paramDescs": [
            "*日期*（必选）"
          ],
          "formatString": "DAYSINMONTH(日期)",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "days_in_month",
          "paramCount": -1,
          "paramStatuses": [
            {
              "dataType": "date",
              "must": true,
              "infinite": true
            }
          ]
        },
      ],
      "dataType": "date",
      "name": "日期函数",
      "action": "DataSource",
      "type": "functions"
    },
    {
      "children": [
        {
          "name": "IF",
          "chineseName": "如果条件为真，则...否则...",
          "description": "如果条件为真，则执行表达式1，为假则执行表达式2。条件中不可嵌套使用IF函数。",
          "example": "IF({员工表.年龄} > 60, '退休', '在职') ",
          "result": "'退休' <Br/> '在职'",
          "paramDescs": [
            "*条件*（必选）",
            "*表达式1*（必选）",
            "*表达式2*（必选）"
          ],
          "formatString": "IF(条件, 表达式1, 表达式2)",
          "paramArray": [],
          "paramData": [],
          "returnType": "all",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 3,
          "paramStatuses": [
            {
              "dataType": "boolean",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "AND",
          "chineseName": "且",
          "description": "所有条件均为真，则返回真，否则返回假。逻辑操作AND的函数模式。",
          "example": "AND(2 = 2, 2 < 2)",
          "result": "false",
          "paramDescs": [
            "*条件1*（必选）",
            "*条件2*（可选，可输入多个参数）"
          ],
          "formatString": "AND(条件1, 条件2, [条件3, …])",
          "paramArray": [],
          "paramData": [],
          "returnType": "boolean",
          "type": "function",
          "validForm": "current_data",
          "paramCount": -1,
          "paramStatuses": [
            {
              "dataType": "boolean",
              "must": true,
              "infinite": true
            }
          ]
        },
        {
          "name": "OR",
          "chineseName": "或",
          "description": "任意一个条件为真，则返回真，否则返回假。逻辑操作OR的函数模式。",
          "example": "OR(2 = 2, 2 > 3)",
          "result": "true",
          "paramDescs": [
            "*条件1*（必选）",
            "*条件2*（可选，可输入多个参数）"
          ],
          "formatString": "OR(条件1, 条件2, [条件3, …])",
          "paramArray": [],
          "paramData": [],
          "returnType": "boolean",
          "type": "function",
          "validForm": "current_data",
          "paramCount": -1,
          "paramStatuses": [
            {
              "dataType": "boolean",
              "must": true,
              "infinite": true
            }
          ]
        },
        {
          "name": "NOT",
          "chineseName": "反转真假结果",
          "description": "对逻辑结果取反。",
          "example": "NOT(2 > 3)",
          "result": "true",
          "paramDescs": [
            "*逻辑结果*（必选）"
          ],
          "formatString": "NOT(逻辑结果)",
          "paramArray": [],
          "paramData": [],
          "returnType": "boolean",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "boolean",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "IN",
          "chineseName": "变量是否包含在一组结果中",
          "description": "任意类型的变量或常量等于一组同类型变量或常量结果中的任意一个，则返回真。",
          "example": "IN(2, [2, 3, 4])",
          "result": "true",
          "paramDescs": [
            "*变量*（必选）",
            "*变量数组*（必选）"
          ],
          "formatString": "IN(变量, [变量1, 变量2, …])",
          "paramArray": [],
          "paramData": [
            "{}",
            "[]"
          ],
          "returnType": "boolean",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "array",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "LIKE",
          "chineseName": "文本是否包含任意一个关键字",
          "description": "文本类型的变量或常量包含一组文本类型变量或常量结果中的任意一个，则返回真。逻辑操作LIKE的函数模式。",
          "example": "LIKE('大家好', ['大家', '好'])",
          "result": "true",
          "paramDescs": [
            "*文本*（必选）",
            "*文本数组*（必选）"
          ],
          "formatString": "LIKE(文本, [文本1, 文本2, …])",
          "paramArray": [],
          "paramData": [
            "{}",
            "[]"
          ],
          "returnType": "boolean",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "string",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "array",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "ISEMPTY",
          "chineseName": "是否为空",
          "description": "变量为空或未填写，则返回真。",
          "example": "ISEMPTY({员工表.电话})",
          "result": "true",
          "paramDescs": [
            "*变量或常量*（可选）"
          ],
          "formatString": "ISEMPTY(变量)",
          "paramArray": [],
          "paramData": [],
          "returnType": "boolean",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "TRUE",
          "chineseName": "返回真",
          "description": "返回真。",
          "example": "TRUE()",
          "result": "true",
          "formatString": "TRUE()",
          "paramArray": [],
          "paramData": [],
          "returnType": "boolean",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "FALSE",
          "chineseName": "返回假",
          "description": "返回假。",
          "example": "FALSE()",
          "result": "false",
          "formatString": "FALSE()",
          "paramArray": [],
          "paramData": [],
          "returnType": "boolean",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 0
        },
        {
          "name": "IFS",
          "chineseName": "多条件",
          "description": "多个条件判断,位于单数位置的参数设置为条件，位于双数位置的参数设置为结果，最后一个参数为默认返回值，当所有条件都不满足的时候返回默认参数。",
          "example": "IFS(1>1,1,1=1,2,0)",
          "result": "2",
          "paramDescs": [
            "*条件1*（必选）",
            "*变量或常量*（必选）",
            "*条件2*（必选）",
            "*变量或常量*（必选）",
            "*变量或常量*（必选）"
          ],
          "formatString": "IFS({条件1},{结果1},{条件2},{结果2}...{默认结果})",
          "paramArray": [],
          "paramData": [],
          "returnType": "all",
          "type": "function",
          "validForm": "current_data",
          "paramCount": -1,
          "paramStatuses": [
            {
              "dataType": "boolean",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "SWITCH",
          "chineseName": "条件选择",
          "description": "条件选择。",
          "example": "SWITCH({字段1},1,'A',2,'B','C')",
          "result": "假设字段1为2，结果：'B'",
          "paramDescs": [
            "*变量或常量*（必选）",
            "*变量或常量*（必选）",
            "*变量或常量*（必选）",
            "*变量或常量*（可选）",
            "*变量或常量*（可选）",
            "*变量或常量*（必选）"
          ],
          "formatString": "SWITCH({变量},{条件1},{结果1},{条件2},{结果2}...{默认结果})",
          "paramArray": [],
          "paramData": [],
          "returnType": "all",
          "type": "function",
          "validForm": "current_data",
          "paramCount": -1,
          "paramStatuses": [
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "all",
              "must": true,
              "infinite": false
            }
          ]
        }
      ],
      "dataType": "logic",
      "name": "逻辑函数",
      "action": "DataSource",
      "type": "functions"
    },
    {
      "children": [
        {
          "name": "ROUNDUP",
          "chineseName": "向上舍入",
          "description": "根据设置的小数位精确度，返回对数值向上舍入后的值。小数位精确度取值可为正整数，0，负整数。如果小数位精确度为正整数，则向上舍入到指定的小数位。如果小数位精确度等于 0，则向上舍入到最接近的整数。如果小数位精确度为负整数，则在小数点左侧向上进行舍入。小数位精确度不支持变量。小数位精确度默认为0，即只保留整数。",
          "example": "ROUNDUP(76.9,0)",
          "result": "77",
          "paramDescs": [
            "*数字*(必选)",
            "*小数位精确度*（可选）"
          ],
          "formatString": "ROUNDUP(数字, [小数位精确度])",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "ROUND",
          "chineseName": "四舍五入",
          "description": "根据设置的小数位精确度，返回对数值四舍五入后的值。小数位精确度取值可为正整数，0，负整数。如果小数位精确度为正整数，针对小数点后的数据进行四舍五入；如果小数位精确度等于 0，返回最接近数值的整数；如果小数位精确度为负整数，针对小数点前的数据进行四舍五入，被舍掉的数据用0占位。小数位精确度不支持变量。小数位精确度默认为0，即只保留整数。",
          "example": "ROUND(123.456，2)，ROUND(123.456，0)，ROUND(123.456，-2)",
          "result": "依次为123.46，123，100",
          "paramDescs": [
            "*数字*(必选)",
            "*小数位精确度*（可选）"
          ],
          "formatString": "ROUND(数字, [小数位精确度])",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "ROUNDDOWN",
          "chineseName": "向下舍入",
          "description": "根据设置的小数位精确度，返回对数值向下舍入后的值。小数位精确度取值可为正整数，0，负整数。如果小数位精确度为正整数，则向下舍入到指定的小数位。如果小数位精确度等于 0，则向下舍入到最接近的整数。如果小数位精确度为负整数，则在小数点左侧向下进行舍入。小数位精确度不支持变量。小数位精确度默认为0，即只保留整数。",
          "example": "ROUNDDOWN(76.9,0)",
          "result": "76",
          "paramDescs": [
            "*数字*(必选)",
            "*小数位精确度*（可选）"
          ],
          "formatString": "ROUNDDOWN(数字, [小数位精确度])",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "AGGREGATION",
          "chineseName": "聚合运算",
          "description": "将一组数据进行统计计算，支持最大值（MAX）、最小值（MIN）、平均值（AVG）。",
          "example": "AGGREGATION(1 , 2,3,'AVG')",
          "result": "2",
          "paramDescs": [
            "*数字*(必选)",
            "*聚合运算类型*（必选）"
          ],
          "formatString": "AGGREGATION({数字}...,{聚合运算类型})",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": -1,
          "paramStatuses": [
            {
              "dataType": "number",
              "must": true,
              "infinite": true
            },
            {
              "dataType": "string",
              "must": true,
              "constType": [
                "avg",
                "max",
                "min"
              ],
              "infinite": false
            }
          ]
        },
        {
          "name": "MOD",
          "chineseName": "求余",
          "description": "将两个参数进行除法运算然后得出余数返回。",
          "example": "MOD( 7 , 3 )",
          "result": "1",
          "paramDescs": [
            "*数字*(必选)",
            "*数字*(必选)"
          ],
          "formatString": "ROUNDDOWN({数字},{数字})",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        },
        {
          "name": "TRUNC",
          "chineseName": "数字格式化",
          "description": "将小数点格式化成指定位数。",
          "example": "TRUNC( 2.123 , 2 )",
          "result": "2.12",
          "paramDescs": [
            "*数字*(必选)",
            "*精度*（必选）"
          ],
          "formatString": "ROUNDDOWN({数字},{精度})",
          "paramArray": [],
          "paramData": [],
          "returnType": "number",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 2,
          "paramStatuses": [
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            },
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        }
      ],
      "dataType": "math",
      "name": "数学函数",
      "action": "DataSource",
      "type": "functions"
    },
    {
      "children": [
        {
          "name": "GETMONEY",
          "chineseName": "获取所给定数字的金额大写",
          "description": "将金额转换成中文金额大写。",
          "example": "GETMONEY({1234})",
          "result": "壹仟贰佰叁拾肆元整",
          "paramDescs": [
            "*数字*(必选)"
          ],
          "formatString": "GETMONEY({数字})",
          "paramData": [],
          "returnType": "",
          "type": "function",
          "validForm": "current_data",
          "paramCount": 1,
          "paramStatuses": [
            {
              "dataType": "number",
              "must": true,
              "infinite": false
            }
          ]
        }
      ],
      "dataType": "finance",
      "name": "财务函数",
      "action": "DataSource",
      "type": "functions"
    }
  ]
}