Commit a21bf501 authored by chenyuxi's avatar chenyuxi

feat: 瓜子接口调整

parent d6edf0d0
...@@ -186,7 +186,7 @@ public class LGuaziOfferRecordServiceImpl extends ServiceImpl<LGuaziOfferRecordM ...@@ -186,7 +186,7 @@ public class LGuaziOfferRecordServiceImpl extends ServiceImpl<LGuaziOfferRecordM
statusMap.put("3","待发送Offer"); statusMap.put("3","待发送Offer");
statusMap.put("4","待接受Offer"); statusMap.put("4","待接受Offer");
statusMap.put("5","拒绝Offer"); statusMap.put("5","拒绝Offer");
statusMap.put("7","接受offer"); statusMap.put("6","接受offer");
statusMap.put("9","候选人填写信息"); statusMap.put("9","候选人填写信息");
statusMap.put("10","取消offer"); statusMap.put("10","取消offer");
statusMap.put("12","候选人信息审核"); statusMap.put("12","候选人信息审核");
......
...@@ -29,6 +29,7 @@ import com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser; ...@@ -29,6 +29,7 @@ import com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser;
import com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils; import com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.apache.commons.lang.ArrayUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy; import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -53,6 +54,9 @@ public class TGzPushEntryServiceImpl extends ServiceImpl<TGzPushEntryMapper, TGz ...@@ -53,6 +54,9 @@ public class TGzPushEntryServiceImpl extends ServiceImpl<TGzPushEntryMapper, TGz
@Lazy @Lazy
private DoJointTask doJointTask; private DoJointTask doJointTask;
// 任务类型是改状态的: 4:待接受Offer,5:拒绝Offer,6:接受offer,9:候选人填写信息,10:取消offer,12:候选人信息审核,13:待签署
private final String[] taskTypeArr = {"4", "5", "6", "9", "10", "12", "13", "97", "8", "99"};
/** /**
* 瓜子系统交互任务跟进表简单分页查询 * 瓜子系统交互任务跟进表简单分页查询
* *
...@@ -108,6 +112,10 @@ public class TGzPushEntryServiceImpl extends ServiceImpl<TGzPushEntryMapper, TGz ...@@ -108,6 +112,10 @@ public class TGzPushEntryServiceImpl extends ServiceImpl<TGzPushEntryMapper, TGz
*/ */
@Override @Override
public void addPushEntry(TGzPushEntry tGzPushEntry) { public void addPushEntry(TGzPushEntry tGzPushEntry) {
// 仅存指定状态的任务
if (!ArrayUtils.contains(taskTypeArr, tGzPushEntry.getTaskType())) {
return;
}
// offer状态是 7 的,改为推送 6 // offer状态是 7 的,改为推送 6
if(CommonConstants.SEVEN_STRING.equals(tGzPushEntry.getTaskType())){ if(CommonConstants.SEVEN_STRING.equals(tGzPushEntry.getTaskType())){
......
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