Commit 86d9eeff by 王昆

gsb

parent 9aaef0f0
...@@ -1252,9 +1252,16 @@ class EcontractApi { ...@@ -1252,9 +1252,16 @@ class EcontractApi {
accountMap[signer.userName + "_" + signer.personsSign] = 1; accountMap[signer.userName + "_" + signer.personsSign] = 1;
} }
// 5. 查两方签约
var accounts2 = await this.usereaccountSve.getSignAccounts(templateIds, idNoList, idNameList);
var accountMap2 = {};
for (var signer2 of accounts2) {
accountMap2[signer2.userName + "_" + signer2.personsSign] = 1;
}
// 5 比对用户是否签约 // 5 比对用户是否签约
for (var u of userList) { for (var u of userList) {
if (accountMap[u.idName + "_" + u.idNo]) { if (accountMap[u.idName + "_" + u.idNo] || accountMap2[u.idName + "_" + u.idNo]) {
signList.push(u); signList.push(u);
} else { } else {
unSignList.push(u); unSignList.push(u);
......
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