Commit d29e6eb6 by zhaoxiqing

gsb

parent 074a39de
...@@ -1362,7 +1362,8 @@ class EcontractService extends ServiceBase { ...@@ -1362,7 +1362,8 @@ class EcontractService extends ServiceBase {
// usereaccount_id: eaccount.id, // usereaccount_id: eaccount.id,
// etemplate_id: ecid, // etemplate_id: ecid,
// }); // });
let contractId = await this.dao.findSignedContractId({idno: eaccount.personsSign, ecid: ecid}) || 0; let todays = new Date().Format("YYYY-MM-DD HH:mm:ss");
let contractId = await this.dao.findSignedContractId({idno: eaccount.personsSign, ecid: ecid,today : todays}) || 0;
if (contractId) { if (contractId) {
return this.returnjson(0, "用户已经签约", { return this.returnjson(0, "用户已经签约", {
contractId: contractId contractId: contractId
......
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