|
@@ -52,12 +52,12 @@ module.exports = options => {
|
|
|
if (accountInfo.company_id) {
|
|
|
companyInfo = yield this.service.datacollectAudit.getDataByCondition({
|
|
|
pid: projectData.id,
|
|
|
- company_id: accountInfo.company_id
|
|
|
+ company_id: accountInfo.company_id,
|
|
|
});
|
|
|
} else {
|
|
|
const cuInfo = yield this.service.constructionUnit.getDataByCondition({
|
|
|
pid: projectData.id,
|
|
|
- name: accountInfo.company
|
|
|
+ name: accountInfo.company,
|
|
|
});
|
|
|
if (cuInfo) {
|
|
|
companyInfo = yield this.service.datacollectAudit.getDataByCondition({
|