意向书联调

This commit is contained in:
wxp01309236
2023-06-21 19:52:46 +08:00
parent ad21c8727e
commit b25bf8f614
10 changed files with 103 additions and 54 deletions

View File

@@ -174,14 +174,10 @@ public class PartnerController {
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
})
public ResponseResult<PartnerIntentInfoVO> queryPartnerIntentInfo(@RequestParam(value = "lineId",required = false)Long lineId){
PartnerUserInfoVO userInfoVO = PartnerUserHolder.getUser();
return ResponseResult.success(hyPartnerIntentInfoService.queryPartnerIntentInfo(userInfoVO.getPartnerId(), lineId));
return ResponseResult.success(hyPartnerIntentInfoService.queryPartnerIntentInfo(userInfoVO, lineId));
}
@GetMapping(path = "/completeJoinNotice")
@ApiOperation("提交加盟须知")
@ApiImplicitParams({
@@ -201,6 +197,16 @@ public class PartnerController {
return ResponseResult.success(partnerUserInfoService.queryJoinNotice(partnerId));
}
@GetMapping(path = "/checkGenerateNewLineId")
@ApiOperation("提交意向申请书之前——判断是否生成新线索")
@ApiImplicitParams({
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
})
public ResponseResult<Long> checkGenerateNewLineId(@RequestParam(value = "lineId",required = false)Long lineId){
PartnerUserInfoVO userInfoVO = PartnerUserHolder.getUser();
return ResponseResult.success(hyPartnerLineInfoService.checkGenerateNewLineId(lineId));
}
@GetMapping(path = "/getIdentityCardInfo")
@ApiOperation("根据身份证正面解析获取数据")