registerId String

ww
chengqf 2 years ago
parent 7aac034850
commit 78d5b994eb

@ -71,7 +71,7 @@ public class UserRegisterController extends BaseController {
userRegisterEntity = new UserRegisterEntity();
} else {
userPersons = userPersonService.list(new QueryWrapper<UserPersonEntity>().eq("registerId", userRegisterEntity.getId()));
userCerts = userCertService.selectByRegisterId(userRegisterEntity.getId());
userCerts = userCertService.selectByRegisterId(userRegisterEntity.getId().toString());
}
map.put("registerInfo", userRegisterEntity);
map.put("userPersons", userPersons);

@ -10,5 +10,5 @@ import com.glxp.api.entity.sup.UserCertEntity;
@Mapper
public interface UserCertMapper extends BaseMapper<UserCertEntity> {
List<UserCertEntity> selectByRegisterId(@Param("registerId") Long registerId);
List<UserCertEntity> selectByRegisterId(@Param("registerId") String registerId);
}

@ -5,6 +5,6 @@ import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.glxp.api.entity.sup.UserCertEntity;
public interface UserCertService extends IService<UserCertEntity>{
List<UserCertEntity> selectByRegisterId(Long registerId);
List<UserCertEntity> selectByRegisterId(String registerId);
}

@ -16,7 +16,7 @@ public class UserCertServiceImpl extends ServiceImpl<UserCertMapper, UserCertEnt
@Resource
UserCertMapper userCertDao;
@Override
public List<UserCertEntity> selectByRegisterId(Long registerId) {
public List<UserCertEntity> selectByRegisterId(String registerId) {
return userCertDao.selectByRegisterId(registerId);
}
}

Loading…
Cancel
Save