|
@@ -2,7 +2,7 @@
|
|
|
* @Author: fuyu
|
|
|
* @Date: 2021-03-23 12:00:09
|
|
|
* @LastEditors: fuyu
|
|
|
- * @LastEditTime: 2021-03-26 10:38:18
|
|
|
+ * @LastEditTime: 2021-03-26 10:44:40
|
|
|
* @FilePath: /202103/code/sql_merge/src/service/move.js
|
|
|
*/
|
|
|
|
|
@@ -38,7 +38,7 @@ export async function movePacs(institution_id, offset) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-const moveSinglePacs = async institution_id => {
|
|
|
+const moveSinglePacs = async (institution_id, offset = 0) => {
|
|
|
let count = limit, sum = 0
|
|
|
while(count === limit) {
|
|
|
count = await moveExamsPacs(institution_id, offset)
|