Commit 8087113c authored by 杨锐's avatar 杨锐

code review done。

parent c901e5ce
......@@ -66,7 +66,5 @@ public interface IUserDetailRepository extends JpaRepository<UserDetail, Long>,
List<UserDetail> findByIdBetween(Long id, Long endId);
@Query(nativeQuery = true, value = "select * from user_detail where user_id = ?1 and phone_no = ?2 " +
"and name = ?3 and id_no = ?4 limit 1")
UserDetail findByUserIdAndPhoneNoAndNameAndIdNo(Long userId, String phoneNo, String name, String idNo);
}
......@@ -240,7 +240,7 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService {
throw new DataException("信息填写有误,请重新填写。");
}
log.info("allowModify userId = 【{}】", userId);
String res = httpService.get(apiHttps + "?userId=" + userId);
String res = httpService.get(apiHttps + "/ex/loan/user/loan_status?userId=" + userId);
log.info("allowModify res = 【{}】", res);
if (StringUtils.isBlank(res)) {
throw new DataException("系统内部错误。");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment