Commit a79ab03d by lixinming

no message

parent e2b75076
......@@ -7,7 +7,6 @@
import { TASKTYPEENUM } from "../../config/enum";
import { ERRORENUM } from "../../config/errorEnum";
import { TaskListConfig } from "../../config/ojbectResultKeyConfig";
import { findEnterpriseListByTaskId, updateEnterpriseDraftLock } from "../../data/enterprise/enterprise";
import { findFinancingListByTaskId, updateFinancingDraftLock } from "../../data/enterprise/financing";
import { findAllFuHuaQi } from "../../data/fuHuaQi/fuhuaqi";
......@@ -149,18 +148,3 @@ export async function provideTask() {
}
}
/**
* 根据uscc查询任务信息
* @param uscc 企业统一信用代码
*/
export async function getTaskByUscc(uscc:string) {
const TaskId = getTaskId(uscc);
let dataBaseInfo = await findTaskByTaskId(TaskId);
if (!dataBaseInfo) throw new BizError(ERRORENUM.未找到数据, `库中不存在${uscc}这个企业`);
let data = extractData(TaskListConfig, dataBaseInfo);
return {data};
}
\ 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