generated from dxfeng/secondev-chapanda-feishu
#3316180 BUG修复
This commit is contained in:
parent
fb8fb79b19
commit
f1568d86ee
|
|
@ -61,15 +61,15 @@ public class OfferServiceImpl extends Service implements OfferService {
|
|||
}
|
||||
RecordSet rs = new RecordSet();
|
||||
// 判断是否已提交
|
||||
rs.executeQuery("select zt from uf_jcl_offer where id = ? and dzyx = ? ", billId, email);
|
||||
rs.executeQuery("select zt,xm from uf_jcl_offer where id = ? and dzyx = ? ", billId, email);
|
||||
if (rs.next()) {
|
||||
String zt = rs.getString("zt");
|
||||
String xm = rs.getString("xm");
|
||||
if ("2".equals(zt) || "3".equals(zt)) {
|
||||
throw new CustomizeRunTimeException("此反馈已提交,请勿重复提交");
|
||||
}
|
||||
rs.writeLog("xm==>", xm);
|
||||
rs.writeLog("status==>", status);
|
||||
rs.writeLog("xm==>"+xm);
|
||||
rs.writeLog("status==>"+status);
|
||||
// 更新应聘简历表状态
|
||||
if ("3".equals(status)) {
|
||||
// 接受offer
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ public class SendInterviewEmailExpand extends AbstractModeExpandJavaCodeNew {
|
|||
// 发送邮件
|
||||
String msgContent = RecruitModeUtil.getReplaceContent(tznr, fieldMapList, mainDataMap);
|
||||
// 信息采集链接地址,替换应聘者,为当前表单的ID
|
||||
msgContent.replace("{ypz}", billId);
|
||||
msgContent = msgContent.replace("{ypz}", billId);
|
||||
String yx = Util.null2String(mainDataMap.get("dzyx"));
|
||||
String offerAttach = RecruitModeUtil.getImageFileIdsByDocIds(Util.null2String(mainDataMap.get("tjkjyprysqb")));
|
||||
RecruitMessageUtils.sendEmailWithFile(yx, emailTitle, msgContent, offerAttach);
|
||||
|
|
|
|||
Loading…
Reference in New Issue