doomiwork 4.0.3 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/controller.js +10 -0
- package/core/database/mysqlbase.js +8 -0
- package/package.json +1 -1
package/core/controller.js
CHANGED
|
@@ -54,6 +54,16 @@ class controller {
|
|
|
54
54
|
let excelResult = await exportUtility.recordset2ExcelFile(data,excelkey, this.beforeExportExcel)
|
|
55
55
|
return excelResult;
|
|
56
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* 写入Excel数据
|
|
59
|
+
* @param {*} data
|
|
60
|
+
* @param {*} excelkey
|
|
61
|
+
* @returns
|
|
62
|
+
*/
|
|
63
|
+
async writeExcel(data, excelkey){
|
|
64
|
+
let excelResult = await exportUtility.writeExcel(data, excelkey)
|
|
65
|
+
return excelResult;
|
|
66
|
+
}
|
|
57
67
|
/**
|
|
58
68
|
* 记录用户的操作行为
|
|
59
69
|
* req:HttpRequest
|