Commit fcb5e8bb by 王昆

ggsb

parent 43f23e64
......@@ -481,6 +481,11 @@ class LaoActionApi extends APIBase {
var parm = {};
parm.id = obj.id;
parm.user_id = obj.user_id;
let user = await this.usersSve.findById(parm.user_id);
if (!user) {
return system.getResult(null, "应聘企业不存在");
}
if (obj.labour_id) {
parm.labour_id = obj.labour_id;
}
......@@ -504,6 +509,11 @@ class LaoActionApi extends APIBase {
parm.apply_stauts = 60;
}
if (!parm.id && user.information == "1") {
parm.apply_stauts = 50;
parm.ecid = 10284;
parm.interview_time = moment();
}
if (obj.interview_time) {
parm.interview_time = obj.interview_time;
}
......
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