Commit e8011e22 by chenjinjing

no message

parent 16cc1497
...@@ -431,10 +431,10 @@ export async function initEnterpriseData() { ...@@ -431,10 +431,10 @@ export async function initEnterpriseData() {
* 初始化管理员账号 * 初始化管理员账号
*/ */
async function initUser() { async function initUser() {
let tczxAdd2List = [ let jfbAdd2List = [
{userType:1, department:"投促中心", name:"伍宏晶", loginId:"13621864990", userId:"tczx_18621551552", pwd:getPwdMd5("18621551552", md5("551552")), phone:"18621551552", }, {userType:1, department:"张江镇经发办", name:"顾利晖", loginId:"13651954782", userId:"zjzjfb_13651954782", pwd:getPwdMd5("13651954782", md5("954782")), phone:"13651954782"},
]; ];
await createManyUser(tczxAdd2List); await createManyUser(jfbAdd2List);
return return
let adminList = [ let adminList = [
...@@ -462,6 +462,10 @@ async function initUser() { ...@@ -462,6 +462,10 @@ async function initUser() {
{userType:1, department:"投促中心", name:"贾思奇", loginId:"15221938430", userId:"tczx_15221938430", pwd:getPwdMd5("15221938430", md5("938430")), phone:"15221938430", } {userType:1, department:"投促中心", name:"贾思奇", loginId:"15221938430", userId:"tczx_15221938430", pwd:getPwdMd5("15221938430", md5("938430")), phone:"15221938430", }
]; ];
await createManyUser(tczxAddList); await createManyUser(tczxAddList);
let tczxAdd2List = [
{userType:1, department:"投促中心", name:"伍宏晶", loginId:"13621864990", userId:"tczx_18621551552", pwd:getPwdMd5("18621551552", md5("551552")), phone:"18621551552", },
];
await createManyUser(tczxAdd2List);
} }
...@@ -1092,7 +1096,7 @@ export async function test111222() { ...@@ -1092,7 +1096,7 @@ export async function test111222() {
export async function 匹配户地址() { export async function 匹配户地址() {
//1.把地址复制到这里, 为啥要复制呢,不读表格呢,因为企查查的很多地址,有一个问题,指向的不是一个地址会有很多顿号之类的符号,这样匹配出来就不一定准确 //1.把地址复制到这里, 为啥要复制呢,不读表格呢,因为企查查的很多地址,有一个问题,指向的不是一个地址会有很多顿号之类的符号,这样匹配出来就不一定准确
//2.复制之后直接运行 //2.复制之后直接运行
......
...@@ -27,7 +27,7 @@ export async function policyRecommend(uscc:string, degree:number) { ...@@ -27,7 +27,7 @@ export async function policyRecommend(uscc:string, degree:number) {
title:info.title, title:info.title,
endTime:moment(info.endTime).format("YYYY"), endTime:moment(info.endTime).format("YYYY"),
matchingDegree:degree || DEGREE., matchingDegree:degree || DEGREE.,
subsidy:"返税" subsidy:"产业扶持资金"
}); });
}); });
......
...@@ -2,7 +2,7 @@ import { getAiDoc } from "./biz/ai"; ...@@ -2,7 +2,7 @@ import { getAiDoc } from "./biz/ai";
import { dataOut } from "./biz/dataOut"; import { dataOut } from "./biz/dataOut";
import { out20251031 } from "./biz/dataSync/data"; import { out20251031 } from "./biz/dataSync/data";
import { initData, test111 } from "./biz/dataSync/dataInit"; import { initData, test111 } from "./biz/dataSync/dataInit";
import { initEnterpriseData, test111222, test33333 } from "./biz/dataSync/newDataInit"; import { initEnterpriseData, test111222, 匹配户管地址 } from "./biz/dataSync/newDataInit";
import { testtttttt } from "./biz/dataSync/newDataInit2"; import { testtttttt } from "./biz/dataSync/newDataInit2";
import { initQueue } from "./biz/labelEnterpriseList"; import { initQueue } from "./biz/labelEnterpriseList";
import { initConfig, systemConfig} from "./config/serverConfig"; import { initConfig, systemConfig} from "./config/serverConfig";
...@@ -25,7 +25,8 @@ async function lanuch() { ...@@ -25,7 +25,8 @@ async function lanuch() {
// await out20251031(); // await out20251031();
// await dataOut(); // await dataOut();
// await test111222(); // await test111222();
// await test33333();
// await 匹配户管地址();
} }
......
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