Commit c8237933 by chenjinjing

no message

parent badb1640
...@@ -226,7 +226,7 @@ export async function homePage(eId:string) { ...@@ -226,7 +226,7 @@ export async function homePage(eId:string) {
let jysjFile = ["BI", "TXP", "RD", "mId","annual","quarter"]; let jysjFile = ["BI", "TXP", "RD", "mId","annual","quarter"];
let thisQuarter = getDeclarationTime(); let thisQuarter = getDeclarationTime();
let thisYearjJysjInfo = await selectData(OPERATIONALDATATYPE.查询单个, TABLENAME.企业经营信息, { eId, annual:thisQuarter.declarationYear, quarter:thisQuarter.declarationQuarter }, jysjFile); let thisYearjJysjInfo = await selectData(OPERATIONALDATATYPE.查询单个, TABLENAME.企业经营信息, { eId, isSubmit:1, annual:thisQuarter.declarationYear, quarter:thisQuarter.declarationQuarter }, jysjFile);
if (thisYearjJysjInfo && thisYearjJysjInfo.mId) { if (thisYearjJysjInfo && thisYearjJysjInfo.mId) {
dataInfo.manage.thisYear.BI = !isNaN(thisYearjJysjInfo.BI) ? thisYearjJysjInfo.BI : "未填报"; dataInfo.manage.thisYear.BI = !isNaN(thisYearjJysjInfo.BI) ? thisYearjJysjInfo.BI : "未填报";
...@@ -235,7 +235,7 @@ export async function homePage(eId:string) { ...@@ -235,7 +235,7 @@ export async function homePage(eId:string) {
} }
let laseQuarter = getLastDeclarationTime(); let laseQuarter = getLastDeclarationTime();
let lastYearjJysjInfo = await selectData(OPERATIONALDATATYPE.查询单个, TABLENAME.企业经营信息, { eId, annual:laseQuarter.declarationYear, quarter:laseQuarter.declarationQuarter }, jysjFile); let lastYearjJysjInfo = await selectData(OPERATIONALDATATYPE.查询单个, TABLENAME.企业经营信息, { eId, isSubmit:1, annual:laseQuarter.declarationYear, quarter:laseQuarter.declarationQuarter }, jysjFile);
// let lastYearjJysjInfo = await selectData(OPERATIONALDATATYPE.查询单个, TABLENAME.企业经营信息, { eId, state:1, annual:getMySqlMs(`${thisYear-1}-01-01 00:00:00`)}, jysjFile); // let lastYearjJysjInfo = await selectData(OPERATIONALDATATYPE.查询单个, TABLENAME.企业经营信息, { eId, state:1, annual:getMySqlMs(`${thisYear-1}-01-01 00:00:00`)}, jysjFile);
if (lastYearjJysjInfo && lastYearjJysjInfo.mId) { if (lastYearjJysjInfo && lastYearjJysjInfo.mId) {
dataInfo.manage.lastYear.BI = !isNaN(lastYearjJysjInfo.BI) ? lastYearjJysjInfo.BI : "未填报"; dataInfo.manage.lastYear.BI = !isNaN(lastYearjJysjInfo.BI) ? lastYearjJysjInfo.BI : "未填报";
......
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