Commit 533b01d7 by 高晓磊

验证身份证bug

parent 4406ec24
......@@ -94,7 +94,7 @@ public class DriverUserDaoImpl extends AbstractBaseDao implements DriverUserDao
public List<KObject> idCardRepeatCheck(String idCard) {
return template.execute(session -> {
Query<KObject> query = session.createQuery("from " + DriverUserConstants.ENTITY + " where (discard is null or discard = 0) and (enabled = 1) and idCard =:idCard ", KObject.class);
query.setParameter("username", idCard);
query.setParameter("idCard", idCard);
return query.getResultList();
});
}
......
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