Commit 549887c0 by lixinming

优化biz和router结构

parent 35ecb360
/**
* 小程序端 企业用户的 企业基础信息
* 作者:lxm
*/
import { EnterpriseQualificationUpdateConfig, EnterpriseUpdateBaseDataConfig, InitialTeamUpdateConfig } from "../../../config/eccFormParamConfig";
import { ENTERPRISETEAM, INDUSTRY, LISTINGSITUATION, STATEENUM } from "../../../config/enum";
import { ERRORENUM } from "../../../config/errorEnum";
import { EnterpriseBaseConfig, EnterpriseInitialTeamConfig } from "../../../config/splitResultConfig";
import * as enterpriseData from "../../../data/enterprise/enterprise";
import { addMoneyEnterpriseInitialTeam, deleteMoneyEnterpriseInitialTeam, findEnterpriseInitialTeam, updateMoneyEnterpriseInitialTeam } from "../../../data/enterprise/initialTeam";
import { findEnterpriseNewTeamData } from "../../../data/enterprise/quarterTask/team";
import { getInitialTeamMemberId } from "../../../tools/system";
import { BizError } from "../../../util/bizError";
import { checkChange, checkDataHaveNull, extractData } from "../../../util/piecemeal";
import { eccEnumValue } from "../../../util/verificationEnum";
import { eccFormParam } from "../../../util/verificationParam";
/**
* 获取首页基础信(首页顶端数据)
* 知识产权,融资情况,企业资质 第一次进来会红,点开之后红点提示 会永久消失 2023-05-08
* @param uscc 企业统一信用代码
* @returns
*/
export async function getHomePageHeaderData(uscc:string) {
let enterpriseInfo = await enterpriseData.selectOneEnterpriseByParam({uscc});
//企业名称
let name = enterpriseInfo.name;
let newTeamInfo = await findEnterpriseNewTeamData(uscc);
let teamInfo = Object.keys(newTeamInfo).length > 0 ? newTeamInfo : {doctor:0, master:0, undergraduate:0, juniorCollege:0, other:0 };
//团队总数
let memberCount = teamInfo.doctor + teamInfo.master+ teamInfo.undergraduate+ teamInfo.juniorCollege+ teamInfo.other;
let initialTeam = enterpriseInfo.haveFirstClassTalent == STATEENUM.未选 || !enterpriseInfo.haveFirstClassTalent;//创始团队缺失 true=缺失
let qualification = !enterpriseInfo.tipsQualification; //企业资质缺失 true=缺失 需要标红
let intellectualProperty = !enterpriseInfo.tipsIntellectualProperty;//知识产权缺失 true=缺失 需要标红
let financing = !enterpriseInfo.tipsFinancingInfo; //融资情况缺失 true=缺失 需要标红
let checkEnterpriseInfo = extractData(EnterpriseBaseConfig, enterpriseInfo, false);
let baseInfo = checkDataHaveNull(checkEnterpriseInfo, true)
return {
name,
memberCount,
hiatus:{
initialTeam,
qualification,
financing,
intellectualProperty,
baseInfo
}
}
}
/**
* 获取企业基本信息
* 回显
* @param uscc
*/
export async function enterpriseBaseInfo(uscc:string) {
let enterpriseInfo = await enterpriseData.findEnterpriseByUscc(uscc);
let updateInfo = extractData(EnterpriseBaseConfig, enterpriseInfo, false);
return updateInfo;
}
/**
* 修改我的企业信息
* @param uscc 企业统一信用代码
* @param param 表单
* @returns
*/
export async function updateEnterpriseBaseInfo(uscc:string, param) {
eccFormParam("企业修改我的信息", EnterpriseUpdateBaseDataConfig, param );
eccEnumValue('企业修改我的信息', 'industry', INDUSTRY, param.industry);
let enterpriseInfo = await enterpriseData.findEnterpriseByUscc(uscc);
/**修改字段 */
let changeList = checkChange(param, enterpriseInfo);
if ( !changeList.length ) throw new BizError(ERRORENUM.数据无更新, `${param.uscc}数据无更新`);
changeList.forEach(key => {
if (key != "uscc" && key != "name") {
enterpriseInfo[key] = param[key];
}
});
await enterpriseInfo.save();
return {isSuccess:true};
}
/**
* 创始团队主要逻辑
* 作者:lxm
*/
import { EnterpriseQualificationUpdateConfig, EnterpriseUpdateBaseDataConfig, InitialTeamUpdateConfig } from "../../../config/eccFormParamConfig";
import { ENTERPRISETEAM, INDUSTRY, LISTINGSITUATION, STATEENUM } from "../../../config/enum";
import { ERRORENUM } from "../../../config/errorEnum";
import { EnterpriseBaseConfig, EnterpriseInitialTeamConfig } from "../../../config/splitResultConfig";
import * as enterpriseData from "../../../data/enterprise/enterprise";
import { addMoneyEnterpriseInitialTeam, deleteMoneyEnterpriseInitialTeam, findEnterpriseInitialTeam, updateMoneyEnterpriseInitialTeam } from "../../../data/enterprise/initialTeam";
import { findEnterpriseNewTeamData } from "../../../data/enterprise/quarterTask/team";
import { getInitialTeamMemberId } from "../../../tools/system";
import { BizError } from "../../../util/bizError";
import { checkChange, checkDataHaveNull, extractData } from "../../../util/piecemeal";
import { eccEnumValue } from "../../../util/verificationEnum";
import { eccFormParam } from "../../../util/verificationParam";
/**
* 修改创始团队信息
* 修改 删除 添加 为一个接口 根据数据情况与老数据情况做匹配
* @param uscc 企业统一信用代码
* @param firstClassTalent 是否拥有国际一流人才
* @param teams 创始团队信息
* @returns isSuccess
*/
export async function updateInitialTeamInfo(uscc:string, firstClassTalent:number, teams) {
eccEnumValue("修改创始团队信息", "firstClassTalent", STATEENUM, firstClassTalent);
if (firstClassTalent==STATEENUM.未选) throw new BizError(ERRORENUM.请先选择是否拥有, '修改创始团队信息 没有选是和否');
/**校验参数 */
if ( (firstClassTalent==STATEENUM. && !Array.isArray(teams)) || (firstClassTalent==STATEENUM. && !teams.length) ) {
throw new BizError(ERRORENUM.参数错误, "修改创始团队信息", "缺少参数 teams");
}
if (!firstClassTalent) teams = [];
teams.forEach((info, index) => {
eccFormParam(`修改创始团队信息 下标:${index}`, InitialTeamUpdateConfig, info);
eccEnumValue('修改创始团队信息', 'type', ENTERPRISETEAM, info.type);
if (info.des.length > 200) throw new BizError(ERRORENUM.字数超过200限制, `修改创始团队信息 下标:${index}`);
});
//是否拥有国际人才这个字段在 企业表中 需要单独做更改
let enterpriseInfo = await enterpriseData.findEnterpriseByUscc(uscc);
enterpriseInfo.haveFirstClassTalent = firstClassTalent;
await enterpriseInfo.save();
let enterpriseInitialTeamList = await findEnterpriseInitialTeam(uscc);
/**匹配数据操作逻辑 */
let newTeamIdList = [];//用于匹配新数据,老数据不在新数据中 判定为被删除
teams.forEach(info => {
if (info.id && info.id != "newdata") newTeamIdList.push(info.id);//todo
});
let deleteList = [];
//老数据将出现在这个map里 用于与新数据id匹配,匹配id不在老数据中判定为添加操作
let dataBaseTeamMap = {};
enterpriseInitialTeamList.forEach(info => {
dataBaseTeamMap[info.id] = info;
if (newTeamIdList.indexOf(info.id) == -1 ) {
deleteList.push(info);
}
});
let addList = [];
let updateList = [];
teams.forEach(info => {
let {id} = info;
let dataBaseInfo = dataBaseTeamMap[id];
if (!dataBaseInfo) {//不存在老的id 判定为添加操作
info.id = getInitialTeamMemberId(uscc, info.name);
info.uscc = uscc;
info.name = enterpriseInfo.name;
addList.push(info);
} else {
//比对新老数据判断数据需不需要修改
let changeList = checkChange(info, Object.assign({name:enterpriseInfo.name, uscc}, dataBaseInfo));
if (changeList.length) updateList.push(info);
}
});
/**修改数据 */
if (addList.length) await addMoneyEnterpriseInitialTeam(addList);
if (updateList.length) await updateMoneyEnterpriseInitialTeam(updateList);
if (deleteList.length) await deleteMoneyEnterpriseInitialTeam(deleteList);
return {isSuccess:true};
}
/**
* 获取创始团队信息
* 回显
* @param uscc 企业统一信用代码
* @returns initialTeam 团队列表 firstClassTalent 是否拥有国际一流人才
*/
export async function selectInitialTeamInfo(uscc:string) {
let enterpriseInfo = await enterpriseData.findEnterpriseByUscc(uscc);
let firstClassTalent = enterpriseInfo.haveFirstClassTalent || STATEENUM.未选;
let initialTeamList = await findEnterpriseInitialTeam(uscc);
let initialTeam = [];
initialTeamList.forEach(info => {
let changeData = extractData(EnterpriseInitialTeamConfig, info, false);
initialTeam.push(changeData);
});
return { initialTeam, firstClassTalent };
}
\ No newline at end of file
/**
* 知识产权主要逻辑
* 作者:lxm
*/
import * as enterpriseData from "../../../data/enterprise/enterprise";
/**
* 校验参数是否为空
* @param param 参数
* @returns true就是空
*/
function paramIsNull(param) {
if (!param) return true;
let isNull = false;
if (typeof param == "object") {
if (Array.isArray(param) ) isNull = param.length == 0;
else isNull = Object.keys(param).length == 0;
}
else isNull = !param;
return isNull;
}
/**
* 修改企业知识产权信息
* @param uscc 企业统一信用代码
* @param alienPatent 海外专利个数
* @param classIPatent 一类专利个数
* @param secondClassPatent 二类专利个数
* @returns isSuccess
*/
export async function updateIntellectualProperty(uscc:string, alienPatent:number, classIPatent:number, secondClassPatent:number) {
let enterpriseInfo = await enterpriseData.findEnterpriseByUscc(uscc);
enterpriseInfo.intellectualProperty = {alienPatent, classIPatent, secondClassPatent};
if (!enterpriseInfo.tipsIntellectualProperty ) {
enterpriseInfo.tipsIntellectualProperty = true;
}
await enterpriseInfo.save();
return {isSuccess:true}
}
/**
* 查询企业专利信息
* 回显
* @param uscc 企业统一信用代码
* @returns
*/
export async function selectIntellectualProperty(uscc:string) {
let enterpriseInfo = await enterpriseData.findEnterpriseByUscc(uscc);
let intellectualProperty = {alienPatent:0, classIPatent:0, secondClassPatent:0};
if (!paramIsNull(enterpriseInfo.intellectualProperty)) {
intellectualProperty = enterpriseInfo.intellectualProperty;
}
return intellectualProperty;
}
/**
* 企业资质 相关逻辑
* 作者:lxm
*/
import { EnterpriseQualificationUpdateConfig } from "../../../config/eccFormParamConfig";
import { LISTINGSITUATION } from "../../../config/enum";
import { ERRORENUM } from "../../../config/errorEnum";
import { BizError } from "../../../util/bizError";
import { eccEnumValue } from "../../../util/verificationEnum";
import { eccFormParam } from "../../../util/verificationParam";
import * as enterpriseData from "../../../data/enterprise/enterprise";
/**
* 获取企业资质信息
* @param uscc 企业统一信用代码
* @returns
*/
export async function selectQualification(uscc:string) {
let enterpriseInfo = await enterpriseData.findEnterpriseByUscc(uscc);
let defaultQualification = {
isHighTech:false,//是否是高新技术企业
highTechMs:0,//高新技术认证时间戳
isZjtx:false,//是否专精特新企业
zjtxMs:0,//专精特新认证时间戳
isXjrpy:false,//是否小巨人培育企业
xjrpyMs:0,//小巨人培育企业时间戳
isXjr:false,//是否是小巨人企业
xjrMs:0,//小巨人企业认证时间
beOnTheMarket:[],//上市情况
isBeOnTheMarket:false
};
return enterpriseInfo.qualification || defaultQualification;
}
/**
* 修改企业资质
* @param uscc 企业统一信用代码
* @returns
*/
export async function updateQualification(uscc:string, param) {
eccFormParam("修改企业资质", EnterpriseQualificationUpdateConfig, param);
if (param.isBeOnTheMarket) {
if (!param.beOnTheMarket.length) throw new BizError(ERRORENUM.参数错误, '修改企业资质', '缺失 beOnTheMarket ')
eccEnumValue("修改企业资质", "beOnTheMarket", LISTINGSITUATION, param.beOnTheMarket );
} else param.beOnTheMarket = [];
let enterpriseInfo = await enterpriseData.findEnterpriseByUscc(uscc);
enterpriseInfo.qualification = JSON.parse(JSON.stringify(param) );
if (!enterpriseInfo.tipsQualification ) {
enterpriseInfo.tipsQualification = true;
}
await enterpriseInfo.save();
return {isSuccess:true};
}
......@@ -6,10 +6,10 @@
*/
import moment = require("moment");
import { findBusinessDataByUsccAndYear } from "../../data/enterprise/quarterTask/businessdata";
import { eccEnumValue } from "../../util/verificationEnum";
import { BUSINESSDATATYPE } from "../../config/enum";
import { findRepleishDataByTypeAndYear, replenishData, selectRepleishData } from "../../data/enterprise/replenish";
import { findBusinessDataByUsccAndYear } from "../../../data/enterprise/quarterTask/businessdata";
import { eccEnumValue } from "../../../util/verificationEnum";
import { BUSINESSDATATYPE } from "../../../config/enum";
import { findRepleishDataByTypeAndYear, replenishData, selectRepleishData } from "../../../data/enterprise/replenish";
/**
......
......@@ -7,18 +7,18 @@
*/
import moment = require("moment");
import { addManyBusinessData, findBusinessDataByTimeAndUscc, findBusinessDataCountByTime, findNotSubmitBusinessDataByTimeAndUscc } from "../../data/enterprise/quarterTask/businessdata";
import { addManyTeamData, addTeamData, findNotSubmitTeamByUsccAndTime, findTeamByUsccAndTime, findTeamDataCountByTime } from "../../data/enterprise/quarterTask/team";
import { changeEnumValue, eccEnumValue } from "../../util/verificationEnum";
import { ENTERPRISEDECLARATIONTYPE, FUHUASTATE } from "../../config/enum";
import { BizError } from "../../util/bizError";
import { ERRORENUM } from "../../config/errorEnum";
import { eccFormParam } from "../../util/verificationParam";
import { EnterpriseAddTeamDataConfig } from "../../config/eccFormParamConfig";
import { EnterpriseTeamConfig } from "../../config/splitResultConfig";
import { checkChange, extractData } from "../../util/piecemeal";
import { findEnterpriseByUscc, findEnterpriseList } from "../../data/enterprise/enterprise";
import { logHandle } from "../../util/log";
import { addManyBusinessData, findBusinessDataByTimeAndUscc, findBusinessDataCountByTime, findNotSubmitBusinessDataByTimeAndUscc } from "../../../data/enterprise/quarterTask/businessdata";
import { addManyTeamData, addTeamData, findNotSubmitTeamByUsccAndTime, findTeamByUsccAndTime, findTeamDataCountByTime } from "../../../data/enterprise/quarterTask/team";
import { changeEnumValue, eccEnumValue } from "../../../util/verificationEnum";
import { ENTERPRISEDECLARATIONTYPE, FUHUASTATE } from "../../../config/enum";
import { BizError } from "../../../util/bizError";
import { ERRORENUM } from "../../../config/errorEnum";
import { eccFormParam } from "../../../util/verificationParam";
import { EnterpriseAddTeamDataConfig } from "../../../config/eccFormParamConfig";
import { EnterpriseTeamConfig } from "../../../config/splitResultConfig";
import { checkChange, extractData } from "../../../util/piecemeal";
import { findEnterpriseByUscc, findEnterpriseList } from "../../../data/enterprise/enterprise";
import { logHandle } from "../../../util/log";
/** ----------------------------------------------------- 通用方法 start -------------------------------------- */
......
......@@ -16,7 +16,7 @@ import { sendTaskPointOut } from "./sms";
import { logHandle } from "../util/log";
import { createSmsPointOutData, findSmsPointOutData } from "../data/fuHuaQi/smsPointOut";
import { SMSTYPE } from "../config/enum";
import { dataDeclarationTask } from "./mobileEnterprise/dataDeclaration";
import { dataDeclarationTask } from "./mobileEnterprise/quarterTask/dataDeclaration";
export function initSystemTask() {
/**孵化器任务 */
......
......@@ -5,8 +5,11 @@
import * as asyncHandler from 'express-async-handler';
import { checkEnterpriseToken } from '../../middleware/user';
import { eccReqParamater } from '../../util/verificationParam';
import * as enterpriseBiz from '../../biz/mobileEnterprise/enterprise';
import * as dataDeclarationBiz from '../../biz/mobileEnterprise/dataDeclaration';
import * as enterpriseBiz from '../../biz/mobileEnterprise/base/enterprise';
import * as initialTeamsBiz from '../../biz/mobileEnterprise/base/initialTeams';
import * as intellectualPropertyBiz from '../../biz/mobileEnterprise/base/intellectualProperty';
import * as qualificationBiz from '../../biz/mobileEnterprise/base/qualification';
import * as dataDeclarationBiz from '../../biz/mobileEnterprise/quarterTask/dataDeclaration';
import * as policyBiz from '../../biz/mobileEnterprise/policy';
......@@ -57,7 +60,7 @@ async function updateTeamsState(req, res) {
let reqConf = {firstClassTalent:'Number', teams:'[Object]'};
let {firstClassTalent, teams} = eccReqParamater(reqConf, req.body, ["teams"]);
let result = await enterpriseBiz.updateInitialTeamInfo(Uscc, firstClassTalent, teams);
let result = await initialTeamsBiz.updateInitialTeamInfo(Uscc, firstClassTalent, teams);
res.success(result);
}
......@@ -70,7 +73,7 @@ async function updateTeamsState(req, res) {
*/
async function initialTeamInfo(req, res) {
const Uscc = req.headers.uscc;
let result = await enterpriseBiz.selectInitialTeamInfo(Uscc);
let result = await initialTeamsBiz.selectInitialTeamInfo(Uscc);
res.success(result);
}
......@@ -87,7 +90,7 @@ async function updateIntellectualproperty(req, res) {
let reqConf = {alienPatent:'Number', classIPatent:'Number', secondClassPatent:'Number'};
let {alienPatent, classIPatent, secondClassPatent} = eccReqParamater(reqConf, req.body);
let result = await enterpriseBiz.updateIntellectualProperty(Uscc, alienPatent, classIPatent, secondClassPatent);
let result = await intellectualPropertyBiz.updateIntellectualProperty(Uscc, alienPatent, classIPatent, secondClassPatent);
res.success(result);
}
......@@ -100,7 +103,7 @@ async function updateIntellectualproperty(req, res) {
*/
async function intellectualpropertyInfo(req, res) {
const Uscc = req.headers.uscc;
let result = await enterpriseBiz.selectIntellectualProperty(Uscc);
let result = await intellectualPropertyBiz.selectIntellectualProperty(Uscc);
res.success(result);
}
......@@ -113,7 +116,7 @@ async function intellectualpropertyInfo(req, res) {
*/
async function qualificationInfo(req, res) {
const Uscc = req.headers.uscc;
let result = await enterpriseBiz.selectQualification(Uscc);
let result = await qualificationBiz.selectQualification(Uscc);
res.success(result);
}
......@@ -129,7 +132,7 @@ async function updateQualification(req, res) {
let reqConf = {form:'Object'};
let {form} = eccReqParamater(reqConf, req.body);
let result = await enterpriseBiz.updateQualification(Uscc, form);
let result = await qualificationBiz.updateQualification(Uscc, form);
res.success(result);
}
......
......@@ -4,7 +4,7 @@
import * as asyncHandler from 'express-async-handler';
import { checkEnterpriseToken } from '../../middleware/user';
import * as businessDataBiz from '../../biz/mobileEnterprise/businessData';
import * as businessDataBiz from '../../biz/mobileEnterprise/quarterTask/businessData';
import { eccReqParamater } from '../../util/verificationParam';
export function setRouter(httpServer) {
......
......@@ -4,7 +4,7 @@
import * as asyncHandler from 'express-async-handler';
import { checkEnterpriseToken } from '../../middleware/user';
import * as dataDeclarationBiz from '../../biz/mobileEnterprise/dataDeclaration';
import * as dataDeclarationBiz from '../../biz/mobileEnterprise/quarterTask/dataDeclaration';
import { eccReqParamater } from '../../util/verificationParam';
......
......@@ -4,6 +4,7 @@
import * as asyncHandler from 'express-async-handler';
import * as enterpriseBiz from '../../biz/mobileFuHuaQi/enterprise/enterprise';
import * as myEnterpriseBiz from '../../biz/mobileFuHuaQi/enterprise/myEnterprise';
import * as toExamineBiz from '../../biz/mobileFuHuaQi/enterprise/toExamine';
import { checkFuHuaQiToken } from '../../middleware/user';
import { eccReqParamater } from '../../util/verificationParam';
......@@ -146,7 +147,7 @@ async function myEnterpriseList(req, res) {
let reqConf = {name: 'String', state:"Number", page:"Number" };
let { name, state, page } = eccReqParamater(reqConf, req.body, ["name"]);
const Uscc = req.headers.uscc;
let data = await enterpriseBiz.myEnterprise(Uscc, state, name, page);
let data = await myEnterpriseBiz.myEnterprise(Uscc, state, name, page);
res.success(data);
}
......@@ -162,7 +163,7 @@ async function myEnterpriseMoveOutList(req, res) {
let reqConf = {name: 'String', page:"Number" };
let { name, page } = eccReqParamater(reqConf, req.body, ["name"]);
const Uscc = req.headers.uscc;
let data = await enterpriseBiz.myEnterprise(Uscc, FUHUASTATE.迁出, name, page);
let data = await myEnterpriseBiz.myEnterprise(Uscc, FUHUASTATE.迁出, name, page);
res.success(data);
}
......@@ -180,7 +181,7 @@ async function myEnterpriseInfo(req, res) {
let reqConf = {uscc: 'String' };
let { uscc } = eccReqParamater(reqConf, req.body);
const FuHuaQiUscc = req.headers.uscc;
let result = await enterpriseBiz.getMyEnterpriseBaseInfo(FuHuaQiUscc, uscc);
let result = await myEnterpriseBiz.getMyEnterpriseBaseInfo(FuHuaQiUscc, uscc);
res.success(result);
}
......@@ -196,7 +197,7 @@ async function updatePhysical(req, res) {
let { leasedArea, uscc } = await eccReqParamater(reqConf, req.body);
const FuHuaQiUscc = req.headers.uscc;
let result = await enterpriseBiz.updatePhysicalInfo(FuHuaQiUscc, uscc, leasedArea);
let result = await myEnterpriseBiz.updatePhysicalInfo(FuHuaQiUscc, uscc, leasedArea);
res.success(result);
}
......@@ -213,7 +214,7 @@ async function updateVirtual(req, res) {
let { virtualCause, uscc, virtualCauseDes} = await eccReqParamater(reqConf, req.body, ["virtualCauseDes"]);
const FuHuaQiUscc = req.headers.uscc;
let result = await enterpriseBiz.updateVirtualInfo(FuHuaQiUscc, uscc, virtualCauseDes, virtualCause);
let result = await myEnterpriseBiz.updateVirtualInfo(FuHuaQiUscc, uscc, virtualCauseDes, virtualCause);
res.success(result);
}
......@@ -231,7 +232,7 @@ async function updateMoveOut(req, res) {
let { moveOutType, uscc, moveOutCause, moveOutTrace } = await eccReqParamater(reqConf, req.body, skipList);
const FuHuaQiUscc = req.headers.uscc;
let result = await enterpriseBiz.updateMoveOutInfo(FuHuaQiUscc, uscc, moveOutType, moveOutTrace, moveOutCause);
let result = await myEnterpriseBiz.updateMoveOutInfo(FuHuaQiUscc, uscc, moveOutType, moveOutTrace, moveOutCause);
res.success(result);
}
......@@ -248,7 +249,7 @@ async function updateMyEnterpriseInfo(req, res) {
let { form } = eccReqParamater(reqConf, req.body);
const Uscc = req.headers.uscc;
let result = await enterpriseBiz.updateMyEnterpriseBaseInfo(Uscc, form);
let result = await myEnterpriseBiz.updateMyEnterpriseBaseInfo(Uscc, form);
res.success(result);
}
......@@ -264,7 +265,7 @@ async function replenishCreate(req, res) {
let { form } = eccReqParamater(reqConf, req.body);
const Uscc = req.headers.uscc;
let result = await enterpriseBiz.replenishMyEnterpriseCreateInfo(Uscc, form);
let result = await myEnterpriseBiz.replenishMyEnterpriseCreateInfo(Uscc, form);
res.success(result);
}
......@@ -280,7 +281,7 @@ async function replenishInPut(req, res) {
let { form } = eccReqParamater(reqConf, req.body);
const Uscc = req.headers.uscc;
let result = await enterpriseBiz.replenishMyEnterpriseInPutInfo(Uscc, form);
let result = await myEnterpriseBiz.replenishMyEnterpriseInPutInfo(Uscc, form);
res.success(result);
}
......
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