大状态
This commit is contained in:
@@ -6,6 +6,7 @@ import com.cool.store.entity.LineInfoDO;
|
||||
import com.cool.store.entity.MemberQuestionDO;
|
||||
import com.cool.store.entity.PartnerBaseInfoDO;
|
||||
import com.cool.store.enums.ErrorCodeEnum;
|
||||
import com.cool.store.enums.WorkflowStageEnum;
|
||||
import com.cool.store.enums.WorkflowSubStageEnum;
|
||||
import com.cool.store.enums.WorkflowSubStageStatusEnum;
|
||||
import com.cool.store.exception.ServiceException;
|
||||
@@ -51,6 +52,8 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
|
||||
}
|
||||
//更改线索流程子状态为【待审核】
|
||||
LineInfoDO lineInfoParam = request.toLineInfoDO();
|
||||
lineInfoParam.setWorkflowStage(WorkflowStageEnum.INTENT.getCode());
|
||||
lineInfoParam.setWorkflowSubStage(WorkflowSubStageEnum.INTEND.getCode());
|
||||
lineInfoParam.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.INTENT_5.getCode());
|
||||
if (Objects.isNull(lineInfoParam)) {
|
||||
throw new ServiceException(ErrorCodeEnum.INTERVIEW_PARTNER_NOT_EXIST);
|
||||
|
||||
@@ -6,10 +6,7 @@ import com.cool.store.service.IntentAgreementService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@@ -22,7 +19,7 @@ public class PCIntentAgreementController {
|
||||
@Resource
|
||||
IntentAgreementService intentAgreementService;
|
||||
|
||||
@PostMapping(path = "/get")
|
||||
@GetMapping(path = "/get")
|
||||
@ApiOperation("查询意向协议信息")
|
||||
public ResponseResult<SigningBaseInfoResponse> getMiniIntentAgreement(
|
||||
@RequestParam(value = "partnerId", required = false) String partnerId,
|
||||
|
||||
@@ -28,7 +28,7 @@ public class MiniIntentAgreementController {
|
||||
return ResponseResult.success(resp);
|
||||
}
|
||||
|
||||
@PostMapping(path = "/get")
|
||||
@GetMapping(path = "/get")
|
||||
@ApiOperation("查询意向协议信息")
|
||||
public ResponseResult<SigningBaseInfoResponse> getMiniIntentAgreement(
|
||||
@RequestParam(value = "partnerId",required = false) String partnerId,
|
||||
|
||||
Reference in New Issue
Block a user