Commit 81198e84 by lixinming

no message

parent ffedc165
......@@ -94,7 +94,8 @@ export async function monthTableList(state:number, year:number, month:number, pa
}
async function getNotCompleted(year, month) {
/** */
/** 算总数 */
getFuHuaQiCreateDataTimeMap();
}
......
......@@ -9,6 +9,7 @@ import { TASKTYPEENUM } from "../../config/enum";
import { ERRORENUM } from "../../config/errorEnum";
import { findEnterpriseListByTaskId, updateEnterpriseDraftLock } from "../../data/enterprise/enterprise";
import { findFinancingListByTaskId, updateFinancingDraftLock } from "../../data/enterprise/financing";
import { findAllFuHuaQi } from "../../data/fuHuaQi/fuhuaqi";
import { findmonthTableByTaskId, findmonthTableListByTaskId } from "../../data/fuHuaQi/monthTable";
import { createTaskData, findFuHuaQiTaskByKeyAndUscc } from "../../data/fuHuaQi/task";
import { BizError } from "../../util/bizError";
......@@ -92,3 +93,18 @@ export async function checkTask(uscc:string, taskType:number) {
return {isSuccess:true};
}
/**
* 发放任务
* 需求说明:
* 每月1日0时0分,将任务下发至孵化器表中未被禁用的孵化器中
*
*/
export async function provideTask() {
let fuHuaQiList = await findAllFuHuaQi();
fuHuaQiList.forEach(info => {
});
}
\ No newline at end of file
......@@ -179,4 +179,9 @@ export async function getFuHuaQiCreateDataTimeMap() {
*/
export async function findFuHuaQiUserCount(selectParam) {
return await fuHuaQiModel.find(selectParam).count();
}
export async function findAllFuHuaQi() {
return await fuHuaQiModel.find({});
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment