Merge remote-tracking branch 'origin/cc_20230520_partner' into cc_20230520_partner
This commit is contained in:
@@ -203,16 +203,16 @@
|
||||
set room_status = #{roomStatus},update_time = now()
|
||||
<where>
|
||||
<if test="record.roomStatus !=null and record.roomStatus!=''">
|
||||
and hpip.room_status = #{record.roomStatus}
|
||||
and room_status = #{record.roomStatus}
|
||||
</if>
|
||||
<if test="record.startTime !=null and record.startTime!=''">
|
||||
and hpip.start_time >= #{record.startTime}
|
||||
<if test="record.startTime !=null'">
|
||||
and start_time >= #{record.startTime}
|
||||
</if>
|
||||
<if test="record.endTime !=null and record.endTime!=''">
|
||||
and hpip.end_time <= #{record.endTime}
|
||||
<if test="record.endTime !=null">
|
||||
and end_time <= #{record.endTime}
|
||||
</if>
|
||||
<if test="record.deleted !=null and record.deleted!=''">
|
||||
and hpip.deleted = #{deleted}
|
||||
and deleted = #{deleted}
|
||||
</if>
|
||||
</where>
|
||||
</update>
|
||||
@@ -222,16 +222,16 @@
|
||||
set room_status = #{roomStatus},update_time = now()
|
||||
<where>
|
||||
<if test="record.roomStatus !=null and record.roomStatus!=''">
|
||||
and hpip.room_status = #{record.roomStatus}
|
||||
and room_status = #{record.roomStatus}
|
||||
</if>
|
||||
<if test="record.startTime !=null and record.startTime!=''">
|
||||
and hpip.start_time >= #{record.startTime}
|
||||
<if test="record.startTime !=null">
|
||||
and start_time >= #{record.startTime}
|
||||
</if>
|
||||
<if test="record.endTime !=null and record.endTime!=''">
|
||||
and hpip.start_time <= #{record.endTime}
|
||||
<if test="record.endTime !=null">
|
||||
and start_time <= #{record.endTime}
|
||||
</if>
|
||||
<if test="record.deleted !=null and record.deleted!=''">
|
||||
and hpip.deleted = #{deleted}
|
||||
and deleted = #{deleted}
|
||||
</if>
|
||||
</where>
|
||||
</update>
|
||||
@@ -241,16 +241,16 @@
|
||||
set room_status = #{roomStatus},update_time = now()
|
||||
<where>
|
||||
<if test="record.roomStatus !=null and record.roomStatus!=''">
|
||||
and hpip.room_status = #{record.roomStatus}
|
||||
and room_status = #{record.roomStatus}
|
||||
</if>
|
||||
<if test="record.startTime !=null and record.startTime!=''">
|
||||
and hpip.end_time >= #{record.startTime}
|
||||
<if test="record.startTime !=null">
|
||||
and end_time >= #{record.startTime}
|
||||
</if>
|
||||
<if test="record.endTime !=null and record.endTime!=''">
|
||||
and hpip.end_time <= #{record.endTime}
|
||||
<if test="record.endTime !=null">
|
||||
and end_time <= #{record.endTime}
|
||||
</if>
|
||||
<if test="record.deleted !=null and record.deleted!=''">
|
||||
and hpip.deleted = #{deleted}
|
||||
and deleted = #{deleted}
|
||||
</if>
|
||||
</where>
|
||||
</update>
|
||||
@@ -362,10 +362,10 @@
|
||||
<if test="record.roomStatus !=null">
|
||||
and hpip.room_status = #{record.roomStatus}
|
||||
</if>
|
||||
<if test="record.startTime !=null and record.startTime!=''">
|
||||
<if test="record.startTime !=null">
|
||||
and hpip.start_time >= #{record.startTime}
|
||||
</if>
|
||||
<if test="record.endTime !=null and record.endTime!=''">
|
||||
<if test="record.endTime !=null">
|
||||
and hpip.end_time <= #{record.endTime}
|
||||
</if>
|
||||
<if test="record.deleted !=null and record.deleted!=''">
|
||||
@@ -424,10 +424,10 @@
|
||||
<if test="record.partnerId !=null and record.partnerId!=''">
|
||||
and partner_id = #{record.partnerId}
|
||||
</if>
|
||||
<if test="record.startTime !=null and record.startTime!=''">
|
||||
<if test="record.startTime !=null">
|
||||
and start_time = #{record.startTime}
|
||||
</if>
|
||||
<if test="record.endTime !=null and record.endTime!=''">
|
||||
<if test="record.endTime !=null">
|
||||
and end_time = #{record.endTime}
|
||||
</if>
|
||||
<if test="record.interviewer !=null and record.interviewer!=''">
|
||||
|
||||
@@ -39,25 +39,40 @@ public class JobHandler {
|
||||
*/
|
||||
@XxlJob("updateInterviewOverTime")
|
||||
public void updateInterviewOverTime(){
|
||||
log.info("面试超时定时任务开始");
|
||||
hyPartnerInterviewPlanService.updateInterviewOverTime();
|
||||
log.info("面试超时定时任务结束");
|
||||
XxlJobHelper.handleSuccess();
|
||||
try {
|
||||
log.info("面试超时定时任务开始");
|
||||
hyPartnerInterviewPlanService.updateInterviewOverTime();
|
||||
log.info("面试超时定时任务结束");
|
||||
XxlJobHelper.handleSuccess();
|
||||
}catch (Exception e){
|
||||
log.error("面试超时定时任务异常",e);
|
||||
XxlJobHelper.log("面试超时定时任务异常"+e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@XxlJob("openInterviewRoom")
|
||||
public void openInterviewRoom(){
|
||||
log.info("房间状态开启定时任务开始");
|
||||
hyPartnerInterviewPlanService.openInterviewRoom();
|
||||
log.info("房间状态开启定时任务结束");
|
||||
XxlJobHelper.handleSuccess();
|
||||
try {
|
||||
log.info("房间状态开启定时任务开始");
|
||||
hyPartnerInterviewPlanService.openInterviewRoom();
|
||||
log.info("房间状态开启定时任务结束");
|
||||
XxlJobHelper.handleSuccess();
|
||||
}catch (Exception e){
|
||||
log.error("房间状态开启定时任务异常",e);
|
||||
XxlJobHelper.log("房间状态开启定时任务异常"+e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public void updateAbsentInterview(){
|
||||
log.info("面试缺席定时任务开始");
|
||||
hyPartnerInterviewPlanService.updateAbsentInterview();
|
||||
log.info("面试缺席定时任务结束");
|
||||
XxlJobHelper.handleSuccess();
|
||||
try {
|
||||
log.info("面试缺席定时任务开始");
|
||||
hyPartnerInterviewPlanService.updateAbsentInterview();
|
||||
log.info("面试缺席定时任务结束");
|
||||
XxlJobHelper.handleSuccess();
|
||||
}catch (Exception e){
|
||||
log.error("面试缺席定时任务异常",e);
|
||||
XxlJobHelper.log("面试缺席定时任务异常"+e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -542,7 +542,8 @@ public class HyPartnerLineInfoServiceImpl implements HyPartnerLineInfoService {
|
||||
Boolean flag = this.assignFollowUser(hyPartnerLineInfoDO.getPartnerId(), wantShopArea, acceptAdjustType);
|
||||
hyPartnerLineInfoDO.setLineStatus(flag ? LineStatusEnum.PRIVATE_SEAS.getCode() : LineStatusEnum.PUBLIC_SEAS.getCode());
|
||||
if (flag){
|
||||
hyPartnerLineInfoDO.setInvestmentManager("ou_7a6a19ae800afde783b0ec2dabaabf95");
|
||||
String investmentManager = getAssignFollowUser(partnerId, "intent");
|
||||
hyPartnerLineInfoDO.setInvestmentManager(investmentManager);
|
||||
}
|
||||
hyPartnerLineInfoDAO.insertSelective(hyPartnerLineInfoDO);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.cool.store.controller;
|
||||
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.EnterpriseUserService;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@@ -20,5 +22,10 @@ public class EnterpriseUserController {
|
||||
@Resource
|
||||
public EnterpriseUserService enterpriseUserService;
|
||||
|
||||
@ApiOperation("获取开发主管")
|
||||
@GetMapping("/getDevelopmentDirectorList")
|
||||
public ResponseResult getDevelopmentDirectorList(@RequestParam("wantShopArea") String wantShopArea){
|
||||
return ResponseResult.success(enterpriseUserService.getDevelopmentDirectorList(wantShopArea));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ public class OssClientController {
|
||||
@GetMapping("/getUploadFileConfig")
|
||||
public ResponseResult getUploadFileConfig(){
|
||||
// host的格式为 bucketname.endpoint
|
||||
String host = "http://" + bucket + "." + endpoint;
|
||||
String host = "https://" + bucket + "." + endpoint;
|
||||
// 用户上传文件时指定的前缀。
|
||||
String dir = "partner/" + corpId + "/";
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ public class OssClientController {
|
||||
@GetMapping("/getUploadFileConfig")
|
||||
public ResponseResult getUploadFileConfig(){
|
||||
// host的格式为 bucketname.endpoint
|
||||
String host = "http://" + bucket + "." + endpoint;
|
||||
String host = "https://" + bucket + "." + endpoint;
|
||||
// 用户上传文件时指定的前缀。
|
||||
String dir = "partner/" + corpId + "/";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user