申请入驻完结撒花
parent
c545e129ab
commit
fb9a01a958
|
@ -51,11 +51,6 @@ public class Constants
|
|||
* 成功标记
|
||||
*/
|
||||
public static final Integer SUCCESS = 200;
|
||||
/**
|
||||
* 维度健康成功标识
|
||||
*/
|
||||
public static final String SUCCESS_HEALTH = "0000";
|
||||
public static final String FAIL_HEALTH = "9001";
|
||||
|
||||
/**
|
||||
* 失败标记
|
||||
|
|
|
@ -3,10 +3,10 @@ package doctor.mapper;
|
|||
import doctor.system.api.domain.Department;
|
||||
import doctor.system.api.domain.Doctor;
|
||||
import doctor.system.api.domain.User;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
|
||||
@MapperScan
|
||||
@Mapper
|
||||
public interface DoctorUserMapper {
|
||||
User selectUserByEmail(@Param("email") String email);
|
||||
|
||||
|
|
|
@ -81,6 +81,7 @@ public class HealthJobTitleServiceImpl implements HealthJobTitleService {
|
|||
BeanUtils.copyProperties(applyJoinDto,doctor);
|
||||
doctor.setCreateTime(new Date());
|
||||
healthJobTitleMapper.insertDoctor(doctor);
|
||||
redisTemplate.delete(applyJoinDto.getEmail());
|
||||
return HealthR.ok();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue