|  |  |  | 
|---|
|  |  |  | JhyInfo selectExistJhyByIndeityOrMobile(@Param("mobile") String mobile, @Param("identity") String Identity); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<JhyInfoListVo> selectJhyInfoList(@Param("record") JhyInfoListDto jhyInfoListDto); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int deleteByUserId(@Param("userId") String userId); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | throw new RestException(-3, "手机号/身份证号已注册集物员"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | jhyInfoMapper.deleteByUserId(applyDto.getUserId()); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | JhyInfo jhyInfo = new JhyInfo(); | 
|---|
|  |  |  | BeanUtil.copyProperties(applyDto, jhyInfo); | 
|---|
|  |  |  | jhyInfo.setCreatedTime(new Date()); | 
|---|
|  |  |  | 
|---|
|  |  |  | </where> | 
|---|
|  |  |  | order by id desc | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <delete id="deleteByUserId"> | 
|---|
|  |  |  | delete from xzx_jhy_info where user_id=#{userId} | 
|---|
|  |  |  | </delete> | 
|---|
|  |  |  | </mapper> | 
|---|